Best Practices
Maven Artifacts on Other Platforms
Adobe PDF Library Java/Maven, non-Windows Platforms
For Windows instructions, see Maven Artifacts on Windows.
Installing to the Local Maven Cache
First, ensure the JAVA_HOME environment variable is set to match the location of your Java SDK.
Then make the Maven artifacts available in your local repository:
./mvnw -f create-artifacts.xml install
Deploying to a Remote Repository
To deploy to a remote repository, use the deploy phase, adding the Server ID (from ~/.m2/settings.xml) and the URL to the repository:
./mvnw -f create-artifacts.xml -DrepositoryId=SERVER_ID -Durl=http://myurl.com/libs-release-local deploy
Where SERVER_ID is the name of the Server ID in your Maven settings.