>I have something like this
>
>project
>|-module1
>|-module2
>|-module3

If you have something like this, have you defined a parent POM in your 
project directory?  If you have, then you can compile module 2 by running 
"mvn compile" in your module2 directory.  Please refer to this thread: 
http://www.nabble.com/-m2-parent-pom-t1021082.html for instructions on how 
to set up a parent/child hierarchy.


_Mang Lau





Eugeny N Dzhurinsky <[EMAIL PROTECTED]> 
02/13/2006 03:07 AM
Please respond to
"Maven Users List" <[email protected]>


To
Maven Users List <[email protected]>
cc

Subject
Re: Newbie question






On Sun, Feb 12, 2006 at 04:32:15PM -0500, Alexandre Poitras wrote:
> For instance 'mvn compile' will compile all the child modules while
> taking care of their interdependencies.

I don't need to build entire project, i just want to build module2 :(
How could I specify dependency of the module at the same hierarchy level?

-- 
Eugene N Dzhurinsky

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


Reply via email to