Jesse
Jesse

Reputation: 525

How to read maven settings with Java

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

Answers (1)

jin
jin

Reputation: 440

use Runtime.getRuntime() exec the command mvn help:effective-settings get the information?

Upvotes: 1

Related Questions