Pom files organization / best practice

2012-04-03 Thread Bata Degen
Hi list, I have set up a Java Enterprise project with Maven in Netbeans. The pom.xml files are organized hierarchically. I have poms for the entire project, for the ejb, the web and the assembly (ear) part of the project. I don't know in which of these many pom files to place my repository

Re: Pom files organization / best practice

2012-04-03 Thread Stephen Connolly
best practice is *never* to put repository in your pom. best practice is to run a Maven Repository Manager (there are 3 good ones: [in alphabetical order] archivia, artifactory, nexus) best practice is to have those present a virtual repository that is an aggregate of all the repositories you

Re: Pom files organization / best practice

2012-04-03 Thread Ansgar Konermann
Am 03.04.2012 12:55 schrieb Bata Degen bat...@arcor.de: Hi list, I have set up a Java Enterprise project with Maven in Netbeans. The pom.xml files are organized hierarchically. I have poms for the entire project, for the ejb, the web and the assembly (ear) part of the project. I don't know

Re: Pom files organization / best practice

2012-04-03 Thread Bata Degen
On 04/03/2012 01:02 PM, Stephen Connolly wrote: best practice is *never* to putrepository in your pom. best practice is to run a Maven Repository Manager (there are 3 good ones: [in alphabetical order] archivia, artifactory, nexus) best practice is to have those present a virtual repository

Re: Pom files organization / best practice

2012-04-03 Thread Bata Degen
On 04/03/2012 01:05 PM, Ansgar Konermann wrote: I don't know in which of these many pom files to place myrepository elements. Nowhere in your poms. Use a repository manager, configure the repositories you would like to use as proxy repositories in the repo manager and set the repo mgr as

Re: Pom files organization / best practice

2012-04-03 Thread mike digioia
I don't have any settings.xml files anywhere. Were can it be created? Is any of this documented anywhere or your new idea? On Tue, Apr 3, 2012 at 4:48 AM, Bata Degen bat...@arcor.de wrote: On 04/03/2012 01:05 PM, Ansgar Konermann wrote: I don't know in which of these many pom files to

Re: Pom files organization / best practice

2012-04-03 Thread Wayne Fay
I don't have any settings.xml files anywhere. Were can it be created? Is any of this documented anywhere or your new idea? This is all documented on the Maven site: http://maven.apache.org/settings.html Wayne - To