A Maven plugin for downloading EXPath Packages from an EXPath Package Repository.
For example if you wanted to download the latest version of the functx and markdown packages from the eXist-db Public Repository for Elemental version 6.4.0, you would place the following in your pom.xml file:
<plugin>
<groupId>com.evolvedbinary.maven.plugins</groupId>
<artifactId>expath-package-repository-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>fetch-xars</id>
<phase>package</phase>
<goals>
<goal>resolve</goal>
</goals>
<configuration>
<repoUri>http://exist-db.org/exist/apps/public-repo</repoUri>
<elementalVersion>6.4.0</elementalVersion>
<packages>
<package>
<abbrev>functx</abbrev>
</package>
<package>
<abbrev>markdown</abbrev>
</package>
</packages>
</configuration>
</execution>
</executions>
</plugin>