Re: How to define a parent POM in a company wide.
I got it!Thanks for christian domsch's warm heart! 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > Take a look at the svn repository for maven. Start here and then follow > around: > > http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup > http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?view=markup > http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=markup > > -- > christian domsch > [software developer] > > > > innoWake gmbh > innovative.software.development(); > graf-arco-strasse 18 | 89079 ulm-donautal > fon: +49 (0)7 31 - 5 50 27 - 0 > fax: +49 (0)7 31 - 5 50 27 - 20 > [EMAIL PROTECTED] > www.innowake.de > > > innoWake gmbh hrb ulm 4584 > geschäftsführer: thorsten bernecker > > This e-mail may contain confidential information. If you are not the > intended recipient please notify the sender immediately and destroy this > e-mail. > -Ursprüngliche Nachricht- > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 12. September 2008 11:00 > An: Maven Users List > Betreff: Re: How to define a parent POM in a company wide. > > can you give me a specific exmaple URL ,so i can understand this > efficiently,Thanks! > > 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > > > Thats the standard way. Why is this tricky? Maybe I explained to > > complicated. > > > > You have a parent pom (where you place it is rather irrelevant): > > > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > > http://www.w3.org/2001/XMLSchema-instance"; > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/maven-v4_0_0.xsd";> > >4.0.0 > >#a groupt for the parent pom > ># an artifact id for the parent pom > >1.0.0-SNAPSHOT > >pom > >Global parent pom > >... > >dependencies > >build definitions > >profiles > >plugins > >distribution definitions... > > > > > > This is the way how maven works with configuring global > > configurations. You can create very precise configuration hierarchies for > all your projects. > > Look at the apache and codehaus projects, they show how this can be > > done very efficently. > > > > -- > > christian domsch > > [software developer] > > > > > > > > innoWake gmbh > > innovative.software.development(); > > graf-arco-strasse 18 | 89079 ulm-donautal > > fon: +49 (0)7 31 - 5 50 27 - 0 > > fax: +49 (0)7 31 - 5 50 27 - 20 > > [EMAIL PROTECTED] > > www.innowake.de > > > > > > innoWake gmbh hrb ulm 4584 > > geschäftsführer: thorsten bernecker > > > > This e-mail may contain confidential information. If you are not the > > intended recipient please notify the sender immediately and destroy > > this e-mail. > > -Ursprüngliche Nachricht- > > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 12. September 2008 10:32 > > An: Maven Users List > > Betreff: Re: How to define a parent POM in a company wide. > > > > that's a tricky way to solve this problem, does maven provide some > > mechanism to do this? > > > > 2008/9/12 christian domsch (innoWake gmbh) > > <[EMAIL PROTECTED]> > > > > > Hi, > > > > > > This is done by creating a POM-Project. You just create a normal > > > project with just a pom in it. The type here is pom and there you > > > configurate all your stuff, installed (or deploy) it in the > > > repository and now you can use it as a parent pom. > > > > > > > > > -- > > > christian domsch > > > [software developer] > > > > > > > > > > > > innoWake gmbh > > > innovative.software.development(); > > > graf-arco-strasse 18 | 89079 ulm-donautal > > > fon: +49 (0)7 31 - 5 50 27 - 0 > > > fax: +49 (0)7 31 - 5 50 27 - 20 > > > [EMAIL PROTECTED] > > > www.innowake.de > > > > > > > > > innoWake gmbh hrb ulm 4584 > > > geschäftsführer: thorsten bernecker > > > > > > This e-mail may contain confidential information. If you are not the > > > intended recipient please notify the sender immediately and destroy > > > this e-mail. > > > -Ursprüngliche Nachricht- > > > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > > > Gesendet: Freitag, 12. September 2008 10:16 > > > An: users@maven.apache.org > > > Betreff: How to define a parent POM in a company wide. > > > > > > we use Maven in our company, but there are some plugin config like > > > source plugin ,compile plugin we'd like to define for everyone, > > > there is a Super POM concept in Maven , can anybody tell me how to > config it? > > > > > >
AW: How to define a parent POM in a company wide.
Take a look at the svn repository for maven. Start here and then follow around: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?view=markup http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=markup -- christian domsch [software developer] innoWake gmbh innovative.software.development(); graf-arco-strasse 18 | 89079 ulm-donautal fon: +49 (0)7 31 - 5 50 27 - 0 fax: +49 (0)7 31 - 5 50 27 - 20 [EMAIL PROTECTED] www.innowake.de innoWake gmbh hrb ulm 4584 geschäftsführer: thorsten bernecker This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. -Ursprüngliche Nachricht- Von: 陈思淼 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. September 2008 11:00 An: Maven Users List Betreff: Re: How to define a parent POM in a company wide. can you give me a specific exmaple URL ,so i can understand this efficiently,Thanks! 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > Thats the standard way. Why is this tricky? Maybe I explained to > complicated. > > You have a parent pom (where you place it is rather irrelevant): > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd";> >4.0.0 >#a groupt for the parent pom ># an artifact id for the parent pom >1.0.0-SNAPSHOT >pom >Global parent pom >... >dependencies >build definitions >profiles >plugins >distribution definitions... > > > This is the way how maven works with configuring global > configurations. You can create very precise configuration hierarchies for all > your projects. > Look at the apache and codehaus projects, they show how this can be > done very efficently. > > -- > christian domsch > [software developer] > > > > innoWake gmbh > innovative.software.development(); > graf-arco-strasse 18 | 89079 ulm-donautal > fon: +49 (0)7 31 - 5 50 27 - 0 > fax: +49 (0)7 31 - 5 50 27 - 20 > [EMAIL PROTECTED] > www.innowake.de > > > innoWake gmbh hrb ulm 4584 > geschäftsführer: thorsten bernecker > > This e-mail may contain confidential information. If you are not the > intended recipient please notify the sender immediately and destroy > this e-mail. > -Ursprüngliche Nachricht- > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 12. September 2008 10:32 > An: Maven Users List > Betreff: Re: How to define a parent POM in a company wide. > > that's a tricky way to solve this problem, does maven provide some > mechanism to do this? > > 2008/9/12 christian domsch (innoWake gmbh) > <[EMAIL PROTECTED]> > > > Hi, > > > > This is done by creating a POM-Project. You just create a normal > > project with just a pom in it. The type here is pom and there you > > configurate all your stuff, installed (or deploy) it in the > > repository and now you can use it as a parent pom. > > > > > > -- > > christian domsch > > [software developer] > > > > > > > > innoWake gmbh > > innovative.software.development(); > > graf-arco-strasse 18 | 89079 ulm-donautal > > fon: +49 (0)7 31 - 5 50 27 - 0 > > fax: +49 (0)7 31 - 5 50 27 - 20 > > [EMAIL PROTECTED] > > www.innowake.de > > > > > > innoWake gmbh hrb ulm 4584 > > geschäftsführer: thorsten bernecker > > > > This e-mail may contain confidential information. If you are not the > > intended recipient please notify the sender immediately and destroy > > this e-mail. > > -Ursprüngliche Nachricht- > > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 12. September 2008 10:16 > > An: users@maven.apache.org > > Betreff: How to define a parent POM in a company wide. > > > > we use Maven in our company, but there are some plugin config like > > source plugin ,compile plugin we'd like to define for everyone, > > there is a Super POM concept in Maven , can anybody tell me how to config > > it? > > >
Re: How to define a parent POM in a company wide.
The "parent POM"/"child POM" mechanism is explained in Maven documentation. See the POM reference page about "multi-module", "aggregation" and/or "inheritance": http://maven.apache.org/pom.html BR, *Olivier Gies* *Delivery Manager Customs & Tax Software Engineering Center Bull, Architect of an Open World ^TM Phone: +86 (10) 65978001 - Ext 555 * *www.bull.com <http://www.bull.com/>* *This e-mail contains material that is confidential for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.* -------- Original Message ---- Subject: Re: How to define a parent POM in a company wide. From: 陈思淼 <[EMAIL PROTECTED]> To: Maven Users List Date: 12/09/2008 17:01 can you give me a specific exmaple URL ,so i can understand this efficiently,Thanks! 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> Thats the standard way. Why is this tricky? Maybe I explained to complicated. You have a parent pom (where you place it is rather irrelevant): http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 #a groupt for the parent pom # an artifact id for the parent pom 1.0.0-SNAPSHOT pom Global parent pom ... dependencies build definitions profiles plugins distribution definitions... This is the way how maven works with configuring global configurations. You can create very precise configuration hierarchies for all your projects. Look at the apache and codehaus projects, they show how this can be done very efficently. -- christian domsch [software developer] innoWake gmbh innovative.software.development(); graf-arco-strasse 18 | 89079 ulm-donautal fon: +49 (0)7 31 - 5 50 27 - 0 fax: +49 (0)7 31 - 5 50 27 - 20 [EMAIL PROTECTED] www.innowake.de innoWake gmbh hrb ulm 4584 geschäftsführer: thorsten bernecker This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. -Ursprüngliche Nachricht- Von: 陈思淼 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. September 2008 10:32 An: Maven Users List Betreff: Re: How to define a parent POM in a company wide. that's a tricky way to solve this problem, does maven provide some mechanism to do this? 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> Hi, This is done by creating a POM-Project. You just create a normal project with just a pom in it. The type here is pom and there you configurate all your stuff, installed (or deploy) it in the repository and now you can use it as a parent pom. -- christian domsch [software developer] innoWake gmbh innovative.software.development(); graf-arco-strasse 18 | 89079 ulm-donautal fon: +49 (0)7 31 - 5 50 27 - 0 fax: +49 (0)7 31 - 5 50 27 - 20 [EMAIL PROTECTED] www.innowake.de innoWake gmbh hrb ulm 4584 geschäftsführer: thorsten bernecker This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. -Ursprüngliche Nachricht- Von: 陈思淼 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. September 2008 10:16 An: users@maven.apache.org Betreff: How to define a parent POM in a company wide. we use Maven in our company, but there are some plugin config like source plugin ,compile plugin we'd like to define for everyone, there is a Super POM concept in Maven , can anybody tell me how to config it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to define a parent POM in a company wide.
can you give me a specific exmaple URL ,so i can understand this efficiently,Thanks! 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > Thats the standard way. Why is this tricky? Maybe I explained to > complicated. > > You have a parent pom (where you place it is rather irrelevant): > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd";> >4.0.0 >#a groupt for the parent pom ># an artifact id for the parent pom >1.0.0-SNAPSHOT >pom >Global parent pom >... >dependencies >build definitions >profiles >plugins >distribution definitions... > > > This is the way how maven works with configuring global configurations. You > can create very precise configuration hierarchies for all your projects. > Look at the apache and codehaus projects, they show how this can be done > very efficently. > > -- > christian domsch > [software developer] > > > > innoWake gmbh > innovative.software.development(); > graf-arco-strasse 18 | 89079 ulm-donautal > fon: +49 (0)7 31 - 5 50 27 - 0 > fax: +49 (0)7 31 - 5 50 27 - 20 > [EMAIL PROTECTED] > www.innowake.de > > > innoWake gmbh hrb ulm 4584 > geschäftsführer: thorsten bernecker > > This e-mail may contain confidential information. If you are not the > intended recipient please notify the sender immediately and destroy this > e-mail. > -----Ursprüngliche Nachricht- > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 12. September 2008 10:32 > An: Maven Users List > Betreff: Re: How to define a parent POM in a company wide. > > that's a tricky way to solve this problem, does maven provide some > mechanism to do this? > > 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > > > Hi, > > > > This is done by creating a POM-Project. You just create a normal > > project with just a pom in it. The type here is pom and there you > > configurate all your stuff, installed (or deploy) it in the repository > > and now you can use it as a parent pom. > > > > > > -- > > christian domsch > > [software developer] > > > > > > > > innoWake gmbh > > innovative.software.development(); > > graf-arco-strasse 18 | 89079 ulm-donautal > > fon: +49 (0)7 31 - 5 50 27 - 0 > > fax: +49 (0)7 31 - 5 50 27 - 20 > > [EMAIL PROTECTED] > > www.innowake.de > > > > > > innoWake gmbh hrb ulm 4584 > > geschäftsführer: thorsten bernecker > > > > This e-mail may contain confidential information. If you are not the > > intended recipient please notify the sender immediately and destroy > > this e-mail. > > -Ursprüngliche Nachricht- > > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 12. September 2008 10:16 > > An: users@maven.apache.org > > Betreff: How to define a parent POM in a company wide. > > > > we use Maven in our company, but there are some plugin config like > > source plugin ,compile plugin we'd like to define for everyone, there > > is a Super POM concept in Maven , can anybody tell me how to config it? > > >
AW: How to define a parent POM in a company wide.
Thats the standard way. Why is this tricky? Maybe I explained to complicated. You have a parent pom (where you place it is rather irrelevant): http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 #a groupt for the parent pom # an artifact id for the parent pom 1.0.0-SNAPSHOT pom Global parent pom ... dependencies build definitions profiles plugins distribution definitions... This is the way how maven works with configuring global configurations. You can create very precise configuration hierarchies for all your projects. Look at the apache and codehaus projects, they show how this can be done very efficently. -- christian domsch [software developer] innoWake gmbh innovative.software.development(); graf-arco-strasse 18 | 89079 ulm-donautal fon: +49 (0)7 31 - 5 50 27 - 0 fax: +49 (0)7 31 - 5 50 27 - 20 [EMAIL PROTECTED] www.innowake.de innoWake gmbh hrb ulm 4584 geschäftsführer: thorsten bernecker This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. -Ursprüngliche Nachricht- Von: 陈思淼 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. September 2008 10:32 An: Maven Users List Betreff: Re: How to define a parent POM in a company wide. that's a tricky way to solve this problem, does maven provide some mechanism to do this? 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > Hi, > > This is done by creating a POM-Project. You just create a normal > project with just a pom in it. The type here is pom and there you > configurate all your stuff, installed (or deploy) it in the repository > and now you can use it as a parent pom. > > > -- > christian domsch > [software developer] > > > > innoWake gmbh > innovative.software.development(); > graf-arco-strasse 18 | 89079 ulm-donautal > fon: +49 (0)7 31 - 5 50 27 - 0 > fax: +49 (0)7 31 - 5 50 27 - 20 > [EMAIL PROTECTED] > www.innowake.de > > > innoWake gmbh hrb ulm 4584 > geschäftsführer: thorsten bernecker > > This e-mail may contain confidential information. If you are not the > intended recipient please notify the sender immediately and destroy > this e-mail. > -Ursprüngliche Nachricht----- > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 12. September 2008 10:16 > An: users@maven.apache.org > Betreff: How to define a parent POM in a company wide. > > we use Maven in our company, but there are some plugin config like > source plugin ,compile plugin we'd like to define for everyone, there > is a Super POM concept in Maven , can anybody tell me how to config it? >
Re: How to define a parent POM in a company wide.
that's a tricky way to solve this problem, does maven provide some mechanism to do this? 2008/9/12 christian domsch (innoWake gmbh) <[EMAIL PROTECTED]> > Hi, > > This is done by creating a POM-Project. You just create a normal project > with just a pom in it. The type here is pom and there you configurate all > your stuff, installed (or deploy) it in the repository and now you can use > it as a parent pom. > > > -- > christian domsch > [software developer] > > > > innoWake gmbh > innovative.software.development(); > graf-arco-strasse 18 | 89079 ulm-donautal > fon: +49 (0)7 31 - 5 50 27 - 0 > fax: +49 (0)7 31 - 5 50 27 - 20 > [EMAIL PROTECTED] > www.innowake.de > > > innoWake gmbh hrb ulm 4584 > geschäftsführer: thorsten bernecker > > This e-mail may contain confidential information. If you are not the > intended recipient please notify the sender immediately and destroy this > e-mail. > -Ursprüngliche Nachricht- > Von: 陈思淼 [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 12. September 2008 10:16 > An: users@maven.apache.org > Betreff: How to define a parent POM in a company wide. > > we use Maven in our company, but there are some plugin config like source > plugin ,compile plugin we'd like to define for everyone, there is a Super > POM concept in Maven , can anybody tell me how to config it? >
AW: How to define a parent POM in a company wide.
Hi, This is done by creating a POM-Project. You just create a normal project with just a pom in it. The type here is pom and there you configurate all your stuff, installed (or deploy) it in the repository and now you can use it as a parent pom. -- christian domsch [software developer] innoWake gmbh innovative.software.development(); graf-arco-strasse 18 | 89079 ulm-donautal fon: +49 (0)7 31 - 5 50 27 - 0 fax: +49 (0)7 31 - 5 50 27 - 20 [EMAIL PROTECTED] www.innowake.de innoWake gmbh hrb ulm 4584 geschäftsführer: thorsten bernecker This e-mail may contain confidential information. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. -Ursprüngliche Nachricht- Von: 陈思淼 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. September 2008 10:16 An: users@maven.apache.org Betreff: How to define a parent POM in a company wide. we use Maven in our company, but there are some plugin config like source plugin ,compile plugin we'd like to define for everyone, there is a Super POM concept in Maven , can anybody tell me how to config it?