[jira] Commented: (MSITE-402) Execution order of report plugins is arbitrary if inheritance is involved

2011-07-25 Thread Herve Boutemy (JIRA)

[ 
https://jira.codehaus.org/browse/MSITE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=274193#comment-274193
 ] 

Herve Boutemy commented on MSITE-402:
-

first level of fix in 
[r1150948|http://svn.apache.org/viewvc?rev=1150948view=rev]: now it is ok for 
Maven 3, but not Maven 2 for the moment

 Execution order of report plugins is arbitrary if inheritance is involved
 -

 Key: MSITE-402
 URL: https://jira.codehaus.org/browse/MSITE-402
 Project: Maven 2.x and 3.x Site Plugin
  Issue Type: Bug
  Components: inheritance
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MSITE-402) Execution order of report plugins is arbitrary if inheritance is involved

2009-04-24 Thread John Casey (JIRA)

[ 
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