[ 
https://jira.codehaus.org/browse/MNG-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326339#comment-326339
 ] 

Jörg Sesterhenn commented on MNG-3385:
--------------------------------------

Please reopen this issue.

With reintroduction of the "classic" reporting configuration in 
maven-site-plugin 3.3 due to MSITE-684 as described 
[here|http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Classic_configuration_Maven_2__3],
 there has been a regression. Although I define the versions of all my 
report-plugins in plugin-management maven says:

[WARNING] Some problems were encountered while building the effective model for 
de.seu.maven:MyParentPOM:pom:1.2.2-SNAPSHOT
[WARNING] 'reporting.plugins.plugin.version' for 
org.codehaus.mojo:clirr-maven-plugin is missing. @ line 364, column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ line 
368, column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 372, column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ line 376, 
column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.codehaus.sonar-plugins:maven-report is missing. @ line 380, column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.apache.maven.plugins:maven-changes-plugin is missing. @ line 384, column 15
[WARNING] 'reporting.plugins.plugin.version' for 
org.apache.maven.plugins:maven-dependency-plugin is missing. @ line 414, column 
15

I second the vote for a plugin-management inside of <reporting>: That way maven 
could choose to resolve report-plugins only if site generation is triggered.

I am using maven 3.0.5 and maven-site-plugin 3.3.
                
> PluginManagement does not work for report-plugins
> -------------------------------------------------
>
>                 Key: MNG-3385
>                 URL: https://jira.codehaus.org/browse/MNG-3385
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Andreas Höhmann
>            Assignee: Carlos Sanchez
>
>  <build>
>    ...
>     </pluginManagement>
>        <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-pmd-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>    ...
>   </build>
>   <reporting>
>     <plugins>  
>        <plugin>
>          <artifactId>maven-pmd-plugin</artifactId>
>        </plugin>
>     </plugins>
>   </reporting>  
> mvn site ... use pmd-2.4-SNAPSHOT instead of the defined 2.2 ... why?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to