OpenLR™ - Access using Maven
The packages of the OpenLR™ reference implementation are also accessible using the software project management tool Maven (see http://maven.apache.org).
If you want to download the OpenLR™ software packages with maven you need to specify a repositiories element in your POM as follows:
<project>
...
<repositories>
...
<repository>
<id>openlr</id>
<url>http://www.openlr.org/nexus/content/repositories/releases</url>
</repository>
...
</repositories>
...
</project>If you are interested in the latest SNAPSHOT releases of the OpenLR™ software packages you should add a repositiories element in your POM as follows:
<project>
...
<repositories>
...
<repository>
<id>openlr</id>
<url>http://www.openlr.org/nexus/content/repositories/snapshots</url>
</repository>
...
</repositories>
...
</project>After setting up the OpenLR™ repository you can add the OpenLR™ packages as dependencies to your project. The following example shows the integration of the map package. You will need to change add-version-here to the preferred version. For the other packages you need to change the artifactId to the corresponding package name ("data", "encoder", "decoder", "binary", or "xml").
<project>
...
<dependencies>
...
<dependency>
<groupId>openlr</groupId>
<artifactId>map</artifactId>
<version>add-version-here</version>
</dependency>
...
</dependencies>
...
</project>If you want to browse through the package documentation generated by Maven you should go to the package documentation.

