Bug#871069: maven-archiver: FTBFS: dh_auto_test: /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 test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Aug 6 21:56:43 UTC 2017


Source: maven-archiver
Version: 3.1.1-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 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
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibmaven-archiver-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING] The project org.apache.maven:maven-archiver:jar:3.1.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
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.5.2: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 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.apache.maven.plugins:maven-install-plugin:jar:2.5.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.8: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.8 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.apache.maven.plugins:maven-antrun-plugin:jar:1.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.4.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.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 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.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 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.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.5.2: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 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.apache.maven.plugins:maven-install-plugin:jar:2.5.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.8: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.8 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.apache.maven.plugins:maven-antrun-plugin:jar:1.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.4.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.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 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.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 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.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Archiver 3.1.1
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.5.2: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 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.apache.maven.plugins:maven-install-plugin:jar:2.5.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.8: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.8 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.apache.maven.plugins:maven-antrun-plugin:jar:1.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.4.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.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 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.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 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.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ maven-archiver ---
> [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-archiver ---
> [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 7 source files to /<<PKGBUILDDIR>>/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] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ maven-archiver ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 7 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ maven-archiver ---
> [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 4 source files to /<<PKGBUILDDIR>>/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] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/archiver/MockArtifact.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/archiver/MockArtifact.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ maven-archiver ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ maven-archiver ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/maven-archiver-3.1.1.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:2.10.4:jar (default-cli) @ maven-archiver ---
> [WARNING] Source files encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] 
> Loading source files for package org.apache.maven.archiver...
> Constructing Javadoc information...
> Standard Doclet version 1.8.0_141
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/ManifestConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/ManifestSection.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/MavenArchiveConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/MavenArchiver.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/PomPropertiesUtil.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/package-frame.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/class-use/PomPropertiesUtil.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/class-use/MavenArchiver.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/class-use/MavenArchiveConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/class-use/ManifestSection.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/class-use/ManifestConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/org/apache/maven/archiver/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index-all.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-frame.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-noframe.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/help-doc.html...
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/maven-archiver-3.1.1-javadoc.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Archiver 3.1.1
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.5.2: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 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.apache.maven.plugins:maven-install-plugin:jar:2.5.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 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.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 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.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.8: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.8 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.apache.maven.plugins:maven-antrun-plugin:jar:1.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.4.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.apache.maven.plugins:maven-assembly-plugin:jar:2.4.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 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.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 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.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
> [INFO] 
> [INFO] >>> maven-javadoc-plugin:2.10.4:aggregate (default-cli) > generate-sources @ maven-archiver >>>
> [INFO] 
> [INFO] <<< maven-javadoc-plugin:2.10.4:aggregate (default-cli) < generate-sources @ maven-archiver <<<
> [INFO] 
> [INFO] 
> [INFO] --- maven-javadoc-plugin:2.10.4:aggregate (default-cli) @ maven-archiver ---
> [WARNING] Source files encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] 
> Loading source files for package org.apache.maven.archiver...
> Constructing Javadoc information...
> Standard Doclet version 1.8.0_141
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/ManifestConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/ManifestSection.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/MavenArchiveConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/MavenArchiver.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/PomPropertiesUtil.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/package-frame.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/class-use/PomPropertiesUtil.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/class-use/MavenArchiver.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/class-use/MavenArchiveConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/class-use/ManifestSection.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/class-use/ManifestConfiguration.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/org/apache/maven/archiver/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index-all.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses-frame.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses-noframe.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/help-doc.html...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.654 s
> [INFO] Finished at: 2017-08-06T20:29:12Z
> [INFO] Final Memory: 27M/796M
> [INFO] ------------------------------------------------------------------------
>    dh_auto_test
> 	/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 test
> [INFO] Scanning for projects...
> [WARNING] The project org.apache.maven:maven-archiver:jar:3.1.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] ------------------------------------------------------------------------
> [INFO] Building Apache Maven Archiver 3.1.1
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ maven-archiver ---
> [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-archiver ---
> [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] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ maven-archiver ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 7 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ maven-archiver ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ maven-archiver ---
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.archiver.ManifestConfigurationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec - in org.apache.maven.archiver.ManifestConfigurationTest
> Running org.apache.maven.archiver.MavenArchiverTest
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-defaults.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-explicit-simple.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-repo-non-unique.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummyWithDashes.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-simple.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-repo.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy-custom-layout-simple-non-unique.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/test/dummy.jar
> Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.276 sec <<< FAILURE! - in org.apache.maven.archiver.MavenArchiverTest
> testRecreation(org.apache.maven.archiver.MavenArchiverTest)  Time elapsed: 0.111 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1502051354000> but was:<1502051294000>
> 	at org.apache.maven.archiver.MavenArchiverTest.testRecreation(MavenArchiverTest.java:254)
> 
> Running org.apache.maven.archiver.MavenArchiveConfigurationTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.maven.archiver.MavenArchiveConfigurationTest
> 
> Results :
> 
> Failed tests: 
>   MavenArchiverTest.testRecreation:254 expected:<1502051354000> but was:<1502051294000>
> 
> Tests run: 34, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.624 s
> [INFO] Finished at: 2017-08-06T20:29:15Z
> [INFO] Final Memory: 11M/966M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project maven-archiver: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
> [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
> dh_auto_test: /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 test returned exit code 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/maven-archiver_3.1.1-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