You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/03/26 13:32:50 UTC
cvs commit: maven/src/plugins-build/java plugin.jelly
dion 2003/03/26 04:32:50
Modified: src/plugins-build/ashkelon plugin.jelly
src/plugins-build/antlr plugin.jelly
src/plugins-build/ant plugin.jelly
src/plugins-build/aspectj plugin.jelly
src/plugins-build/java plugin.jelly
Log:
Explicity use ant name space. In prep for removal of jeez etc
Revision Changes Path
1.3 +5 -2 maven/src/plugins-build/ashkelon/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/ashkelon/plugin.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.jelly 12 Mar 2003 20:59:47 -0000 1.2
+++ plugin.jelly 26 Mar 2003 12:32:49 -0000 1.3
@@ -2,12 +2,15 @@
<project
xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
xmlns:define="jelly:define"
xmlns:doc="doc"
xmlns:u="jelly:util">
- <property name="maven.linkcheck.cache" value="${pom.getPluginContext('maven-linkcheck-plugin').getVariable('maven.linkcheck.cache')}"/>
- <property name="maven.gen.docs" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
+ <ant:property name="maven.linkcheck.cache"
+ value="${pom.getPluginContext('maven-linkcheck-plugin').getVariable('maven.linkcheck.cache')}"/>
+ <ant:property name="maven.gen.docs"
+ value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
<goal name="maven-ashkelon-plugin:register">
<doc:registerReport
1.2 +3 -2 maven/src/plugins-build/antlr/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/antlr/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 24 Jan 2003 03:44:36 -0000 1.1
+++ plugin.jelly 26 Mar 2003 12:32:49 -0000 1.2
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<project xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
xmlns:antlr="jelly:antlr"
xmlns:util="jelly:util"
xmlns:maven="jelly:maven">
@@ -10,7 +11,7 @@
<goal name="antlr:prepare-filesystem"
description="Make any necessary directories for antlr processing">
<j:if test="${!antlrSrcDir.equals('MAVEN_ANTLR_SRC_DIR_NOT_SET')}">
- <mkdir dir="${maven.build.dir}/antlr"/>
+ <ant:mkdir dir="${maven.build.dir}/antlr"/>
</j:if>
</goal>
@@ -19,7 +20,7 @@
prereqs="antlr:prepare-filesystem">
<j:if test="${!antlrSrcDir.equals('MAVEN_ANTLR_SRC_DIR_NOT_SET')}">
- <path id="maven.antlr.compile.src.set"
+ <ant:path id="maven.antlr.compile.src.set"
location="${maven.build.dir}/antlr"/>
<maven:addPath id="maven.compile.src.set"
1.4 +2 -1 maven/src/plugins-build/ant/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/ant/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 2 Mar 2003 14:22:46 -0000 1.3
+++ plugin.jelly 26 Mar 2003 12:32:49 -0000 1.4
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<project
+ xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:x="jelly:xml">
@@ -23,7 +24,7 @@
name="ant:generate-build"
description="Generate an Ant build file">
- <tstamp />
+ <ant:tstamp />
<!-- get first repo in the list -->
<u:tokenize var="repos" delim=",">${maven.repo.remote}</u:tokenize>
<j:set var="repo">${repos[0]}</j:set>
1.2 +126 -124 maven/src/plugins-build/aspectj/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/aspectj/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 24 Jan 2003 03:44:36 -0000 1.1
+++ plugin.jelly 26 Mar 2003 12:32:49 -0000 1.2
@@ -1,125 +1,127 @@
-<?xml version="1.0"?>
-
-<project xmlns:j="jelly:core" xmlns:util="jelly:util">
-
- <!--==================================================================-->
- <!-- Compile all source code, weaving the Aspects -->
- <!--==================================================================-->
- <goal name="aspectj"
- description="Compile code with AspectJ"
- prereqs="aspectj:compile"/>
-
- <goal name="aspectj:compile"
- description="Compile code with AspectJ">
-
- <j:if test="${sourcesPresent == 'true'}">
-
- <taskdef name="ajc" classname="org.aspectj.tools.ant.taskdefs.Ajc"/>
-
- <available property="aspectSourcesPresent"
- file="${pom.build.aspectSourceDirectory}"/>
-
- <uptodate property="aspectj.compile.notRequired"
- targetfile="${maven.build.dir}/${maven.final.name}.jar">
- <srcfiles dir="${pom.build.sourceDirectory}"/>
- <j:if test="${aspectSourcesPresent == 'true'}">
- <srcfiles dir="${pom.build.aspectSourceDirectory}"/>
- </j:if>
- </uptodate>
-
- <j:set var="aspectjCompileNotRequired" value="${aspectj.compile.notRequired}"/>
- <j:if test="${aspectjCompileNotRequired == null}">
-
- <ajc
- destdir="${maven.build.dest}"
- excludes="**/package.html"
- debug="${maven.compile.debug}"
- deprecation="${maven.compile.deprecation}"
- optimize="${maven.compile.optimize}">
-
- <src>
- <path refid="maven.compile.src.set"/>
- <j:if test="${aspectSourcesPresent == 'true'}">
- <pathelement location="${pom.build.aspectSourceDirectory}"/>
- </j:if>
- </src>
-
- <j:forEach var="sm" items="${pom.build.sourceModifications}">
- <available property="classPresent" classname="${sm.className}"/>
- <j:if test="${classPresent != 'true'}">
- <j:forEach var="exclude" items="${sm.excludes}">
- <exclude name="${exclude}"/>
- </j:forEach>
- </j:if>
- </j:forEach>
-
- <classpath>
- <path refid="maven.dependency.classpath"/>
- <pathelement path="${maven.build.dest}"/>
- <pathelement path="${plugin.getDependencyPath('aspectj:aspectjrt')}"/>
- </classpath>
- </ajc>
-
- </j:if>
-
- </j:if>
-
- </goal>
-
- <goal name="aspectj:ajdoc" description="Javadoc source using ajdoc">
-
- <j:if test="${sourcesPresent == 'true'}">
-
- <taskdef name="ajdoc" classname="org.aspectj.tools.ant.taskdefs.Ajdoc" />
-
- <available property="aspectSourcesPresent"
- file="${pom.build.aspectSourceDirectory}"/>
-
- <!-- retrieve various javadoc plugin vars -->
- <util:tokenize var="javadocVarList" delim=",">
- maven.javadoc.author,maven.javadoc.destdir,
- maven.javadoc.links,maven.javadoc.maxmemory,
- maven.javadoc.private,maven.javadoc.stylesheet,
- maven.javadoc.use,maven.javadoc.version
- </util:tokenize>
-
- <j:forEach var="javadocVar" items="${javadocVarList}">
- <j:set var="javadocVar" value="${javadocVar.trim()}" />
- <j:set var="${javadocVar}"
- value="${pom.getPluginContext('maven-javadoc-plugin').getVariable(javadocVar)}"/>
- </j:forEach>
-
- <ajdoc packagenames="${pom.package}.*"
- destdir="${maven.javadoc.destdir}"
- author="${maven.javadoc.author}"
- private="${maven.javadoc.private}"
- version="${maven.javadoc.version}"
- use="${maven.javadoc.use}"
- windowtitle="${title}"
- doctitle="${title}"
- bottom="${copyright}"
- stylesheetfile="${maven.javadoc.stylesheet}">
-
- <j:forEach var="link" items="${links}">
- <link href="${link.trim()}"/>
- </j:forEach>
- <classpath>
- <path refid="maven.dependency.classpath"/>
- <path location="${maven.build.dest}"/>
- <pathelement path="${plugin.getDependencyPath('aspectj:aspectjrt')}"/>
- </classpath>
-
- <sourcepath>
- <path refid="maven.compile.src.set"/>
- <j:if test="${aspectSourcesPresent == 'true'}">
- <pathelement location="${pom.build.aspectSourceDirectory}"/>
- </j:if>
- </sourcepath>
-
- </ajdoc>
-
- </j:if>
-
- </goal>
-
+<?xml version="1.0"?>
+
+<project xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:util="jelly:util">
+
+ <!--==================================================================-->
+ <!-- Compile all source code, weaving the Aspects -->
+ <!--==================================================================-->
+ <goal name="aspectj"
+ description="Compile code with AspectJ"
+ prereqs="aspectj:compile"/>
+
+ <goal name="aspectj:compile"
+ description="Compile code with AspectJ">
+
+ <j:if test="${sourcesPresent == 'true'}">
+
+ <ant:taskdef name="ajc" classname="org.aspectj.tools.ant.taskdefs.Ajc"/>
+
+ <ant:available property="aspectSourcesPresent"
+ file="${pom.build.aspectSourceDirectory}"/>
+
+ <ant:uptodate property="aspectj.compile.notRequired"
+ targetfile="${maven.build.dir}/${maven.final.name}.jar">
+ <ant:srcfiles dir="${pom.build.sourceDirectory}"/>
+ <j:if test="${aspectSourcesPresent == 'true'}">
+ <ant:srcfiles dir="${pom.build.aspectSourceDirectory}"/>
+ </j:if>
+ </ant:uptodate>
+
+ <j:set var="aspectjCompileNotRequired" value="${aspectj.compile.notRequired}"/>
+ <j:if test="${aspectjCompileNotRequired == null}">
+
+ <ant:ajc
+ destdir="${maven.build.dest}"
+ excludes="**/package.html"
+ debug="${maven.compile.debug}"
+ deprecation="${maven.compile.deprecation}"
+ optimize="${maven.compile.optimize}">
+
+ <ant:src>
+ <ant:path refid="maven.compile.src.set"/>
+ <j:if test="${aspectSourcesPresent == 'true'}">
+ <ant:pathelement location="${pom.build.aspectSourceDirectory}"/>
+ </j:if>
+ </ant:src>
+
+ <j:forEach var="sm" items="${pom.build.sourceModifications}">
+ <ant:available property="classPresent" classname="${sm.className}"/>
+ <j:if test="${classPresent != 'true'}">
+ <j:forEach var="exclude" items="${sm.excludes}">
+ <ant:exclude name="${exclude}"/>
+ </j:forEach>
+ </j:if>
+ </j:forEach>
+
+ <ant:classpath>
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('aspectj:aspectjrt')}"/>
+ </ant:classpath>
+ </ant:ajc>
+
+ </j:if>
+
+ </j:if>
+
+ </goal>
+
+ <goal name="aspectj:ajdoc" description="Javadoc source using ajdoc">
+
+ <j:if test="${sourcesPresent == 'true'}">
+
+ <ant:taskdef name="ajdoc" classname="org.aspectj.tools.ant.taskdefs.Ajdoc" />
+
+ <ant:available property="aspectSourcesPresent"
+ file="${pom.build.aspectSourceDirectory}"/>
+
+ <!-- retrieve various javadoc plugin vars -->
+ <util:tokenize var="javadocVarList" delim=",">
+ maven.javadoc.author,maven.javadoc.destdir,
+ maven.javadoc.links,maven.javadoc.maxmemory,
+ maven.javadoc.private,maven.javadoc.stylesheet,
+ maven.javadoc.use,maven.javadoc.version
+ </util:tokenize>
+
+ <j:forEach var="javadocVar" items="${javadocVarList}">
+ <j:set var="javadocVar" value="${javadocVar.trim()}" />
+ <j:set var="${javadocVar}"
+ value="${pom.getPluginContext('maven-javadoc-plugin').getVariable(javadocVar)}"/>
+ </j:forEach>
+
+ <ant:ajdoc packagenames="${pom.package}.*"
+ destdir="${maven.javadoc.destdir}"
+ author="${maven.javadoc.author}"
+ private="${maven.javadoc.private}"
+ version="${maven.javadoc.version}"
+ use="${maven.javadoc.use}"
+ windowtitle="${title}"
+ doctitle="${title}"
+ bottom="${copyright}"
+ stylesheetfile="${maven.javadoc.stylesheet}">
+
+ <j:forEach var="link" items="${links}">
+ <ant:link href="${link.trim()}"/>
+ </j:forEach>
+ <ant:classpath>
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:path location="${maven.build.dest}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('aspectj:aspectjrt')}"/>
+ </ant:classpath>
+
+ <ant:sourcepath>
+ <ant:path refid="maven.compile.src.set"/>
+ <j:if test="${aspectSourcesPresent == 'true'}">
+ <pathelement location="${pom.build.aspectSourceDirectory}"/>
+ </j:if>
+ </ant:sourcepath>
+
+ </ant:ajdoc>
+
+ </j:if>
+
+ </goal>
+
</project>
1.12 +66 -64 maven/src/plugins-build/java/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/java/plugin.jelly,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- plugin.jelly 26 Mar 2003 10:27:17 -0000 1.11
+++ plugin.jelly 26 Mar 2003 12:32:50 -0000 1.12
@@ -2,6 +2,7 @@
<project
xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
xmlns:license="license"
xmlns:maven="jelly:maven"
xmlns:deploy="deploy"
@@ -21,24 +22,24 @@
<j:choose>
<j:when test="${!pom.build.resources.includes.isEmpty()}">
- <property name="maven.has.jar.resource.patterns" value="true"/>
+ <ant:property name="maven.has.jar.resource.patterns" value="true"/>
</j:when>
<j:when test="${!pom.build.resources.excludes.isEmpty()}">
- <property name="maven.has.jar.resource.patterns" value="true"/>
+ <ant:property name="maven.has.jar.resource.patterns" value="true"/>
</j:when>
<j:otherwise>
- <property name="maven.has.jar.resource.patterns" value="false"/>
+ <ant:property name="maven.has.jar.resource.patterns" value="false"/>
</j:otherwise>
</j:choose>
- <patternset id="maven.jar.resources.set">
+ <ant:patternset id="maven.jar.resources.set">
<j:forEach var="res" items="${pom.build.resources.includes}">
- <include name="${res}"/>
+ <ant:include name="${res}"/>
</j:forEach>
<j:forEach var="res" items="${pom.build.resources.excludes}">
- <exclude name="${res}"/>
+ <ant:exclude name="${res}"/>
</j:forEach>
- </patternset>
+ </ant:patternset>
<!-- ================================================================== -->
<!-- P R E P A R E F I L E S Y S T E M -->
@@ -46,7 +47,7 @@
<goal name="java:prepare-filesystem"
description="Create the directory structure needed to compile">
- <mkdir dir="${maven.build.dest}"/>
+ <ant:mkdir dir="${maven.build.dest}"/>
</goal>
<!-- ================================================================== -->
@@ -59,15 +60,15 @@
<j:choose>
<j:when test="${sourcesPresent == 'true'}">
- <javac
+ <ant:javac
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}">
- <src>
- <path refid="maven.compile.src.set"/>
- </src>
+ <ant:src>
+ <ant:path refid="maven.compile.src.set"/>
+ </ant:src>
<!--
|
@@ -76,52 +77,52 @@
-->
<j:forEach var="sm" items="${pom.build.sourceModifications}">
- <available property="classPresent" classname="${sm.className}"/>
+ <ant:available property="classPresent" classname="${sm.className}"/>
<j:if test="${classPresent != 'true'}">
<j:forEach var="exclude" items="${sm.excludes}">
- <exclude name="${exclude}"/>
+ <ant:exclude name="${exclude}"/>
</j:forEach>
<j:forEach var="include" items="${sm.includes}">
- <include name="${include}"/>
+ <ant:include name="${include}"/>
</j:forEach>
</j:if>
</j:forEach>
- <classpath>
- <path refid="maven.dependency.classpath"/>
- <pathelement path="${maven.build.dest}"/>
- </classpath>
+ <ant:classpath>
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
+ </ant:classpath>
<j:if test="${context.getVariable('maven.compile.compilerargs') != null}">
- <compilerarg line="${maven.compile.compilerargs}" />
+ <ant:compilerarg line="${maven.compile.compilerargs}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.encoding') != null}">
- <setProperty name="encoding" value="${maven.compile.encoding}" />
+ <ant:setProperty name="encoding" value="${maven.compile.encoding}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.executable') != null}">
- <setProperty name="executable" value="${maven.compile.executable}" />
+ <ant:setProperty name="executable" value="${maven.compile.executable}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.fork') != null}">
- <setProperty name="fork" value="${maven.compile.fork}" />
+ <ant:setProperty name="fork" value="${maven.compile.fork}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.source') != null}">
- <setProperty name="source" value="${maven.compile.source}" />
+ <ant:setProperty name="source" value="${maven.compile.source}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.target') != null}">
- <setProperty name="target" value="${maven.compile.target}" />
+ <ant:setProperty name="target" value="${maven.compile.target}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.verbose') != null}">
- <setProperty name="verbose" value="${maven.compile.verbose}" />
+ <ant:setProperty name="verbose" value="${maven.compile.verbose}" />
</j:if>
- </javac>
+ </ant:javac>
</j:when>
<j:otherwise>
- <echo>No java source files to compile.</echo>
+ <ant:echo>No java source files to compile.</ant:echo>
</j:otherwise>
</j:choose>
@@ -151,42 +152,42 @@
description="Create the deliverable jar file."
prereqs="test:test">
- <available property="maven.jar.manifest.available"
+ <ant:available property="maven.jar.manifest.available"
file="${maven.jar.manifest}"/>
- <jar
+ <ant:jar
jarfile="${maven.build.dir}/${maven.final.name}.jar"
basedir="${maven.build.dest}"
excludes="${maven.jar.excludes}">
<j:if test="${maven.jar.manifest.available}">
- <setProperty name="manifest" value="${maven.jar.manifest}" />
+ <ant:setProperty name="manifest" value="${maven.jar.manifest}" />
</j:if>
<j:set var="licenseFileName"><license:fileName/></j:set>
<util:file name="${licenseFileName}" var="licenseFile"/>
- <metainf dir="${licenseFile.canonicalFile.parent}">
- <include name="${licenseFile.canonicalFile.name}"/>
- </metainf>
- <manifest>
- <attribute name="Built-By" value="${user.name}"/>
- <attribute name="Created-By" value="Apache Jakarta Maven"/>
- <attribute name="Package" value="${pom.package}"/>
- <attribute name="Build-Jdk" value="${java.version}"/>
+ <ant:metainf dir="${licenseFile.canonicalFile.parent}">
+ <ant:include name="${licenseFile.canonicalFile.name}"/>
+ </ant:metainf>
+ <ant:manifest>
+ <ant:attribute name="Built-By" value="${user.name}"/>
+ <ant:attribute name="Created-By" value="Apache Jakarta Maven"/>
+ <ant:attribute name="Package" value="${pom.package}"/>
+ <ant:attribute name="Build-Jdk" value="${java.version}"/>
<!-- added supplementary entries -->
- <attribute name="Extension-Name" value="${pom.artifactId}"/>
- <attribute name="Specification-Version" value="${pom.specificationVersion}"/>
- <attribute name="Specification-Vendor" value="${pom.organization.name}"/>
- <attribute name="Specification-Title" value="${pom.shortDescription}"/>
- <attribute name="Implementation-Version" value="${pom.currentVersion}"/>
- <attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
- <attribute name="Implementation-Vendor-Id" value="${pom.organization.identifier}"/>
+ <ant:attribute name="Extension-Name" value="${pom.artifactId}"/>
+ <ant:attribute name="Specification-Version" value="${pom.specificationVersion}"/>
+ <ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/>
+ <ant:attribute name="Specification-Title" value="${pom.shortDescription}"/>
+ <ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
+ <ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
+ <ant:attribute name="Implementation-Vendor-Id" value="${pom.organization.identifier}"/>
<j:set var="mainclass" value="${pom.getPluginContext('maven-java-plugin').getVariable('maven.jar.mainclass')}"/>
<j:if test="${!empty(mainclass)}">
- <attribute name="Main-Class" value="${mainclass}"/>
+ <ant:attribute name="Main-Class" value="${mainclass}"/>
</j:if>
- </manifest>
- </jar>
+ </ant:manifest>
+ </ant:jar>
</goal>
<!-- ================================================================== -->
@@ -200,7 +201,7 @@
<maven:snapshot project="${pom}"/>
<j:set var="maven.final.name" value="${snapshotSignature}"/>
- <echo>Building snapshot JAR: ${maven.final.name}</echo>
+ <ant:echo>Building snapshot JAR: ${maven.final.name}</ant:echo>
<attainGoal name="java:jar"/>
@@ -216,8 +217,9 @@
<m:user-check user="${maven.username}"/>
<attainGoal name="jar:snapshot"/>
- <property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
- <property name="dir" value="${maven.repo.central.directory}/${pom.artifactDirectory}/jars"/>
+ <ant:property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
+ <ant:property name="dir"
+ value="${maven.repo.central.directory}/${pom.artifactDirectory}/jars"/>
<util:replace var="jarToDeploy" oldChar="\" newChar="/">${maven.build.dir}/${maven.jar.to.deploy}</util:replace>
<util:replace var="forwardSlashBaseDir" oldChar="\" newChar="/" value="${basedir}"/>
@@ -245,7 +247,7 @@
<m:user-check user="${maven.username}"/>
<attainGoal name="java:jar"/>
- <property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
+ <ant:property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
<j:set var="sl" value="/"/>
<util:replace var="jarToDeploy" oldChar="\" newChar="/">${maven.build.dir}/${maven.jar.to.deploy}</util:replace>
@@ -271,15 +273,15 @@
<goal name="jar:install" prereqs="java:jar"
description="Install the jar in the local repository">
- <echo>
+ <ant:echo>
id = '${pom.artifactId}'
groupId = '${pom.groupId}'
artifactDirectory = '${pom.artifactDirectory}'
- </echo>
+ </ant:echo>
- <property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
- <mkdir dir="${jardir__}"/>
- <copy
+ <ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
+ <ant:mkdir dir="${jardir__}"/>
+ <ant:copy
file="${maven.build.dir}/${maven.final.name}.jar"
todir="${jardir__}"
overwrite="true"
@@ -294,14 +296,14 @@
name="jar:install-snapshot" prereqs="jar:snapshot"
description="Install a snapshot jar in the local repository">
- <property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
- <mkdir dir="${jardir__}"/>
- <copy
+ <ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
+ <ant:mkdir dir="${jardir__}"/>
+ <ant:copy
file="${maven.build.dir}/${maven.final.name}.jar"
tofile="${jardir__}/${pom.artifactId}-SNAPSHOT.jar"
overwrite="true"
/>
- <copy
+ <ant:copy
file="${maven.build.dir}/${maven.final.name}.jar"
tofile="${jardir__}/${maven.final.name}.jar"
/>
@@ -312,8 +314,8 @@
<goal name="clean:clean"
description="Remove all project artifacts">
- <delete dir="${maven.build.dir}"/>
- <delete file="${basedir}/velocity.log" quiet="true" failonerror="false"/>
+ <ant:delete dir="${maven.build.dir}"/>
+ <ant:delete file="${basedir}/velocity.log" quiet="true" failonerror="false"/>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org