zakmck
zakmck

Reputation: 2994

Sharing Maven profiles or settings.xml

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?

Upvotes: 1

Views: 410

Answers (1)

Mark O'Connor
Mark O'Connor

Reputation: 77941

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?

Upvotes: 2

Related Questions