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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user