Remove use of pom.getPluginContext, replacing with maven:get

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-07-09 13:00:19 +00:00
parent 5f52dbf11b
commit d0ff4c764b
6 changed files with 14 additions and 8 deletions

View File

@@ -49,9 +49,8 @@
</ant:classpath>
</ant:taskdef>
<j:set var="warBuildDir"
value="${pom.getPluginContext('maven-war-plugin').getVariable('maven.war.build.dir')}"/>
<maven:get var="warBuildDir" plugin="maven-war-plugin" property="maven.war.build.dir"/>
<ant:warvalidator warFileName="${warBuildDir}/${pom.artifactId}.war">
<ant:formatter type="plain" usefile="false"/>
</ant:warvalidator>

View File

@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-j2ee-plugin</id>
<name>Maven J2EE Plugin</name>
<currentVersion>1.5</currentVersion>
<currentVersion>1.5.1-SNAPSHOT</currentVersion>
<description/>
<shortDescription>J2EE tools</shortDescription>
<url>http://maven.apache.org/reference/plugins/j2ee/</url>

View File

@@ -25,6 +25,9 @@
<author email="plynch@apache.org">Peter Lynch</author>
</properties>
<body>
<release version="1.5.1-SNAPSHOT" date="in CVS">
<action dev="dion" type="update">Remove pom.getPluginContext code and replace with maven:get</action>
</release>
<release version="1.5" date="2004-05-15">
<action dev="dion" type="update">Remove Ant dependency</action>
<action dev="dion" type="fix">Fix issues with DOM classes and jdk1.3</action>

View File

@@ -18,7 +18,9 @@
-->
<project xmlns:j="jelly:core" xmlns:log="jelly:log">
<project xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:log="jelly:log">
<!-- default goal (same name as plugin -->
<goal name="struts"
@@ -41,8 +43,7 @@
</classpath>
</taskdef>
<j:set var="warBuildDir"
value="${pom.getPluginContext('maven-war-plugin').getVariable('maven.war.build.dir')}"/>
<maven:get var="warBuildDir" plugin="maven-war-plugin" property="maven.war.build.dir"/>
<struts10warvalidator
warFileName="${warBuildDir}/${pom.artifactId}.war">

View File

@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-struts-plugin</id>
<name>Maven Struts Plugin</name>
<currentVersion>1.3</currentVersion>
<currentVersion>1.3.1-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Work with struts jars</shortDescription>
<url>http://maven.apache.org/reference/plugins/struts/</url>

View File

@@ -24,6 +24,9 @@
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<release version="1.3.1-SNAPSHOT" date="in CVS">
<action dev="dion" type="update">Remove old pom.getPluginContext code</action>
</release>
<release version="1.3" date="2004-05-15">
<action dev="dion" type="update">Remove unneeded ant dependency</action>
</release>