Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
sonatype snapshots by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 31, 2023
1 parent 21c74fd commit 53f0781
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,23 @@
</dependencies>
</dependencyManagement>

<repositories>
<!-- Sonatype snapshots are the default for Xtext dependencies
of other Git repositories. Sonatype snapshots are disabled
when using the "useJenkinsSnapshots" profile. -->
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

<profiles>
<profile>
<id>useJenkinsSnapshots</id>
Expand All @@ -200,6 +217,17 @@
<id>xtext-xtend-from-jenkins</id>
<url>${JENKINS_URL}/job/xtext-xtend/job/${upstreamBranch}/lastStableBuild/artifact/build/maven-repository/</url>
</repository>
<!-- Disable sonatype snapshots -->
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
Expand Down

0 comments on commit 53f0781

Please sign in to comment.