jira-importer commented on issue #635:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/635#issuecomment-2957810080

   **[Slawomir 
Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)**
 commented
   
   I did some test and research, when `/etc/mavenrc` or `~/.mavenrc` exist 
`mvn` script use source command and every command from `mavenrc` is executed 
before start maven.
   
   So if in `mavenrc` `MAVEN_OPTS` is overridden we don't option to prevent 
this.
   
   We can set `MAVEN_SKIP_RC` environment variable to skip execute commands 
from `mavenrc`
   
   I think, that by default we should skip `mavenrc` - tests shouldn't depends 
on local environment - everything what is needed for test should be in test 
code.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to