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:22 UTC

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

     [ http://jira.codehaus.org/browse/MNG-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl moved MSITE-540 to MNG-5061:
------------------------------------------

           Complexity: Intermediate
          Component/s:     (was: Maven 3)
                           (was: multi module)
                           (was: inheritance)
    Affects Version/s:     (was: 3.0-beta-3)
                       3.0.3
                  Key: MNG-5061  (was: MSITE-540)
              Project: Maven 2 & 3  (was: Maven 2.x and 3.x Site Plugin)

> 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