Activate snapshot repos with a single profile
</profile>
<profile>
- <id>oss-snapshots</id>
+ <id>snapshots</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository>
- <id>oss-snapshots-repo</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
+ <id>apache.snapshots</id>
+ <url>https://repository.apache.org/snapshots/</url>
+ <name>Apache Snapshot Repo</name>
<snapshots>
<enabled>true</enabled>
</snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
</repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
+ <repository>
<id>oss-snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
- </pluginRepository>
- </pluginRepositories>
- </profile>
-
- <profile>
- <id>apache-snapshots</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <url>https://repository.apache.org/snapshots/</url>
- <name>Apache Snapshot Repo</name>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
</repository>
</repositories>
<pluginRepositories>
<enabled>false</enabled>
</releases>
</pluginRepository>
+ <pluginRepository>
+ <id>oss-snapshots-repo</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
</pluginRepositories>
</profile>
</profiles>
