Re: Is it possible to override the location of a module?

2008-12-18 Thread Wayne Fay
> As part of a conversion from ant to maven I'm exploring the use of a
> multi-module project. Since this is a legacy project we'd rather not move
> things around. So the child modules will not necessarily be in directories
> directly beneath the parent pom. Is there any way to override this location
> in the parent pom's module section?

Yes. Here's an example of a child pom where the parent is in a
"neighbor" directory:
http://svn.apache.org/viewvc/maven/pom/tags/maven-parent-10/pom.xml?view=markup&pathrev=720662
../asf/pom.xml

And you can do similar things in .

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Is it possible to override the location of a module?

2008-12-17 Thread Matthew Jaskula
As part of a conversion from ant to maven I'm exploring the use of a
multi-module project. Since this is a legacy project we'd rather not move
things around. So the child modules will not necessarily be in directories
directly beneath the parent pom. Is there any way to override this location
in the parent pom's module section?

According to the blue box on this [0] page it is possible, but it doesn't
give any details, neither does the pom reference on the maven site or the
sonatype book.

This is one clear advantage of ant ­ the documentation for the standard
tasks are easy to find, in one place and complete. If maven's documentation
was as easy to reference transition would be a lot easier.

[0] http://docs.codehaus.org/display/MAVENUSER/Multi-modules+projects

Thanks. 

Matthew Jaskula
mjask...@nyx.com



Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.