On 3/14/07, Thorsten Heit <[EMAIL PROTECTED]> wrote:
Hi Pablo,> maybe I forgot to mention that projectA, projectB and projectC aren“t > children of projectD. They are projects located in whatever location in my > svn repository. > > What I'm trying to achieve is that a Maven2 project could retrieve other > external Maven2 project, invoke certain targets and then pack together > generated artifacts. Maybe this is not possible? Assume the following directory layout: +-- parent +-- projectA +-- projectB +-- projectC
You can achieve such a working-copy directory layout "automatically" by using svn:externals (you did mention you've got Subversion) in the parent. The location in svn of the parent could be anywhere (even a different repo), and still, pulling the parent down would cause the "children" to appear in the right relative locations. HTH, -- Tommy
Then place your master pom directly under "parent" which has project A-C as checked-out subdirectories in it, together with the checked-out code. As long as you have POMs in these "subprojects" it will work. HTH Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
