[
http://jira.codehaus.org/browse/MSITE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=174148#action_174148
]
John Casey commented on MSITE-402:
--
I've traced the handling of reports through POM inheritance (verified using
help:effective-pom), through DefaultPluginManager and DefaultLifecycleExecutor
(used to load and gather the reports list when the site plugin requires them),
and finally found something here:
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Take a look at the locateReports(..) method, around line 297. This uses a
HashMap to reorganize the report instances for execution against a particular
Locale. If no custom locales are configured, the english locale is used by
default. This is what reorders the reports collection, resulting in the weird
behavior you're seeing.
Execution order of report plugins is arbitrary if inheritance is involved
-
Key: MSITE-402
URL: http://jira.codehaus.org/browse/MSITE-402
Project: Maven 2.x Site Plugin
Issue Type: Bug
Affects Versions: 2.0
Environment: ubuntu 8.10
maven 2.10
/opt/development/tools/apache-maven-2.1.0/bin/mvn --version
Warning: JAVA_HOME environment variable is not set.
Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
Java version: 1.6.0_10
Java home: /usr/lib/jvm/java-6-sun-1.6.0.10/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux version: 2.6.27-11-generic arch: i386 Family: unix
Reporter: Luca
Attachments: Regression.tgz, sitefull.log.tgz
this issue is the clone of http://jira.codehaus.org/browse/MNG-3808
the output of
/opt/development/tools/apache-maven-2.1.0/bin/mvn clean install site -X
sitefull.log
is in attachment with the whole project.
the command was executed in Regression/ComponentB
Feel free to ask more info!
thanks
--
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