changes to touchstone
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<preGoal name="touchstone-goal-C">
|
||||
@@ -31,4 +33,13 @@
|
||||
<j:set var="touchstone_partner_postGoal_D" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone-partner:test-context-switch">
|
||||
<maven:maven
|
||||
descriptor="${basedir}/src/reactor-build/failProperty/success-1/project.xml"
|
||||
goals="touchstone:test-context-switch-dummy"
|
||||
ignoreFailures="false"
|
||||
/>
|
||||
<j:set var="partnerSourceDir" value="${pom.build.sourceDirectory}" />
|
||||
<attainGoal name="touchstone:test-context-switch" />
|
||||
</goal>
|
||||
</project>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-touchstone-partner-plugin</id>
|
||||
<name>Maven Touchstone Partner Plug-in</name>
|
||||
<currentVersion>1.0</currentVersion>
|
||||
<currentVersion>1.1-SNAPSHOT</currentVersion>
|
||||
<description/>
|
||||
<shortDescription>Testing sanity check project</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/touchstone-partner/</url>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<!--
|
||||
@@ -9,29 +11,41 @@
|
||||
|
|
||||
-->
|
||||
|
||||
<goal name="touchstone-goal-A">
|
||||
<echo>touchstone-goal-A defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_A_from_plugin" value="true"/>
|
||||
</goal>
|
||||
<goal name="touchstone-goal-A">
|
||||
<echo>touchstone-goal-A defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_A_from_plugin" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone-goal-B">
|
||||
<echo>touchstone-goal-B defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_B_from_plugin" value="true"/>
|
||||
</goal>
|
||||
<goal name="touchstone-goal-B">
|
||||
<echo>touchstone-goal-B defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_B_from_plugin" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone-goal-C">
|
||||
<echo>touchstone-goal-C defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_C_from_plugin" value="true"/>
|
||||
</goal>
|
||||
<goal name="touchstone-goal-C">
|
||||
<echo>touchstone-goal-C defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_C_from_plugin" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone-goal-D">
|
||||
<echo>touchstone-goal-D defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_D_from_plugin" value="true"/>
|
||||
</goal>
|
||||
<goal name="touchstone-goal-D">
|
||||
<echo>touchstone-goal-D defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_D_from_plugin" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone-goal-E">
|
||||
<echo>touchstone-goal-E defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_E_from_plugin" value="true"/>
|
||||
</goal>
|
||||
<goal name="touchstone-goal-E">
|
||||
<echo>touchstone-goal-E defined in plugin.</echo>
|
||||
<j:set var="touchstone_goal_E_from_plugin" value="true"/>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone:test-context-switch-dummy">
|
||||
<ant:echo>testing differing plugin contexts</ant:echo>
|
||||
</goal>
|
||||
|
||||
<goal name="touchstone:test-context-switch">
|
||||
<j:set var="touchstoneSourceDir" value="${pom.build.sourceDirectory}" />
|
||||
<maven:pluginVar var="var" plugin="maven-touchstone-partner-plugin" property="partnerSourceDir" />
|
||||
<j:if test="${var != touchstoneSourceDir}">
|
||||
<ant:fail>pom.build.sourceDirectory differs over plugin and partner plugin (touchstone = '${touchstoneSourceDir}'; partner = '${var}')</ant:fail>
|
||||
</j:if>
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-touchstone-plugin</id>
|
||||
<name>Maven Touchstone Plug-in</name>
|
||||
<currentVersion>1.0</currentVersion>
|
||||
<currentVersion>1.1-SNAPSHOT</currentVersion>
|
||||
<description/>
|
||||
<shortDescription>Sanity Check test project</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/touchstone/</url>
|
||||
|
||||
Reference in New Issue
Block a user