4.0.0org.opencvopencv-parent4.5.4org.opencvopencvbundleOpenCV../../..${source.path}/buildlibopencv_java${lib.version.string}.so${build.directory}/src../../../build/maven/opencv/target../../../build/src../../../build/srcorg.apache.maven.pluginsmaven-clean-plugin3.0.0${build.directory}org.codehaus.mojoexec-maven-plugin1.4.0get-opencv-versiongenerate-resourcesexecbash${project.basedir}/scriptsproperties${build.directory}build.propertiessetup-environmentvalidateexecbash${project.basedir}/scriptsdeb_package_check-olibpng-dev|libpng12-dev-olibopenjp2-7-dev|libjasper-dev-opython-dev-opython-numpybuild-essentialcmakegitlibgtk2.0-devpkg-configlibavcodec-devlibavformat-devlibswscale-devlibtbb2libtbb-devlibjpeg-devlibtiff5-devlibdc1394-22-devexecstackantcheck-execstackprocess-classesexec${project.basedir}/scriptsbashexecstack_check${build.directory}/lib/libopencv_java${lib.version.string}.somaven-resources-plugin3.0.2copy-resourcesgenerate-resourcescopy-resources${resources.directory}resourcesorg.codehaus.mojoproperties-maven-plugin1.0.0set-arch-propertiesprocess-resourcesread-project-properties${build.directory}/build.propertiesorg.apache.maven.pluginsmaven-enforcer-plugin1.4.1validateenforce-osenforceunixThis POM is written to function on UNIX family of OS.
More specifically it should be a Debian flavour of Linux.enforce-environmentenforceERRORANT_HOME$ANT_HOME is not set. Build may fail.ERRORJAVA_HOME$JAVA_HOME is not set. Build will fail.WARNMAKEFLAGSNo MAKEFLAGS environment variable. Build may be slow.
To speed up the build you can try exporting MAKEFLAGS=-jX where X equals the number of parallel builds.process-resourcescheck-versions-matchenforceproject.version${opencv.version}The Maven POM version ${project.version} does not match the extracted OpenCV version ${opencv.version}.
To correct this please execute the following Maven command from the Maven root directory:
mvn versions:set -DnewVersion=$(. ./opencv/scripts/functions && cd ./opencv/scripts && extract_version && echo $REPLY)org.apache.felixmaven-bundle-plugin2.3.7true*${nativelibrary.name};osname=linux;processor=${osgi.processor}${build.directory}/lib/${nativelibrary.name}${build.directory}/manifesttruecom.googlecode.cmake-maven-projectcmake-maven-plugin3.4.1-b2generate-sourcescmake-generategenerate../../..../../../buildUnix Makefilesgenerate-sourcescmake-compilecompileopencv_java../../../buildorg.apache.maven.pluginsmaven-surefire-plugin2.15