Bug#869266: commons-httpclient FTBFS: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.19.1 or one of its dependencies could not be resolved

Adrian Bunk bunk at debian.org
Sat Jul 22 08:39:14 UTC 2017


Source: commons-httpclient
Version: 3.1-13
Severity: serious

Some recent change in usntable makes commons-httpclient FTBFS:

https://tests.reproducible-builds.org/debian/history/commons-httpclient.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/commons-httpclient.html

...
[INFO] 
[INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ commons-httpclient ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ commons-httpclient ---
[WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 139 source files to /build/1st/commons-httpclient-3.1/target/classes
Use of target 1.5 is no longer supported, switching to 1.7
Use of source 1.5 is no longer supported, switching to 1.7
[INFO] /build/1st/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/URIException.java: Some input files use or override a deprecated API.
[INFO] /build/1st/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/URIException.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/1st/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/protocol/Protocol.java: Some input files use unchecked or unsafe operations.
[INFO] /build/1st/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/protocol/Protocol.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ commons-httpclient ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ commons-httpclient ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 102 source files to /build/1st/commons-httpclient-3.1/target/test-classes
Use of target 1.5 is no longer supported, switching to 1.7
Use of source 1.5 is no longer supported, switching to 1.7
[INFO] /build/1st/commons-httpclient-3.1/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java: Some input files use or override a deprecated API.
[INFO] /build/1st/commons-httpclient-3.1/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/1st/commons-httpclient-3.1/src/test/org/apache/commons/httpclient/server/SimpleConnSet.java: Some input files use unchecked or unsafe operations.
[INFO] /build/1st/commons-httpclient-3.1/src/test/org/apache/commons/httpclient/server/SimpleConnSet.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ commons-httpclient ---
[WARNING] The POM for junit:junit:jar:4.x is missing, no dependency information available
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping HttpClient
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.198 s
[INFO] Finished at: 2017-07-21T04:43:42-12:00
[INFO] Final Memory: 17M/429M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project commons-httpclient: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.19.1 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.x 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/PluginResolutionException
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/1st/commons-httpclient-3.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/commons-httpclient-3.1/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/commons-httpclient-3.1/debian -Dmaven.repo.local=/build/1st/commons-httpclient-3.1/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:7: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list