Just run compile on your parent project and everything will work fine.

On 2/13/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 13, 2006 at 10:21:15AM -0500, Mang Jun Lau wrote:
> > >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.
>
> I need to compile module2, which depends on module1, i.e sources in module2
> have imports of packages defined in module1
>
> --
> Eugene N Dzhurinsky
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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

Reply via email to