I am new to maven. So finding it difficult to cope it with. I have two questions:
- Is there any way to add new contents in the maven surefire report plugin like new table etc. I want to customize the reports according to my need.
- I am using buildnumber plugin to get the unique run id for each run but this id is not getting reflected in the reports. Is buildnumber plugin only works with subversion?
The pom is;
<build>
<finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>true</doCheck>
<doUpdate>false</doUpdate>
<format>${project.version}.{0,number}</format>
<items>
<item>buildNumber</item>
</items>
</configuration>
</plugin>
</plugins>
</build>
I have one more query:
3-> If i make batch file or an exe file of the complete test suites can i run it on many JVM simultaneously for example with an eclipse i am running one JVM. But if am not using eclipse and just running the testsuite batch file directly can JRE instantiate many JVM instances. And if it is possible, do i need to associate each test suite with .m2 repository.