Reputation: 525
In my project, I want to get the settings content of Maven, for example, I want to reuse the proxy settings with maven. Do you know how to get the settings XML? thank you
Upvotes: 0
Views: 216
Reputation: 440
use Runtime.getRuntime()
exec the command mvn help:effective-settings
get the information?
Upvotes: 1