[ 
https://issues.apache.org/jira/browse/MNG-7413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed MNG-7413.
------------------------------
    Fix Version/s: 4.0.0-alpha-1
                   4.0.0
       Resolution: Fixed

merged in 
https://github.com/apache/maven/commit/88d29675ae2a0998d5be134c7941e8fd6aa706bd 
for 3.9.x and 
https://github.com/apache/maven/commit/e85ff889b333b82da20b988fbb42bdbfdb814545 
for master

> Fix POM model documentation confusion on report plugins, distribution 
> repository and profile build
> --------------------------------------------------------------------------------------------------
>
>                 Key: MNG-7413
>                 URL: https://issues.apache.org/jira/browse/MNG-7413
>             Project: Maven
>          Issue Type: Bug
>          Components: Documentation:  General, POM
>    Affects Versions: 3.8.4
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Minor
>             Fix For: 3.9.0, 4.0.0-alpha-1, 4.0.0
>
>
> after upgrading Modello to 2.0.0, it detected following conflicts in POM 
> documentation:
> {noformat}
> [warn] model class repository/org.apache.maven.model.Repository with tagName 
> repository gets duplicate anchorName class_repository, conflicting with model 
> class repository/org.apache.maven.model.DeploymentRepository
> [warn] model class plugin/org.apache.maven.model.ReportPlugin with tagName 
> plugin gets duplicate anchorName class_plugin, conflicting with model class 
> plugin/org.apache.maven.model.Plugin
> [warn] model class build/org.apache.maven.model.BuildBase with tagName build 
> gets duplicate anchorName class_build, conflicting with model class 
> build/org.apache.maven.model.Build
> {noformat}
> it corresponds to:
> - "repository" link 
> https://maven.apache.org/ref/3.6.3/maven-model/maven.html#class_repository is 
> the same for project/repository, but also for 
> distributionManagement/repository which does not have same fields
> - "plugin" link 
> https://maven.apache.org/ref/3.6.3/maven-model/maven.html#class_plugin is the 
> same from build plugin but also report plugin which does not have same fields
> - 'build" link 
> https://maven.apache.org/ref/3.6.3/maven-model/maven.html#class_build is for 
> build and profile/build



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to