Bug#903125: exec-maven-plugin: FTBFS in stretch (expected:<[mvn] --version> but was:<['mvn'] --version>)

Andreas Beckmann anbe at debian.org
Mon Jul 16 18:08:01 BST 2018


Control: tag -1 - stretch
Control: retitle -1 exec-maven-plugin: FTBFS: tests fail with (expected:<[mvn] --version> but was:<['mvn'] --version>)

This is also reproducible in jessie:

...
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.codehaus.mojo.exec.ExecJavaMojoTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.492 sec
Running org.codehaus.mojo.exec.ExecMojoTest
[debug] Toolchains are ignored, 'executable' parameter is set to target/java
[debug] got arguments from system properties: -f pom.xml
Tests run: 7, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec <<< FAILURE!

Results :

Failed tests:   testRunOK(org.codehaus.mojo.exec.ExecMojoTest): expected:<[mvn] --version> but was:<['mvn'] --version>
  testRunFailure(org.codehaus.mojo.exec.ExecMojoTest): expected:<[mvn] --version> but was:<['mvn'] --version>
  testRunError(org.codehaus.mojo.exec.ExecMojoTest): expected:<[mvn] --version> but was:<['mvn'] --version>
  testOverrides(org.codehaus.mojo.exec.ExecMojoTest): expected:<[mvn] -f pom.xml> but was:<['mvn'] -f pom.xml>
  testOverrides3(org.codehaus.mojo.exec.ExecMojoTest): expected:<[mvn] --version> but was:<['mvn'] --version>

Tests run: 14, Failures: 5, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /build/exec-maven-plugin-1.1.1+dfsg/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Mon Jul 16 16:46:31 UTC 2018
[INFO] Final Memory: 22M/608M
[INFO] ------------------------------------------------------------------------
/usr/share/cdbs/1/class/maven.mk:87: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1


Andreas



More information about the pkg-java-maintainers mailing list