Skip to content

Commit

Permalink
[MPOM-451] Move shapshot repository elements into a separate profile
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Dec 18, 2024
1 parent 7888bdb commit 9ea943a
Showing 1 changed file with 28 additions and 21 deletions.
49 changes: 28 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,27 +142,6 @@ under the License.
</dependencies>
</dependencyManagement>

<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -563,5 +542,33 @@ under the License.
</pluginManagement>
</build>
</profile>
<profile>
<id>use-apache-snapshots</id>
<activation>
<property>
<name>apache.snapshots</name>
</property>
</activation>
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>

0 comments on commit 9ea943a

Please sign in to comment.