Bug#868999: maven-resolver: FTBFS: find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
Lucas Nussbaum
lucas at debian.org
Thu Jul 20 05:40:19 UTC 2017
Source: maven-resolver
Version: 1.0.3-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> 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-resolver-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.0.3
> [[1;33mWARNING[m] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 114, column 12
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects.
> [[1;33mWARNING[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Build Order:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] Maven Artifact Resolver
> [[1;34mINFO[m] Maven Artifact Resolver API
> [[1;34mINFO[m] Maven Artifact Resolver SPI
> [[1;34mINFO[m] Maven Artifact Resolver Test Utilities
> [[1;34mINFO[m] Maven Artifact Resolver Utilities
> [[1;34mINFO[m] Maven Artifact Resolver Implementation
> [[1;34mINFO[m] Maven Artifact Resolver Connector Basic
> [[1;34mINFO[m] Maven Artifact Resolver Transport Classpath
> [[1;34mINFO[m] Maven Artifact Resolver Transport File
> [[1;34mINFO[m] Maven Artifact Resolver Transport HTTP
> [[1;34mINFO[m] Maven Artifact Resolver Transport Wagon
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver API 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/maven-resolver-api/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;33mWARNING[m] 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
> [[1;33mWARNING[m] 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
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 123 source files to /<<PKGBUILDDIR>>/maven-resolver-api/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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mmaven-resolver-api[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/maven-resolver-api/target/maven-resolver-api-1.0.3.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver SPI 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/maven-resolver-spi/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 39 source files to /<<PKGBUILDDIR>>/maven-resolver-spi/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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mmaven-resolver-spi[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/maven-resolver-spi/target/maven-resolver-spi-1.0.3.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver Test Utilities 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/maven-resolver-test-util/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 20 source files to /<<PKGBUILDDIR>>/maven-resolver-test-util/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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mmaven-resolver-test-util[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/maven-resolver-test-util/target/maven-resolver-test-util-1.0.3.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver Utilities 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/maven-resolver-util/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 89 source files to /<<PKGBUILDDIR>>/maven-resolver-util/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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mmaven-resolver-util[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/maven-resolver-util/target/maven-resolver-util-1.0.3.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Artifact Resolver Implementation 1.0.3[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;33mWARNING[m] The POM for org.sonatype.plugins:sisu-maven-plugin:jar:1.1 is missing, no dependency information available
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Summary:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] Maven Artifact Resolver ............................ [1;32mSUCCESS[m [ 0.032 s]
> [[1;34mINFO[m] Maven Artifact Resolver API ........................ [1;32mSUCCESS[m [ 1.665 s]
> [[1;34mINFO[m] Maven Artifact Resolver SPI ........................ [1;32mSUCCESS[m [ 0.160 s]
> [[1;34mINFO[m] Maven Artifact Resolver Test Utilities ............. [1;32mSUCCESS[m [ 0.211 s]
> [[1;34mINFO[m] Maven Artifact Resolver Utilities .................. [1;32mSUCCESS[m [ 0.604 s]
> [[1;34mINFO[m] Maven Artifact Resolver Implementation ............. [1;31mFAILURE[m [ 0.002 s]
> [[1;34mINFO[m] Maven Artifact Resolver Connector Basic ............ [1;33mSKIPPED[m
> [[1;34mINFO[m] Maven Artifact Resolver Transport Classpath ........ [1;33mSKIPPED[m
> [[1;34mINFO[m] Maven Artifact Resolver Transport File ............. [1;33mSKIPPED[m
> [[1;34mINFO[m] Maven Artifact Resolver Transport HTTP ............. [1;33mSKIPPED[m
> [[1;34mINFO[m] Maven Artifact Resolver Transport Wagon ............ [1;33mSKIPPED[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 2.813 s
> [[1;34mINFO[m] Finished at: 2017-07-19T11:38:02Z
> [[1;34mINFO[m] Final Memory: 19M/769M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Plugin org.sonatype.plugins:sisu-maven-plugin:1.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 org.sonatype.plugins:sisu-maven-plugin:jar:1.1 has not been downloaded from it before. -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m 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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/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
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/maven-resolver_1.0.3-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list