You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/04/01 04:58:39 UTC

Referring parent POM in child POM

Dear Maven users,
 
Newbie in M2; I have been using Ant for quite some time now, in Ant we can
refer / import another Ant build script using 'import' statement; I want to
know, how this could be accomplished in M2 ?
 
Thanks for your help in advance!
 
Regards, Jaikumar

BM__MailAutoSig_________________________________________

 

Jaikumar Sharma

Sr.Software Development Engineer

 

Barco Control Rooms

A-5, Sector - 5,

Noida. India 201 301.

Tel +91 120-2421-651 to 659  Ext.313

Fax+91 120 2421 691

 <http://www.barco.com/> http://www.barco.com

 <ma...@barco.com> mailto:jaikumar.sharma@barco.com

_________________________________________

 
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

Re: Referring parent POM in child POM

Posted by Alexandre Poitras <al...@gmail.com>.
I guess you want to use import to reuse common configuration which
usually done using a parent pom.

Unfortunately,  I think  there is no official guide yet but do a
search on parent pom in this list and you'll find tons of
informations. Basically, you just need to add a <parent/> element to
your pom and your project pom will inherit the parent pom
configuration values (those inheritable).


On 3/31/06, Sharma, Jaikumar <ja...@barco.com> wrote:
> Dear Maven users,
>
> Newbie in M2; I have been using Ant for quite some time now, in Ant we can
> refer / import another Ant build script using 'import' statement; I want to
> know, how this could be accomplished in M2 ?
>
> Thanks for your help in advance!
>
> Regards, Jaikumar
>
> BM__MailAutoSig_________________________________________
>
>
>
> Jaikumar Sharma
>
> Sr.Software Development Engineer
>
>
>
> Barco Control Rooms
>
> A-5, Sector - 5,
>
> Noida. India 201 301.
>
> Tel +91 120-2421-651 to 659  Ext.313
>
> Fax+91 120 2421 691
>
>  <http://www.barco.com/> http://www.barco.com
>
>  <ma...@barco.com> mailto:jaikumar.sharma@barco.com
>
> _________________________________________
>
>
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
>
>


--
Alexandre Poitras
Québec, Canada

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


Re: Referring parent POM in child POM

Posted by Wayne Fay <wa...@gmail.com>.
This is covered in the "Getting Started with Maven" documentation.
Specifically, jump down to the "Multiple Modules" section.
Essentially, you will need to use the <parent> tag in your children
poms.

http://maven.apache.org/getting-started.html

Wayne

On 3/31/06, Sharma, Jaikumar <ja...@barco.com> wrote:
> Dear Maven users,
>
> Newbie in M2; I have been using Ant for quite some time now, in Ant we can
> refer / import another Ant build script using 'import' statement; I want to
> know, how this could be accomplished in M2 ?
>
> Thanks for your help in advance!
>
> Regards, Jaikumar
>
> BM__MailAutoSig_________________________________________
>
>
>
> Jaikumar Sharma
>
> Sr.Software Development Engineer
>
>
>
> Barco Control Rooms
>
> A-5, Sector - 5,
>
> Noida. India 201 301.
>
> Tel +91 120-2421-651 to 659  Ext.313
>
> Fax+91 120 2421 691
>
>  <http://www.barco.com/> http://www.barco.com
>
>  <ma...@barco.com> mailto:jaikumar.sharma@barco.com
>
> _________________________________________
>
>
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
>
>