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/21 08:23:00 UTC

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

    [ https://issues.apache.org/jira/browse/MNG-7413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495376#comment-17495376 ] 

Herve Boutemy commented on MNG-7413:
------------------------------------

this requires modello 2.0.0, that will require JDK 8 for building => post poning to Maven 3.9

> 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
>            Priority: Minor
>             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)