Maven repositories

The compiled artifacts from all of the BeerDragon projects can be found in the Maven repository hosted on this site. By adding appropriate settings to your Maven settings file you can download the artifacts from this repository to the cache used by your build system.

Add the following entries to the ~/.m2/settings.xml file to retrieve artifacts from the public repository:

<settings>
<!-- ... -->
<profiles>
<!-- ... -->
<profile>
<id>beerdragon</id>
<repositories>
<repository>
<id>beerdragon-primary</id>
<url>http://www.beerdragon.co.uk/m2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>beerdragon-primary</id>
<url>http:/www.beerdragon.co.uk/m2</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- ... -->
<activeProfiles>
<!-- ... -->
<activeProfile>beerdragon</activeProfile>
</activeProfiles>
</settings>

The activeProfile part is optional. If this is not included then the profile will not be used by default and must be specified at build time with the -P parameter to the mvn command.