Re: Multi-project organization

2010-01-24 Thread Wendy Smoak
On Sun, Jan 24, 2010 at 2:55 PM, Josh Stone wrote: > Since any given project could be built locally from source or from jars, do > I need two poms for each project, one to serve as a "build" pom and one to > reference jars? No, you don't need two poms. What do you mean by building from source o

Re: Multi-project organization

2010-01-24 Thread Manuel Grau
Let me introduce what I'm doing in my company. We have some maven-java-simple projects used in other projects. These projects are considered common code. Then, our projects are all maven-j2ee-simple projects. These projects have a root pom. Then, we have inside a folder called servlets, with at lea

Re: Multi-project organization

2010-01-24 Thread Josh Stone
Thanks for the response. Allow me to try and explain again: Since our stack is so large and consists of many projects, developers don't build the entire stack from source, they only build the specific projects that they work on. Dependencies on other projects in our stack should be resolved from j

Re: Multi-project organization

2010-01-24 Thread Manuel Grau
Is exactly what I'm doing. I only build the project I'm working on. The dependencies are pulled from my local repository. Run mvn clean package install from your jars. Only if you change any of them, you execute mvn package install. I'm not sure if you understand me. 2010/1/24 Josh Stone > Thank

RE: Multi-project organization

2010-01-24 Thread Jeff Jensen
PM To: Maven Users List Subject: Re: Multi-project organization Thanks for the response. Allow me to try and explain again: Since our stack is so large and consists of many projects, developers don't build the entire stack from source, they only build the specific projects that they wo

Re: Multi-project organization

2010-01-24 Thread Josh Stone
I think I get what you are saying. So each project should have dependencies on its jars, and I just choose to build each project if I want, otherwise the dependencies will be resolved from the jars. josh On Sun, Jan 24, 2010 at 2:28 PM, Manuel Grau wrote: > Is exactly what I'm doing. I only bui

Re: Multi-project organization

2010-01-24 Thread Stephen Connolly
2010/1/24 Manuel Grau > Is exactly what I'm doing. I only build the project I'm working on. The > dependencies are pulled from my local repository. Run mvn clean package > install from your jars. FYI, since install includes all the phases up to install, and package is < install, mvn package ins

Re: Multi-project organization

2010-01-24 Thread Ron Wheeler
I am still new to Maven after using it for 3 years with 20+ projects. I recently installed the Nexus repository manager, community (free) version. It is a great help and I would heartily recommend installing it if you are moving to Maven. It makes the whole process much more visible. We use th

Re: Multi-project organization

2010-01-25 Thread Josh Stone
Thanks for the responses Ron and everyone. I'm going to take back all of your input and try to apply it. Josh On Sun, Jan 24, 2010 at 5:44 PM, Ron Wheeler wrote: > I am still new to Maven after using it for 3 years with 20+ projects. > I recently installed the Nexus repository manager, communit