You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2011/04/09 20:46:24 UTC

[jira] Commented: (MNG-5061) Site plugin cannot parse checkstyle configuration when inherited

    [ http://jira.codehaus.org/browse/MNG-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263038#action_263038 ] 

Lukas Theussl commented on MNG-5061:
------------------------------------

I confirm the issue. Moving to MNG for review, I don't think it's site-plugin related.

> Site plugin cannot parse checkstyle configuration when inherited
> ----------------------------------------------------------------
>
>                 Key: MNG-5061
>                 URL: http://jira.codehaus.org/browse/MNG-5061
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0.3
>         Environment: Maven 3.0.1, Windows XP SP2
>            Reporter: Martin Ackermann
>         Attachments: example-project.zip
>
>
> When running "mvn site" on the atteched example project, the following error occurs:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project parent: failed to get Reports: Unable to parse configuration of mojo org.apache.maven.plugins:maven-jxr-plugin:2.2:jxr for parameter excludes: Cannot assign configuration entry 'excludes' to 'class java.util.ArrayList' from 'mypackage/**/*.java', which is of type class java.lang.String -> [Help 1]
> Obviously, the parser gets out of scope because it complains about 'excludes' for the jxr plugin. But the 'excludes' is actually given in the checkstyle plugin section.
> If you delete the jxr plugin section from pluginManagement, the error disappears.
> If you delete the javadoc plugin section from plugins, the error disappears as well.
> If you change the order of the checkstyle plugin section and the jxr plugin section under pluginManagement, the error disappears as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira