EXPath file module for eXist
Until this is artifact is published to Maven central, you will first need to install the EXQuery's EXPath File Module. Using Git and Apache Maven, run:
$ git clone https://github.com/exquery/exquery.git
$ cd exquery/expath-file-module
$ mvn install
Then to build a XAR for this module run:
$ git clone https://github.com/exist-db/expath-file-module.git
$ cd expath-file-module
$ mvn clean compile package
You will then find a XAR file in the target/
folder