Other options available to Gradle and Scala users are Gradle JavaCPP, SBT-JavaCPP, and SBT-JavaCV. For examples with Gradle and sbt, please refer to the README.md file of the JavaCPP Presets. We can also specify more than one platform, see the examples at Reducing the Number of Dependencies. This downloads binaries for all platforms, but to get binaries for only one platform we can set, for example, the atform system property (via the -D command line option) to something like android-arm, linux-x86_64, macosx-x86_64, windows-x86_64, etc. Here is a sample list of dependencies that you can use as base for your own pom.xml file.
Please remember to either depend on artifacts that contain -platform in their names, or include in your class path the platform-specific artifacts as well. These archives contain all that is available from the latest releases. All binary and source artifacts for JavaCPP, JavaCPP Presets, JavaCV, ProCamCalib, and ProCamTracker are made available as release archives on the GitHub repositories as well as through the Maven Central Repository, so you can make your build files depend on them (as shown in the Maven Dependencies section below), and they will get downloaded automatically, but one can also download everything manually.