Just wanted to ask whether there is any plan for supporting 'Integration Tests' in Maven Site Reporting. Currently although there is a well know 'integration-test' phase in Maven, if Surefire JUnits are configured to run during this phase, they are not executed during a 'mvn site-deploy'.
We have our Junits with different suffixes :- *Test.java - for normal JUnits *ITTest.java - for Integration Test Junits (selenium etc) The former get run during 'test' phase, the latter during 'integration-test' phase. All works great for a normal mvn install / deploy, but when we do mvn site-deploy the integration tests don't get run. There was a thread about this a while ago. It seems the site plugin only expects tests to be run in 'test' phase. What I found was it doesn't matter what is put in the <reporting> section of the pom regarding configuring the 'maven-surefire-plugin' itself (i.e. <configuration>) . Instead Maven seems to use the 'maven-surefire-plugin' configuration from the <build> section's 'test' phase <configuration> EVEN when doing a 'site' goal. We really need some of the JUnits run during 'integration-test' phase as 'pre-integration-test' phase needs to occur to start container using cargo. Is this a simple fix to the site or reporting plugins ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
