[
http://jira.codehaus.org/browse/MSITE-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251212#action_251212
]
Martin Ackermann commented on MSITE-540:
----------------------------------------
The priority of this bug should be increased because the workaround I mentioned
above prevents the JXR plugin from executing. When I place the JXR plugin
section below the Checkstyle plugin section, JXR is not executed for the child
module.
I also noticed during running in debug mode that the Javadoc plugin wrongly
reads parts of the <configuration> section of the Checkstyle plugin.
So as a workaround I have to add the JXR plugin redundantly as stand alone
plugin in the <plugins> section with <execution> in phase "pre-site".
BTW: Please remove Component "site:run" from the ticket. I do not have the
rights.
> Site plugin cannot parse checkstyle configuration when inherited
> ----------------------------------------------------------------
>
> Key: MSITE-540
> URL: http://jira.codehaus.org/browse/MSITE-540
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, multi module, site:run
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP2
> Reporter: Martin Ackermann
> Priority: Minor
> 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