This is a copy of Oracle's XQJ RI (XQuery for Java Reference Implementation).
The code was downloaded from the JCP page JSR-000225 XQuery API for Java (Final Release), specifically the file xqjri-20080114-133351.zip.
The license for the RI has some similarity to a conventional BSD-style open source license.
eXist-db makes use of the XQJ RI to provide its XQJ API. As eXist-db is built using Maven, the XQJ RI needs to be available as a Maven artifact. We have placed the XQJ RI in a standard Maven project layout, and devised a suitable Maven Project file that allows us to package the XQJ RI as a Maven artifact and publish it.
To build, you need Maven 3.6+, you can then run from within the project:
mvn clean package
Assuming you have already registered and setup an account for Maven Central, see: (OSSRH Guide - The Central Repository)[https://central.sonatype.org/pages/ossrh-guide.html].
To build and release to Maven Central, you can run from within the project:
mvn clean
mvn release:prepare
mvn release:perform