You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2008/09/12 12:39:30 UTC

svn commit: r694674 - /maven/site/trunk/src/site/apt/pom.apt

Author: hboutemy
Date: Fri Sep 12 03:39:29 2008
New Revision: 694674

URL: http://svn.apache.org/viewvc?rev=694674&view=rev
Log:
added links to inheritance and aggregation examples taken from Maven itself

Modified:
    maven/site/trunk/src/site/apt/pom.apt

Modified: maven/site/trunk/src/site/apt/pom.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/pom.apt?rev=694674&r1=694673&r2=694674&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/pom.apt (original)
+++ maven/site/trunk/src/site/apt/pom.apt Fri Sep 12 03:39:29 2008
@@ -481,6 +481,10 @@
   to Maven to first search the path given for this project's parent, before searching the
   local and then remote repositories.
 
+  To see inheritance in action, just have a look at the
+  {{{http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup}ASF}} or
+  {{{http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?view=markup}Maven}} parent POM's. 
+
 *** {The Super POM}
 
   Similar to the inheritance of objects in object oriented programming, POMs that extend
@@ -538,11 +542,16 @@
   ordering of the modules given by the POM is not important. Maven will topologically sort the modules
   such that dependencies are always build before dependent modules.
 
+  To see aggregation in action, just have a look at the
+  {{{http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=markup}Maven}} or
+  {{{http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?view=markup}Maven Core Plugins}} base POM's. 
+
 *** A final note on {Inheritance v}. Aggregation
 
   Inheritance and aggregation create a nice dynamic to control builds through a single,
   high-level POM. You will often see projects that are both parents and aggregators.
-  For example, the entire maven core runs through a single base POM <<<org.apache.maven:maven>>>,
+  For example, the entire maven core runs through a single base POM
+  {{{http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=markup}<<<org.apache.maven:maven>>>}},
   so building the Maven project can be executed by a single command: <<<mvn compile>>>.
   However, although both POM projects, an aggregator project and a parent project are not
   one in the same and should not be confused. A POM project may be inherited from - but does