Hi,
I am trying to use  http://code.google.com/p/jtracert/ jtracert  to create
sequence diagrams from our unit tests.
I could do this by simply adding some configuration to the surefire plugin:

<plugin>
&nbsp;&nbsp;<artifactId>maven-surefire-plugin</artifactId>
&nbsp;&nbsp;<configuration>
&nbsp;&nbsp;&nbsp;&nbsp;<argLine>-javaagent:jTracert.jar ... </argLine>
&nbsp;&nbsp;</configuration>
</plugin>

But I don't want these to be generated every time I run the tests, so I
figured a better way would be to create a plugin/goal to do this instead. 
This goal would run all the tests with the above configuration, to invoke it
I could write something like:
mvn uml:sequence-diagram

But I still want the test phase to run with the default configuration.
How could I do this?
-- 
View this message in context: 
http://www.nabble.com/Plugin-to-run-re-configured-tests-tp23059597p23059597.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to