Question

I'd like to define a few Maven profiles, where some proerties about JDBC connections are defined, make them available via HTTP and share them in my dev team, among several Maven projects. Ideally, I would like to just add a reference in a project's POM and have Maven download the profile defintions.

Is there a way to do that? Alternatively, can it be done via settings.xml, sharing such type of file the same way?

Was it helpful?

Solution

The professional edition of the Nexus repository manager contains a feature for managing and distributing Maven settings to users:

A simpler solution would be to distribute these files on a shared and secured web server. Have you automated the development installation process?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top