Hi, all,
I have written a custom plugin for a in-house project which will produce a
ear file at the end.
There is a number of goals defined in this plugin. One of these is:
<goal name="projecct:ear-build" description="Invokes ejb:install and
war:install goal">
<j:set var="maven.test.skip" value="false"/>
<ant:echo>{maven.test.skip} is set to ${maven.test.skip}</ant:echo>
<attainGoal name="ejb:install"/>
<j:if test="${maven.test.failure}">
<fail message="There were test failures!"/>
</j:if>
<j:set var="maven.test.skip" value="true"/>
<ant:echo>{maven.test.skip} is set to ${maven.test.skip}</ant:echo>
<attainGoal name="war:install"/>
<j:set var="maven.test.skip" value="false"/>
</goal>
Basically i want to skip the junit test in war:install (ejb:install will
invoke the junit test). However the trick does not work. The junit test in
war:install is not skipped, even though from ant:echo I can see it is set to
true. Any suggestion to how to debug/solve this problem?
Cheers,
AK
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]