Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created September 18, 2015 09:06
Show Gist options
  • Select an option

  • Save jstrachan/936c022ba1561ed0d18f to your computer and use it in GitHub Desktop.

Select an option

Save jstrachan/936c022ba1561ed0d18f to your computer and use it in GitHub Desktop.
hack to build against a sonatype release before its been sync'd...
...
<profile>
<id>sonatypeReleases</id>
<repositories>
<repository>
<id>releases.sonatype.org</id>
<name>SonaType Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>releases.sonatype.org</id>
<name>SonaType Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
...
<activeProfiles>
<activeProfile>sonatypeReleases</activeProfile>
...
</activeProfiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment