So I seem to finally understand how parent pom inheritance is supposed to work
authorJaroslav Tulach <jtulach@netbeans.org>
Thu, 07 May 2009 20:23:28 +0200
changeset 616cc37e93c83ef
parent 615 9807154f883c
child 617 505ab5c29198
So I seem to finally understand how parent pom inheritance is supposed to work
anagramdemo/pom.xml
lookup/pom.xml
spring.lookup/pom.xml
     1.1 --- a/anagramdemo/pom.xml	Thu May 07 19:35:58 2009 +0200
     1.2 +++ b/anagramdemo/pom.xml	Thu May 07 20:23:28 2009 +0200
     1.3 @@ -5,6 +5,12 @@
     1.4    <groupId>org.apidesign</groupId>
     1.5    <artifactId>anagramdemo</artifactId>
     1.6    <version>2.0</version>
     1.7 +  <parent>
     1.8 +      <groupId>org.apidesign</groupId>
     1.9 +      <artifactId>all-lookup</artifactId>
    1.10 +      <relativePath>..</relativePath>
    1.11 +      <version>2.0</version>
    1.12 +  </parent>
    1.13    <modules>
    1.14      <module>anagrambase</module>
    1.15      <module>staticwordlibrary</module>
     2.1 --- a/lookup/pom.xml	Thu May 07 19:35:58 2009 +0200
     2.2 +++ b/lookup/pom.xml	Thu May 07 20:23:28 2009 +0200
     2.3 @@ -6,6 +6,12 @@
     2.4    <packaging>jar</packaging>
     2.5    <version>7.22.0</version>
     2.6    <url>http://lookup.apidesign.org</url>
     2.7 +  <parent>
     2.8 +      <groupId>org.apidesign</groupId>
     2.9 +      <artifactId>all-lookup</artifactId>
    2.10 +      <relativePath>..</relativePath>
    2.11 +      <version>2.0</version>
    2.12 +  </parent>
    2.13    <ciManagement>
    2.14        <system>hudson</system>
    2.15        <url>http://hudson.apidesign.org/hudson/job/lookup</url>
    2.16 @@ -16,30 +22,11 @@
    2.17    </issueManagement>
    2.18    <mailingLists>
    2.19        <mailingList>
    2.20 +          <name>Using the NetBeans Platform</name>
    2.21            <archive>http://openide.netbeans.org/servlets/SummarizeList?listName=dev</archive>
    2.22            <post>dev@openide.netbeans.org</post>
    2.23        </mailingList>
    2.24    </mailingLists>
    2.25 -  <scm>
    2.26 -      <connection>scm:hg:http://source.apidesign.org/hg/lookup</connection>
    2.27 -      <url>http://source.apidesign.org/hg/lookup</url>
    2.28 -  </scm>
    2.29 -  <licenses>
    2.30 -    <license>
    2.31 -        <name>GPL 2 with classpath Exception</name>
    2.32 -        <url>http://www.openjdk.org/legal/gplv2+ce.html</url>
    2.33 -        <distribution>repo</distribution>
    2.34 -    </license>
    2.35 -    <license>
    2.36 -        <name>CDDL 1</name>
    2.37 -        <url>http://www.sun.com/cddl/cddl.html</url>
    2.38 -        <distribution>repo</distribution>
    2.39 -    </license>
    2.40 -  </licenses>
    2.41 -  <organization>
    2.42 -      <name>API Design</name>
    2.43 -      <url>http://apidesign.org</url>
    2.44 -  </organization>
    2.45      <build>
    2.46          <plugins>
    2.47              <plugin>
     3.1 --- a/spring.lookup/pom.xml	Thu May 07 19:35:58 2009 +0200
     3.2 +++ b/spring.lookup/pom.xml	Thu May 07 20:23:28 2009 +0200
     3.3 @@ -5,6 +5,12 @@
     3.4    <artifactId>spring-lookup</artifactId>
     3.5    <packaging>jar</packaging>
     3.6    <version>1.2</version>
     3.7 +  <parent>
     3.8 +      <groupId>org.apidesign</groupId>
     3.9 +      <artifactId>all-lookup</artifactId>
    3.10 +      <relativePath>..</relativePath>
    3.11 +      <version>2.0</version>
    3.12 +  </parent>
    3.13    <name>Bridge between Spring and Lookup</name>
    3.14    <url>http://wiki.apidesign.org/wiki/LookupAndSpring</url>
    3.15    <ciManagement>