Source: maven-invoker-plugin
Version: 2.0.0-1
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
> dh build --buildsystem=maven
>    dh_testdir -O--buildsystem=maven
>    dh_update_autotools_config -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-invoker-plugin-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 
> 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
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Maven Invoker Plugin 2.0.0
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:xpp3-reader 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:xpp3-writer 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:java 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources 
> (default-resources) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile 
> (default-compile) @ maven-invoker-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 18 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java:
>  
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java
>  uses or overrides a deprecated API.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java:
>  Recompile with -Xlint:deprecation for details.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java:
>  Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java:
>  Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.5:descriptor 
> (default-descriptor) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read 
> mojo source files, i.e. build is platform dependent!
> [INFO] java-javadoc mojo extractor found 0 mojo descriptor.
> [WARNING] Unable to get sources artifact for 
> org.apache.maven.reporting:maven-reporting-impl:debian. Some javadoc tags 
> (@since, @deprecated and comments) won't be used
> [INFO] java-annotations mojo extractor found 5 mojo descriptors.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources 
> (default-testResources) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 9 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile 
> (default-testCompile) @ maven-invoker-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 5 source files to 
> /<<PKGBUILDDIR>>/target/test-classes
> [INFO] 
> /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/invoker/InterpolationTest.java:
>  Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/test/java/org/apache/maven/plugin/invoker/InterpolationTest.java:
>  Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test 
> (default-test) @ maven-invoker-plugin ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar 
> (default-jar) @ maven-invoker-plugin ---
> [INFO] Building jar: 
> /<<PKGBUILDDIR>>/target/maven-invoker-plugin-2.0.0.jar
> [INFO] 
> [INFO] --- 
> maven-plugin-plugin:3.5:addPluginArtifactMetadata 
> (default-addPluginArtifactMetadata) @ maven-invoker-plugin 
> ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3.473 s
> [INFO] Finished at: 2017-07-19T11:48:49Z
> [INFO] Final Memory: 36M/1070M
> [INFO] 
> ------------------------------------------------------------------------
>    dh_auto_test -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 
> 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...
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Maven Invoker Plugin 2.0.0
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:xpp3-reader 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:xpp3-writer 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.9.1:java 
> (standard) @ maven-invoker-plugin ---
> [INFO] outputDirectory: 
> /<<PKGBUILDDIR>>/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/invocation.mdo
> [INFO] Generating current version: 1.0.0
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources 
> (default-resources) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile 
> (default-compile) @ maven-invoker-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 18 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java:
>  
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java
>  uses or overrides a deprecated API.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java:
>  Recompile with -Xlint:deprecation for details.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java:
>  Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java:
>  Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.5:descriptor 
> (default-descriptor) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read 
> mojo source files, i.e. build is platform dependent!
> [INFO] java-javadoc mojo extractor found 0 mojo descriptor.
> [WARNING] Unable to get sources artifact for 
> org.apache.maven.reporting:maven-reporting-impl:debian. Some javadoc tags 
> (@since, @deprecated and comments) won't be used
> [INFO] java-annotations mojo extractor found 5 mojo descriptors.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources 
> (default-testResources) @ maven-invoker-plugin ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 9 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile 
> (default-testCompile) @ maven-invoker-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test 
> (default-test) @ maven-invoker-plugin ---
> [INFO] Surefire report directory: 
> /<<PKGBUILDDIR>>/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.plugin.invoker.InvokerMojoTest
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3.336 s
> [INFO] Finished at: 2017-07-19T11:48:53Z
> [INFO] Final Memory: 34M/1064M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test 
> (default-test) on project maven-invoker-plugin: 
> Execution default-test of goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: There was an 
> error in the forked process
> [ERROR] java.lang.NoClassDefFoundError: 
> org/apache/maven/execution/MavenExecutionResult
> [ERROR]      at java.lang.Class.getDeclaredMethods0(Native 
> Method)
> [ERROR]      at 
> java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
> [ERROR]      at 
> java.lang.Class.privateGetMethodRecursive(Class.java:3048)
> [ERROR]      at 
> java.lang.Class.getMethod0(Class.java:3018)
> [ERROR]      at java.lang.Class.getMethod(Class.java:1784)
> [ERROR]      at 
> org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:151)
> [ERROR]      at 
> org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:120)
> [ERROR]      at 
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:70)
> [ERROR]      at 
> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131)
> [ERROR]      at 
> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108)
> [ERROR]      at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> [ERROR]      at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> [ERROR]      at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> [ERROR] Caused by: java.lang.ClassNotFoundException: 
> org.apache.maven.execution.MavenExecutionResult
> [ERROR]      at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> [ERROR]      at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> [ERROR]      at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> [ERROR]      at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> [ERROR]      ... 13 more
> [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/PluginExecutionException
> 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 
> 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/07/19/maven-invoker-plugin_2.0.0-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.

__
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