You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by stanislav lyahnovich <st...@gmail.com> on 2005/10/20 14:29:21 UTC

[m2] pom repositories

when I specify repositories element in parent pom.xml and build it's 
<modules/> all work fine, maven checks repositories specified in 
pom.xml. But when I fall down to child project that refers to parent 
pom.xml and run build on child pom maven doesn't check repositories 
specified in parent pom.
Is it right?

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


Re: [m2] pom repositories

Posted by stanislav lyahnovich <st...@gmail.com>.
Yes, i have <parent> element in my child pom.

 On 10/21/05, Edwin Punzalan <ep...@exist.com> wrote:
>
> Aside from declaring <modules> in the parent pom.xml, you should also
> put <parent> in the child poms.
>
> Have you done that?
>
>
>
> stanislav lyahnovich wrote:
>
> > when I specify repositories element in parent pom.xml and build it's
> > <modules/> all work fine, maven checks repositories specified in
> > pom.xml. But when I fall down to child project that refers to parent
> > pom.xml and run build on child pom maven doesn't check repositories
> > specified in parent pom.
> > Is it right?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
Best, regards
Lyahnovich,Stanislav

Re: [m2] pom repositories

Posted by Edwin Punzalan <ep...@exist.com>.
Aside from declaring <modules> in the parent pom.xml,  you should also 
put <parent> in the child poms.

Have you done that?



stanislav lyahnovich wrote:

> when I specify repositories element in parent pom.xml and build it's 
> <modules/> all work fine, maven checks repositories specified in 
> pom.xml. But when I fall down to child project that refers to parent 
> pom.xml and run build on child pom maven doesn't check repositories 
> specified in parent pom.
> Is it right?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

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