Josip Gracin wrote:
How can I modify the maven.test.compile.src.set from within
maven.xml? What I need to do is the following: when there is some property set, additional unit tests should
be included, otherwise, everything should be run
without those tests.


I tryed modifying maven.test.compile.src.set, but I couldn't
get it to work.  Was that the right way to do it?


You may have to do something like this:

{pom.getPluginContext('maven-test-plugin').setVariable('maven.test.compile.src.set', 'yourDirectory')}

I've done it a few times but I don't have the files anymore. You may need to debug by outputting the property values in preGoals or postGoals to test:compile, or something like that.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to