ppalaga commented on issue #909:
URL: https://github.com/apache/maven-mvnd/issues/909#issuecomment-1946576280

   Thanks for the investigation @reissseb.
   
   Apparently mvnd does not honor .mavenrc.
   
   In case of stock Maven it is sourced inside the `mvn` shell script:
   
   ```
     if [ -f "$HOME/.mavenrc" ] ; then
       . "$HOME/.mavenrc"
     fi
   ```
   
   It is honored by `mvnd.sh` though - using `mvnd.sh` instead of `mvnd` would 
be the most straightforward workaround for your problem.
   
   I do not think `mvnd.properties` is the right place for this.
   
   Another possible way of solving this would be to put those local properties 
into a profile in settings.xml that would be active by default.
   
   @gnodet do you think we should support `.mavenrc`?
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to