[ https://jira.codehaus.org/browse/MSITE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306498#comment-306498 ]
Dennis Lundberg commented on MSITE-650: --------------------------------------- I've had a look at the Surefire mojos. AbstractSurefireMojo has the checksum calculator in it, but AbstractSurefireReportMojo does not and it does not inherit from AbstractSurefireMojo either. Judging by that the behavior is correct, because the configuration is the same when you do not include the configuration of maven-surefire-report-plugin in the calculation. > Problem with multiple executions of surefire within site plugin 3.0 > ------------------------------------------------------------------- > > Key: MSITE-650 > URL: https://jira.codehaus.org/browse/MSITE-650 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Affects Versions: 3.0 > Reporter: Kristian Rosenvold > > There is a test project attached to SUREFIRE-905 that has a total of 4 > executions of surefire, with different configuration for each. > When running "mvn clean install" inside this project, surefire gets executed > 4 times as expected. When running "mvn site" only the first execution gets > run, the last three get stopped by the configuration-checksum in surefire, > indicating they get executed with the *same* configuration as the default > execution. (Surefire creates a SHA1 hash of all the mojo parameters to avoid > re-running the same configuration, which is why I conclude the three > executions get the same configuration as the default config) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira