Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for encrypted maven credentials #55

Closed
Smasherr opened this issue May 4, 2021 · 0 comments
Closed

Add support for encrypted maven credentials #55

Smasherr opened this issue May 4, 2021 · 0 comments

Comments

@Smasherr
Copy link
Contributor

Smasherr commented May 4, 2021

In many situations, when working with private repositories, there is a need to use encrypted maven credentials. Such setup requires having the file settings-security.xml additional to settings.xml in ~/.m2. Hence, I propose to modify the maven binding to include both files.

The implementation would be quite simple since the security settings can be passed to Maven with the system property settings.security. For instance:

mvn -s ~/.credentials/settings.xml -Dsettings.security=~/.credentials/settings-security.xml package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant