Skip to content

Commit 35d8d0e

Browse files
authored
Clarify that packaging is never inherited
1 parent dcf3d70 commit 35d8d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

maven-model-builder/src/site/apt/index.apt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Maven Model Builder
120120
({{{./xref/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.html}source}}).
121121

122122
By default, every model field is inherited as-is from parent, with a few exceptions that are intentionally not inherited:
123-
<<<modelVersion>>>, <<<artifactId>>>, <<<profiles>>> (injected in phase 1) and <<<prerequisites>>>.
123+
<<<modelVersion>>>, <<<artifactId>>>, <<<packaging>>>, <<<profiles>>> (injected in phase 1) and <<<prerequisites>>>.
124124

125125
Notice that the 5 URLs from the model (<<<project.url>>>, <<<project.scm.connection>>>, <<<project.scm.developerConnection>>>,
126126
<<<project.scm.url>>> and <<<project.distributionManagement.site.url>>>) have a special inheritance handling:

0 commit comments

Comments
 (0)