Source: maven-war-plugin
Version: 2.2-2
Severity: serious
Tags: buster sid
User: debian...@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
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Maven WAR Plugin 2.2
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources 
> (default-resources) @ maven-war-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory 
> /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile 
> (default-compile) @ maven-war-plugin ---
> [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!
> [WARNING] File encoding has not been set, using platform encoding 
> ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] 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
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/war/AbstractWarMojo.java:
>  Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/war/AbstractWarMojo.java:
>  Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.5:descriptor 
> (default-descriptor) @ maven-war-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read 
> mojo source files, i.e. build is platform dependent!
> [WARNING] 
> org.apache.maven.plugin.war.WarManifestMojo#archiveClasses:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarManifestMojo#containerConfigXML:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarManifestMojo#escapeString:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarManifestMojo#escapedBackslashesInFilePath:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarManifestMojo#filteringDeploymentDescriptors:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarManifestMojo#useCache:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarManifestMojo#webXml:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#archiveClasses:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#containerConfigXML:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#escapeString:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarMojo#escapedBackslashesInFilePath:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#failOnMissingWebXml:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarMojo#filteringDeploymentDescriptors:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#primaryArtifact:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#useCache:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarMojo#webXml:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarExplodedMojo#archiveClasses:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarExplodedMojo#containerConfigXML:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarExplodedMojo#escapeString:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarExplodedMojo#escapedBackslashesInFilePath:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarExplodedMojo#filteringDeploymentDescriptors:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarExplodedMojo#useCache:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarExplodedMojo#webXml:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarInPlaceMojo#archiveClasses:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarInPlaceMojo#containerConfigXML:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarInPlaceMojo#escapeString:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarInPlaceMojo#escapedBackslashesInFilePath:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] 
> org.apache.maven.plugin.war.WarInPlaceMojo#filteringDeploymentDescriptors:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarInPlaceMojo#useCache:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [WARNING] org.apache.maven.plugin.war.WarInPlaceMojo#webXml:
> [WARNING]   The syntax
> [WARNING]     @parameter expression="${property}"
> [WARNING]   is deprecated, please use
> [WARNING]     @parameter property="property"
> [WARNING]   instead.
> [INFO] java-javadoc mojo extractor found 4 mojo descriptors.
> [INFO] java-annotations mojo extractor found 0 mojo descriptor.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources 
> (default-testResources) @ maven-war-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 31 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile 
> (default-testCompile) @ maven-war-plugin ---
> [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 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
> [INFO] 
> /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/AbstractWarExplodedMojoTest.java:
>  Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/war/AbstractWarExplodedMojoTest.java:
>  Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /<<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
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2.352 s
> [INFO] Finished at: 2017-07-19T11:51:56Z
> [INFO] Final Memory: 25M/786M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile 
> (default-testCompile) on project maven-war-plugin: 
> Compilation failure
> [ERROR] 
> /<<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
> [ERROR] 
> [ERROR] -> [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/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.

__
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.

Reply via email to