[
https://jira.codehaus.org/browse/MSITE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348296#comment-348296
]
Pierre Cardoso edited comment on MSITE-650 at 6/18/14 3:15 AM:
---------------------------------------------------------------
I took mavenproject2.zip (from SUREFIRE-905) and made it simpler, I attached it
as "fooproject". It is now easier to see the issue.
As you can see in the text files:
- when running "mvn install", the three separate executions of the surefire
plugin perform as expected: the default execution runs UnitTest.java; the two
others run ComponentTest.java and SystemTest.java respectively.
- but, when running "mvn site" afterwards, only UnitTest.java runs, the two
other executions are +incorrectly+ reported as "already been run for this
configuration".
Thanks
was (Author: gonnalose):
I took mavenproject2.zip (from SUREFIRE-905) and made it simpler, it is now
easier to see the issue.
As you can see in the text files:
- when running "mvn install", the three separate executions of the surefire
plugin perform as expected: the default execution runs UnitTest.java; the two
others run ComponentTest.java and SystemTest.java respectively.
- but, when running "mvn site" afterwards, only UnitTest.java runs, the two
other executions are +incorrectly+ reported as "already been run for this
configuration".
Thanks
> Problem with multiple executions of surefire within site plugin 3.0
> -------------------------------------------------------------------
>
> Key: MSITE-650
> URL: https://jira.codehaus.org/browse/MSITE-650
> Project: Maven Site Plugin
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Kristian Rosenvold
> Fix For: backlog
>
> Attachments: fooproject.tar.gz, mvninstall_fooproject.txt,
> mvnsite_fooproject.txt, mvn_X_install_fooproject.txt,
> mvn_X_site_fooproject.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)