You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rodrigo Madera <ro...@gmail.com> on 2008/02/27 03:57:42 UTC

Multi-module lack of inheritance

I have a project layout like this:

myapp
        pom.xml (packaging = pom, name = MyApp Parent)

        api
                pom.xml (packaging = jar, name = MyApp API)
        core
                pom.xml (packaging = jar, name = MyApp Core)
        extensions
                pom.xml (packaging = pom, name = MyApp Extensions Parent)

                myextension
                        pom.xml (packaging = jar, name = MyApp MyExtension)

The problem is that extensions/pom.xml is *not* inheriting basic (and
needed) stuff from myapp/pom.xml.

Any clues?

Thank you for your attention,
Rodrigo

Re: Multi-module lack of inheritance

Posted by Rodrigo Madera <ro...@gmail.com>.
I'm telling you... you should code for more than 16 hours straight!! =p

Thanks Olivier, sorry guys for such a basic error on the list.

Regards,
Rodrigo

On Wed, Feb 27, 2008 at 3:04 AM, Olivier Dehon <od...@gmail.com> wrote:

> Does extensions/pom.xml define myapp/pom.xml as its parent in the
> <parent> section?
>
> -Olivier
>
> On Wed, 2008-02-27 at 02:57 +0000, Rodrigo Madera wrote:
> > I have a project layout like this:
> >
> > myapp
> >         pom.xml (packaging = pom, name = MyApp Parent)
> >
> >         api
> >                 pom.xml (packaging = jar, name = MyApp API)
> >         core
> >                 pom.xml (packaging = jar, name = MyApp Core)
> >         extensions
> >                 pom.xml (packaging = pom, name = MyApp Extensions
> Parent)
> >
> >                 myextension
> >                         pom.xml (packaging = jar, name = MyApp
> MyExtension)
> >
> > The problem is that extensions/pom.xml is *not* inheriting basic (and
> > needed) stuff from myapp/pom.xml.
> >
> > Any clues?
> >
> > Thank you for your attention,
> > Rodrigo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Multi-module lack of inheritance

Posted by Olivier Dehon <od...@gmail.com>.
Does extensions/pom.xml define myapp/pom.xml as its parent in the
<parent> section?

-Olivier

On Wed, 2008-02-27 at 02:57 +0000, Rodrigo Madera wrote:
> I have a project layout like this:
> 
> myapp
>         pom.xml (packaging = pom, name = MyApp Parent)
> 
>         api
>                 pom.xml (packaging = jar, name = MyApp API)
>         core
>                 pom.xml (packaging = jar, name = MyApp Core)
>         extensions
>                 pom.xml (packaging = pom, name = MyApp Extensions Parent)
> 
>                 myextension
>                         pom.xml (packaging = jar, name = MyApp MyExtension)
> 
> The problem is that extensions/pom.xml is *not* inheriting basic (and
> needed) stuff from myapp/pom.xml.
> 
> Any clues?
> 
> Thank you for your attention,
> Rodrigo


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