Is it possible to define the target environment for the javacpp-presets (opencv-platform) in the pom.xml file? I know that you're able to set the -Djavacpp.platform
property when executing mvn clean install
. This will activate the correct maven profile and won't add the other system libs to the final jar. But is there a chance to define the platform directly in the pom to avoid the -D argument when executing maven?
Thanks!