dion 2003/10/28 10:13:57
Modified: src/test/touchstone-build maven.xml
Log:
Start using tag instead of ${pom.getPluginContext(....)}
Revision Changes Path
1.43 +4 -4 maven/src/test/touchstone-build/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven/src/test/touchstone-build/maven.xml,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- maven.xml 31 Aug 2003 07:33:06 -0000 1.42
+++ maven.xml 28 Oct 2003 18:13:57 -0000 1.43
@@ -58,7 +58,7 @@
<attainGoal name="test-maven-unknown-failure-property"/>
<attainGoal name="touchstone-goal-A"/>
- <j:set var="checkValue"
value="${pom.getPluginContext('maven-touchstone-plugin').getVariable('touchstone_goal_A_from_plugin')}"/>
+ <maven:pluginVar var="checkValue" plugin="maven-touchstone-plugin"
property="touchstone_goal_A_from_plugin"/>
<j:if test="${checkValue == 'true'}">
<fail message="">
Goal should have been overriden. We have an internal error
@@ -67,7 +67,7 @@
</j:if>
<attainGoal name="touchstone-goal-B"/>
- <j:set var="checkValue"
value="${pom.getPluginContext('maven-touchstone-plugin').getVariable('touchstone_goal_B_from_plugin')}"/>
+ <maven:pluginVar var="checkValue" plugin="maven-touchstone-plugin"
property="touchstone_goal_B_from_plugin"/>
<j:if test="${checkValue != 'true'}">
<fail message="">
Goal should be used from the touchstone plugin. We have an internal
@@ -139,7 +139,7 @@
|
-->
<attainGoal name="touchstone-goal-C"/>
- <j:set var="checkValue"
value="${pom.getPluginContext('maven-touchstone-partner-plugin').getVariable('touchstone_partner_preGoal_C')}"/>
+ <maven:pluginVar var="checkValue" plugin="maven-touchstone-partner-plugin"
property="touchstone_partner_preGoal_C"/>
<echo>checkValue = ${checkValue}</echo>
<j:if test="${checkValue != 'true'}">
<fail message="">
@@ -155,7 +155,7 @@
|
-->
<attainGoal name="touchstone-goal-D"/>
- <j:set var="checkValue"
value="${pom.getPluginContext('maven-touchstone-partner-plugin').getVariable('touchstone_partner_preGoal_D')}"/>
+ <maven:pluginVar var="checkValue" plugin="maven-touchstone-partner-plugin"
property="touchstone_partner_preGoal_D"/>
<echo>checkValue = ${checkValue}</echo>
<j:if test="${checkValue != 'true'}">
<fail message="">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]