Hi Lachlan,

On Wed, Apr 23, 2008 at 2:24 AM, Lachlan Deck <[EMAIL PROTECTED]> wrote:
>  Okay - making progress...
>
>  If I create a maven-archetype-j2ee-simple, cd into the dir, comment out the
> site module from the parent pom and do 'mvn package' it all works without
> having to install the sub-modules.
>
>  However, with my structure it doesn't grab the jars from the sub-modules
> for the app - but complains that they're not installed. The app (with
> packaging = woapplication) fails to build.

Does it fail because Maven cannot find a dependency? Or is it another problem?

>
>  What am I missing? What's the 'trick' for making this work?
>

Have you tried "mvn clean install" in the parent module? The package
goal doesn't install the jars into the your local repository.

Have you declared the sub-module dependency in your application pom.xml?

Cheers,

Henrique

>  with regards,
>  --
>
>  Lachlan Deck
>
>
>
>

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

Reply via email to