|
Brett Porter made changes - 21/Feb/07 08:54 PM
Execution order of plugin's is something that has had quite a bit of discussion about but I'm afraid I have no specific URLs to let you catch up with the current thinking re this. I noticed something strange and made a test. I suspected plugins/reports were being executed in alphabetic order (first by groupId, then by artifactId) and so they are! For example, I have a problem generating QALab reports in child projects, because QALab plugin was always executed before the reports that generate data. Then I noticed the reports were generated almost in the order I specify them (I use the above alphabetic order, expept for the QALab plugin, that is the last one). Then I imagined that maybe that happens because all my reports are from org. groups while QALab belongs to net.. I tested it by creating a dummy plugin by renaming the groupId of a QALab report plugin to zzz.net.objectlab and deploying it to my local repository. Then I changed my root dependency to this new one and magic, IT WORKS. I suspect someone is using a sorted collection (tree set, etc). Some display-beautifuly-list is messing things up.
Carlos Sanchez made changes - 28/Oct/08 08:59 PM
Carlos Sanchez made changes - 28/Oct/08 09:00 PM
Carlos Sanchez made changes - 28/Oct/08 09:04 PM
Patch against 2.1.x with unit test mergeReportPluginLists behavior copied from mergePluginLists which was fixed in related issues
Carlos Sanchez made changes - 29/Oct/08 12:01 AM
Carlos Sanchez made changes - 29/Oct/08 12:02 AM
also for some reason, as commented in the unit test, the configurations of reports don't seem to be merged
Brett Porter made changes - 17/Dec/08 07:18 PM
Brett Porter made changes - 06/Feb/09 04:47 AM
Carlos, was this patch properly applied to 2.1? I applied it, and created an IT. Please compare your use case to the IT, and file a new issue against 2.1.0 with a sample project if there is a problem.
Brett Porter made changes - 31/Mar/09 07:16 PM
John Casey made changes - 24/Apr/09 12:30 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We have exactly the same problem here....
Where does Maven determine the order for reports?