Merge pull request #23827 from arjantijms/snapshot_parent
Add parent for snapshots
diff --git a/snapshots/pom.xml b/snapshots/pom.xml
index 964aefb..2220b2d 100644
--- a/snapshots/pom.xml
+++ b/snapshots/pom.xml
@@ -23,6 +23,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.ee4j</groupId>
+ <artifactId>project</artifactId>
+ <version>1.0.6</version>
+ </parent>
<groupId>org.glassfish.main.snapshots</groupId>
<artifactId>snapshotsmodule</artifactId>
diff --git a/snapshots/settings.xml b/snapshots/settings.xml
new file mode 100644
index 0000000..f5d77a1
--- /dev/null
+++ b/snapshots/settings.xml
@@ -0,0 +1,40 @@
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>sonatype-nexus-staging</id>
+ <name>Sonatype Nexus Staging</name>
+ <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype-nexus-staging</id>
+ <name>Sonatype Nexus Staging</name>
+ <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+</settings>
\ No newline at end of file