maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolfgang Fahl (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MNG-6189) WARN if maven-site-plugin configuration contains reportPlugins element
Date Sat, 14 Oct 2017 08:24:00 GMT

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

Wolfgang Fahl edited comment on MNG-6189 at 10/14/17 8:23 AM:
--------------------------------------------------------------

When getting the message:

Some problems were encountered while building the effective model for ...
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin
<configuration> as reportPlugins parameter. @ line ... column ...
[WARNING] 

a search egine search points here. This is very infortunate since for maven users this might
be all greek. It would be great to have some simple configuration examples and an answer to
the stackoverflow question below:

See:
https://stackoverflow.com/questions/46742407/some-problems-were-encountered-while-building-the-effective-model-for



was (Author: wolfgangfahl):
When getting the message:

Some problems were encountered while building the effective model for ...
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin
<configuration> as reportPlugins parameter. @ line ... column ...
[WARNING] 

as search egine search points here. This is very infortunate since for maven users this might
be all greek. It would be great to have some simple configuration examples and an answer to
the stackoverflow question below:

See:
https://stackoverflow.com/questions/46742407/some-problems-were-encountered-while-building-the-effective-model-for


> WARN if maven-site-plugin configuration contains reportPlugins element
> ----------------------------------------------------------------------
>
>                 Key: MNG-6189
>                 URL: https://issues.apache.org/jira/browse/MNG-6189
>             Project: Maven
>          Issue Type: Improvement
>          Components: Inheritance and Interpolation, Sites & Reporting
>    Affects Versions: 3.5.0-alpha-1
>            Reporter: Hervé Boutemy
>            Assignee: Hervé Boutemy
>             Fix For: 3.5.0-beta-1, 3.5.0
>
>
> with MNG-4162, a bunch of reporting logic was removed from Maven core.
> This was globally successful, but not on one topic: it was expected to remove pom's {{reporting}}
section and replace it with a normal {{reportPlugins}} parameter in maven-site-plugin configuration.
> We later discovered that with this normal parameter, we missed one crucial feature: report
plugins inheritance, which would require a new mechanism MSITE-484
> Then we reverted our instructions in maven-site-plugin documentation MSITE-647: the new
{{reportPlugins}} parameter is now just an implementation detail, but should not be used by
end-users, {{reporting}} section remains the way to configure report plugins MSITE-684
> Now adding a warning in Maven core when it detects a {{reportPlugins}} parameter in a
maven-site-plugin configuration is easy to do, will help users come back to normal {{reporting}}
configuration, and will permit future enhancements (we need to finally completely clean-up
the situation we created with this story...)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message