You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2022/02/13 16:32:00 UTC

[jira] [Created] (MNG-7413) fix POM model documentation confusion on report plugins, distribution repository and profile build

Herve Boutemy created MNG-7413:
----------------------------------

             Summary: 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
             Fix For: 3.8.5


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)