Michael Osipov created MNG-6939:
-----------------------------------
Summary: ITs fail when MAVENCODEBASE is relative
Key: MNG-6939
URL: https://issues.apache.org/jira/browse/MNG-6939
Project: Maven
Issue Type: Bug
Components: Integration Tests
Reporter: Michael Osipov
Reproducer:
{noformat}
osipovmi@deblndw011x:~/var/Projekte/maven-integration-testing
$ export MAVENCODEBASE=../maven
$ ./run-its.sh
...
[INFO] Maven Core ITs suite 2.1-SNAPSHOT .................. FAILURE [ 5.221 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.130 s
[INFO] Finished at: 2020-06-10T11:09:06+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (unpack-mav
en-distro) on project core-it-suite: An Ant BuildException
has occured: src '/var/osipovmi/Projek
te/maven-integration-testing/maven/apache-maven/target/apache-maven-bin.zip'
doesn't exist.
[ERROR] around Ant part ...<unzip
src="../maven/apache-maven/target/apache-maven-bin.zip" dest="/
var/osipovmi/Projekte/maven-integration-testing/core-it-suite/target/apache-maven">...
@ 5:158 in
/var/osipovmi/Projekte/maven-integration-testing/core-it-suite/target/antrun/build-main.xml
[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 a
rticles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :core-it-suite
{noformat}
It is apparently not obvious that the env var is is normalized, nested or
cannot be relative.
[~rfscholte], [~olamy], can you both have a look? We either should fail
properly or support it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)