Source: maven-enforcer Version: 1.4.1-2 Severity: serious >From my pbuilder build log:
... debian/rules build dh build --buildsystem=maven dh_testdir -O--buildsystem=maven dh_update_autotools_config -O--buildsystem=maven dh_autoreconf -O--buildsystem=maven dh_auto_configure -O--buildsystem=maven find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory mh_patchpoms -plibmaven-enforcer-plugin-java --debian-build --keep-pom-version --maven-repo=/build/maven-enforcer-1.4.1/debian/maven-repo dh_auto_build -O--buildsystem=maven /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/maven- enforcer-1.4.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/maven-enforcer-1.4.1/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddeb ian.dir=/build/maven-enforcer-1.4.1/debian -Dmaven.repo.local=/build/maven-enforcer-1.4.1/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US [INFO] Scanning for projects... [WARNING] The project org.apache.maven.enforcer:enforcer:pom:1.4.1 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer -plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Maven Enforcer [INFO] Apache Maven Enforcer API [INFO] Apache Maven Enforcer Rules [INFO] Apache Maven Enforcer Plugin [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Enforcer 1.4.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Enforcer API 1.4.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ enforcer-api --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/maven-enforcer-1.4.1/enforcer-api/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ enforcer-api --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 5 source files to /build/maven-enforcer-1.4.1/enforcer-api/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ enforcer-api --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ enforcer-api --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ enforcer-api --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ enforcer-api --- [INFO] Building jar: /build/maven-enforcer-1.4.1/enforcer-api/target/enforcer-api-1.4.1.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Enforcer Rules 1.4.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ enforcer-rules --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/maven-enforcer-1.4.1/enforcer-rules/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ enforcer-rules --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 41 source files to /build/maven-enforcer-1.4.1/enforcer-rules/target/classes [INFO] /build/maven-enforcer-1.4.1/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: /build/maven-enforcer-1.4.1/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireP luginVersions.java uses or overrides a deprecated API. [INFO] /build/maven-enforcer-1.4.1/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:deprecation for details. [INFO] /build/maven-enforcer-1.4.1/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireSameVersions.java: Some input files use unchecked or unsafe operations. [INFO] /build/maven-enforcer-1.4.1/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireSameVersions.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ enforcer-rules --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ enforcer-rules --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ enforcer-rules --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ enforcer-rules --- [INFO] Building jar: /build/maven-enforcer-1.4.1/enforcer-rules/target/enforcer-rules-1.4.1.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ enforcer-rules --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Enforcer Plugin 1.4.1 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.hamcrest:hamcrest-core:jar:debian is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Maven Enforcer .............................. SUCCESS [ 0.002 s] [INFO] Apache Maven Enforcer API .......................... SUCCESS [ 1.164 s] [INFO] Apache Maven Enforcer Rules ........................ SUCCESS [ 1.022 s] [INFO] Apache Maven Enforcer Plugin ....................... FAILURE [ 0.024 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.340 s [INFO] Finished at: 2017-06-30T03:32:23Z [INFO] Final Memory: 14M/157M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project maven-enforcer-plugin: Could not resolve dependencies for project org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.4.1: Cannot access central (https://repo.maven.apache.o rg/maven2) in offline mode and the artifact org.hamcrest:hamcrest-core:jar:debian has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :maven-enforcer-plugin dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build /maven-enforcer-1.4.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/maven-enforcer-1.4.1/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xm l -Ddebian.dir=/build/maven-enforcer-1.4.1/debian -Dmaven.repo.local=/build/maven-enforcer-1.4.1/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 debian/rules:4: recipe for target 'build' failed make: *** [build] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- Daniel Schepler __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.