Skip to content

Instantly share code, notes, and snippets.

@pmlopes
Created September 10, 2015 08:33
Show Gist options
  • Save pmlopes/dd244827996c2267179f to your computer and use it in GitHub Desktop.
Save pmlopes/dd244827996c2267179f to your computer and use it in GitHub Desktop.
Use sonatype snapshots in your local maven
<settings>
<profiles>
<profile>
<id>allow-snapshots</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment