Reputation: 2688
Too often, I find myself adding proxy repositories to nexus. Is there a tool that can automatically scan my poms and add the entries from the section to nexus?
Upvotes: 1
Views: 329
Reputation: 97359
First there is no such tool to do that automatically. Furthermore there shouldn't be repositories configured in the pom, cause that's not best practice im Maven.
It should be possible to create such a tool. By using the Aether library which can help you to extract information out of the pom and with some basic http stuff put that result into a configuration of Nexus.
Upvotes: 2