A Maven plugin for resolving EXPath Packages from the Public Repo.
For example if you wanted to download the latest version of the functx
and markdown
packages from the eXist-db Public Repository for eXist-db version 4.7.0, you would place the following in your pom.xml
file:
<plugin>
<groupId>org.exist-db.maven.plugins</groupId>
<artifactId>public-xar-repo-plugin</artifactId>
<version>1.1.1</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>
<existDbVersion>4.7.0</existDbVersion>
<packages>
<package>
<abbrev>functx</abbrev>
</package>
<package>
<abbrev>markdown</abbrev>
</package>
</packages>
</configuration>
</execution>
</executions>
</plugin>