Bug#869019: maven-war-plugin: 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:25 UTC 2017
Source: maven-war-plugin
Version: 2.2-2
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
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /<<PKGBUILDDIR>>/debian
> 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-war-plugin-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo --build-no-docs
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> /usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven WAR Plugin 2.2[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-war-plugin[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>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-war-plugin[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 26 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.3 is no longer supported, switching to 1.7
> Use of source 1.3 is no longer supported, switching to 1.7
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/war/AbstractWarMojo.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/war/AbstractWarMojo.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:descriptor[m [1m(default-descriptor)[m @ [36mmaven-war-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#archiveClasses:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#containerConfigXML:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#escapeString:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#escapedBackslashesInFilePath:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#filteringDeploymentDescriptors:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#useCache:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarManifestMojo#webXml:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#archiveClasses:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#containerConfigXML:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#escapeString:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#escapedBackslashesInFilePath:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#failOnMissingWebXml:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#filteringDeploymentDescriptors:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#primaryArtifact:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#useCache:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarMojo#webXml:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#archiveClasses:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#containerConfigXML:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#escapeString:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#escapedBackslashesInFilePath:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#filteringDeploymentDescriptors:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#useCache:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarExplodedMojo#webXml:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#archiveClasses:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#containerConfigXML:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#escapeString:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#escapedBackslashesInFilePath:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#filteringDeploymentDescriptors:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#useCache:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;33mWARNING[m] org.apache.maven.plugin.war.WarInPlaceMojo#webXml:
> [[1;33mWARNING[m] The syntax
> [[1;33mWARNING[m] @parameter expression="${property}"
> [[1;33mWARNING[m] is deprecated, please use
> [[1;33mWARNING[m] @parameter property="property"
> [[1;33mWARNING[m] instead.
> [[1;34mINFO[m] java-javadoc mojo extractor found 4 mojo descriptors.
> [[1;34mINFO[m] java-annotations mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mmaven-war-plugin[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] Copying 31 resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mmaven-war-plugin[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 36 source files to /<<PKGBUILDDIR>>/target/test-classes
> Use of target 1.3 is no longer supported, switching to 1.7
> Use of source 1.3 is no longer supported, switching to 1.7
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/AbstractWarExplodedMojoTest.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/AbstractWarExplodedMojoTest.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] COMPILATION ERROR :
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/stub/AbstractArtifactStub.java:[66,16] name clash: compareTo(java.lang.Object) in org.apache.maven.plugin.war.stub.AbstractArtifactStub and compareTo(T) in java.lang.Comparable have the same erasure, yet neither overrides the other
> [[1;34mINFO[m] 1 error
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 2.352 s
> [[1;34mINFO[m] Finished at: 2017-07-19T11:51:56Z
> [[1;34mINFO[m] Final Memory: 25M/786M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m on project [36mmaven-war-plugin[m: [1;31mCompilation failure[m
> [[1;31mERROR[m] [1;31m/<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/stub/AbstractArtifactStub.java:[66,16] name clash: compareTo(java.lang.Object) in org.apache.maven.plugin.war.stub.AbstractArtifactStub and compareTo(T) in java.lang.Comparable have the same erasure, yet neither overrides the other[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] -> [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/MojoFailureException
> /usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
> make: *** [mvn-build] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/maven-war-plugin_2.2-2_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