Skip to content

Instantly share code, notes, and snippets.

@tristantarrant
Last active December 16, 2015 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tristantarrant/5487780 to your computer and use it in GitHub Desktop.
Save tristantarrant/5487780 to your computer and use it in GitHub Desktop.
Maven settings.xml snippet for adding the Early Access Red Hat Enterprise Maven repository.
<!-- Include early access of application server and other products -->
<profile>
<id>redhat-earlyaccess-repository</id>
<repositories>
<repository>
<id>redhat-earlyaccess-repository-group</id>
<name>Red Hat early access repository</name>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
</profile>
<activeProfiles>
<activeProfile>redhat-earlyaccess-repository</activeProfile>
</activeProfiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment