Maven Central offers self-activating license managed APDFL packages for 64-bit Windows, 64-bit Intel Linux, and Mac systems running Mac ARM. The samples in this repo will automatically download the APDFL package for your platform via Maven and obtain a trial license.
Customers can also obtain APDFL without license management for the same three platforms, plus those listed below. You will recieve a ZIP file with the APDFL components for your platform, plus a POM file (create-artifacts.xml
) that you can use to install APDFL to your local Maven cache, or deploy to private Maven repo on your network. To install the components to your local cache, unzip the file and run the command
./mvnw -f create-artifacts.xml install
After you've installed APDFL for your platform to your Maven cache, you can run any sample in this repository by updating its POM to find the package for your platform.
- Open the
pom.xml
for the sample you want to try - Copy the complete
<profile>
section for your platform from below - Paste it into the
<profiles>
block of thepom.xml
<profile>
<id>MacIntel</id>
<activation>
<os>
<family>mac</family>
<arch>x86_64</arch>
</os>
</activation>
<properties>
<jni.classifier>mac-x86-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>LinuxArm</id>
<activation>
<os>
<name>Linux</name>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>linux-arm-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>SparcSolaris64</id>
<activation>
<os>
<name>sunos</name>
<arch>sparcv9</arch>
</os>
</activation>
<properties>
<jni.classifier>sparcsolaris-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Windows32</id>
<activation>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<jni.classifier>win-x86-32-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Linux32</id>
<activation>
<os>
<name>Linux</name>
<arch>x86</arch>
</os>
</activation>
<properties>
<jni.classifier>linux-x86-32-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>WindowsArm</id>
<activation>
<os>
<family>windows</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>win-arm-64-jni</jni.classifier>
</properties>
</profile>