Skip to content

Instantly share code, notes, and snippets.

@xeraa
Created February 14, 2012 00:40
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 xeraa/1821940 to your computer and use it in GitHub Desktop.
Save xeraa/1821940 to your computer and use it in GitHub Desktop.
Example of how to include your own Maven repository into your pom.xml (includes only relevant parts)
<repositories>
<repository>
<id>[ID]</id>
<name>[Name]</name>
<url>[Protocol, server URL, and path to the repository]</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>Ubercharts</groupId>
<artifactId>ubercharts</artifactId>
<version>[version]</version>
</dependency>
</dependencies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment