You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2023/12/21 09:32:29 UTC

(maven-site) branch feature/clarify-url-inheritance created (now 1a31b696)

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a change to branch feature/clarify-url-inheritance
in repository https://gitbox.apache.org/repos/asf/maven-site.git


      at 1a31b696 [MNG-6059] clarify URL inheritance

This branch includes the following new commits:

     new 1a31b696 [MNG-6059] clarify URL inheritance

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-site) 01/01: [MNG-6059] clarify URL inheritance

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/clarify-url-inheritance
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 1a31b696ed93bebea5c6fffbb4930fa8ed9a5056
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Dec 21 10:32:23 2023 +0100

    [MNG-6059] clarify URL inheritance
    
    Fix some links, add reference to special plugin configuration
    inheritance attributes
---
 content/apt/pom.apt.vm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm
index 2380e3ef..af5fbc69 100644
--- a/content/apt/pom.apt.vm
+++ b/content/apt/pom.apt.vm
@@ -563,7 +563,7 @@ Display parameters as parsed by Maven (in canonical form and as a list of tokens
 </project>
 +-----------------------------+
 
-  The <<<packaging>>> type required to be <<<pom>>> for
+  The <<<packaging>>> type is required to be <<<pom>>> for
   <parent> and <aggregation> (multi-module) projects. These types define the goals bound
   to a set of lifecycle stages. For example, if packaging is <<<jar>>>, then the
   <<<package>>> phase will execute the <<<jar:jar>>> goal. Now we may add values to the
@@ -650,8 +650,12 @@ Display parameters as parsed by Maven (in canonical form and as a list of tokens
   local and then remote repositories.
 
   To see inheritance in action, just have a look at the
-  {{{https://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup}ASF}} or
-  {{{https://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?view=markup}Maven}} parent POM's.
+  {{{https://github.com/apache/maven-apache-parent/blob/master/pom.xml}ASF}} or
+  {{{https://github.com/apache/maven-parent/blob/master/pom.xml}Maven}} parent POM's.
+  
+  Detailed inheritance rules are outlined in {{{https://maven.apache.org/ref/3-LATEST/maven-model-builder/index.html#Inheritance_Assembly}Maven Model Builder}}.
+  All URLs are transformed when being inherited by default. The other ones are just inherited as is.
+  For plugin configuration you can overwrite the inheritance behaviour with the attributes <<<combine.children>>> or <<<combine.self>>> outlined in {{{plugins}Plugins}}.
 
 *** {The Super POM}
 
@@ -719,8 +723,7 @@ Display parameters as parsed by Maven (in canonical form and as a list of tokens
   such that dependencies are always build before dependent modules.
 
   To see aggregation in action, have a look at the
-  {{{https://svn.apache.org/viewvc/maven/maven-3/trunk/pom.xml?view=markup}Maven}} or
-  {{{https://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?view=markup}Maven Core Plugins}} base POM's.
+  {{{https://github.com/apache/maven/blob/master/pom.xml}Maven}} base POM.
 
 *** A final note on {Inheritance v. Aggregation}