I am trying to get my hands around how to reconcile the multi-module setup maven seems to suggest for basic webapps with a subversion repository. All the examples seem to show a parent pom with 2 or more child poms.

I have a requirement that two separate webapps be built using a common module. I have a second requirement that the two webapps may end up using separate version levels of this common module, which will be under common development by the two teams.
The book seems to suggest the following layout.

/pom.xml
/commons/
/commons/pom.xml
/webapp1/
/webapp1/pom.xml
/webapp2/
/webapp2/pom.xml

So how do I handle this within my scm repository? subversion seems to suggest the following:

/main/branches
/main/tags
/main/trunk
/commons/branches
/commons/tags
/commons/trunk
/webapp1/branches
/webapp1/tags
/webapp1/trunk
/webapp2/branches
/webapp2/tags
/webapp2/trunk

And then have the individual developers selectively checkout this flat structure into the nested structure above.

Keep in mind I may need to do a build of webapp2 with commons-1.0 and a build of webapp1 with commons 2.0.
Am I on the wrong track here?

-JFD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to