Hi, I develop a plugin for emma and have a question about lifecycle configuration.
I setup a custom lifecycle "emma" (just like the clover plugin). Here is it: <lifecycles> <lifecycle> <id>emma</id> <phases> <phase> <id>process-classes</id> <executions> <execution> <goals> <goal>instr</goal> </goals> </execution> </executions> </phase> <phase> <id>test</id> <executions> <execution> <configuration> <testFailureIgnore>true</testFailureIgnore> <forkMode>pertest</forkMode> <classesDirectory> target/emma/data </classesDirectory> <systemProperties> <property> <name>emma.coverage.out.file</name> <value>target/emma/coverage.ec</value> </property> <property> <name>emma.coverage.out.merge</name> <value>true</value> </property> </systemProperties> </configuration> <goals> <goal>test</goal> </goals> </execution> </executions> </phase> </phases> </lifecycle> </lifecycles> I call the test phase from my report mojo, but there must exist a test goal inside of my plugin. But I don't want to write a new test goal. Want just to use the existing surefire plugin with different configuration. I take a look into clover plugin, but the author of this plugin use a slightly different way with an additional compile step I think. But this is not nessesary for emma. I want it this way: Emma lifecycle: compile-instrument-(modified)test-report Is this possible ? If yes how can I configure the standard test in a custom lifecycle? Regards Andreas -- View this message in context: http://www.nabble.com/lifecycle-configuration-t1411902.html#a3803140 Sent from the Maven - Dev forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]