Am 10/18/16 um 00:04 schrieb Hervé BOUTEMY:
> FYI, I found the cause of the issue: this could be useful to share...
> 
> I defined a ~/.mavenrc file which defined MAVEN_OPTS env variable
> 
> since maven-invoker-plugin passed configuration from invoker.properties as 
> MAVEN_OPTS env variable content, .mavenrc was just overriding
> 
> I changed my .mavenrc script to contain
> MAVEN_OPTS="xxx $MAVEN_OPTS"
> and now I don't have the failure any more, as expected
> 
> HTH others when having such strange issue...


Same when running the core integration tests. There are some ITs failing
when overriding MAVEN_OPTS in .mavenrc. The last line of my .mavenrc reads:

MAVEN_OPTS="$MAVEN_OPTS $MY_MAVEN_OPTS"

And MY_MAVEN_OPTS is set a few lines before.

Regards,
-- 
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to