If you set up <modules> correctly, yes, this should work. It won't build *only* the dir1/dir2/pom.xml project, if that's what you want, but rather all 3 projects (root, dir1, dir2).
pom.xml <modules><module>dir1</module></modules> dir1/pom.xml <modules><module>dir2</module></modules> You should probably also include <parent> nodes in dir1 and dir2 poms. Wayne On 1/14/08, Labanca, Rick <[EMAIL PROTECTED]> wrote: > > I've got a messy maven 1 multiproject setup that I want to avoid tearing > apart as I go to maven 2. One thing I can't really do is change do a dir > and build because of the way the parent versioning works. > > That aside, I use module now at the top. Can I mvn and specify building > just the one module? Or maybe module is wrong? How would I do this: > > pom.xml > dir1/pom.xml > dir1/dir2/pom.xml > > Can I from the top directory cause dir1/dir2/pom.xml project to build? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
