« Return to Thread: Re: child modules can not import parent source code

Re: child modules can not import parent source code

by Milos Kleint-2 :: Rate this Message:

Reply to Author | View in Thread

Not sure I understand the question, but yes. that's how maven works.
if you build a submoduleA that has some other submoduleB on classpath,
submoduleB doesn't get built. you have to build the parent pom X that
has both A and B in <modules> section.
In the future this might be tackled by maven itself better, a few
weeks back someone created a maven-reactor-plugin at maven.apache.org
that shall help there with the problem. It's not properly integrated
to the IDE env and you would have to set it up yourself.

Milos



On Thu, Oct 16, 2008 at 2:32 PM, Culuculu <Brian@...> wrote:

>
> Hi, my environment :  netbean 6.5 beta  installed maven plugins  local maven
> 2.0.8
> it can not find parent source code when building child modules %-|
> --
> View this message in context: http://www.nabble.com/child-modules-can-not-import-parent-source-code-tp20012802p20012802.html
> Sent from the mevenide - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Re: child modules can not import parent source code