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

   The problem is the property `-Ddockerfile.useMavenSettingsForAuth` of the 
plugin `dockerfile-maven-plugin`.
   
   I set it to `true` in my `.mavenrc` file.
   
   Setting it as a CLI option does work:
   ```bash
   mvnd package -Ddockerfile.useMavenSettingsForAuth=true
   ```
   
   So does adding it to the `[project-home]/.mvn/jvm.config` like stated in 
this comment: 
https://github.com/apache/maven-mvnd/issues/567#issuecomment-1006673652
   
   But it does not work, when I add it to the user property file 
`~/.m2/mvnd.properties` like this:
   `mvnd.jvmArgs=-Ddockerfile.useMavenSettingsForAuth\=true`
   
   Stated in this comment: 
https://github.com/apache/maven-mvnd/issues/567#issuecomment-1006712450
   
   
   How can I achieve that? Is that even possible?
   
   _(we set other options like the path to a keystore with 
`-Djavax.net.ssl.keyStore`). So I would like to set these options in the 
property file of the user_ 
   


-- 
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