You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/10/02 02:54:59 UTC
svn commit: r293047 - in /maven/maven-1/plugins/trunk/artifact: plugin.jelly
project.xml xdocs/changes.xml
Author: aheritier
Date: Sat Oct 1 17:54:53 2005
New Revision: 293047
URL: http://svn.apache.org/viewcvs?rev=293047&view=rev
Log:
Upgrade to 1.7-SNAPSHOT
New tag artifact:rewritePOM : Rewrite a full model. Inheritence and expression are resolved.
Modified:
maven/maven-1/plugins/trunk/artifact/plugin.jelly
maven/maven-1/plugins/trunk/artifact/project.xml
maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/artifact/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/plugin.jelly?rev=293047&r1=293046&r2=293047&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/artifact/plugin.jelly Sat Oct 1 17:54:53 2005
@@ -162,6 +162,15 @@
basedir="${templateBasedir}"
template="${template}"/>
</define:tag>
+
+ <define:tag name="rewritePOM">
+ <maven:param-check value="${path}" fail="true" message="'path' must be specified"/>
+ <ant:echo>Rewriting POM...</ant:echo>
+ <j:invokeStatic className="org.apache.maven.artifact.PomRewriter" method="getRewrittenPom" var="pomFile">
+ <j:arg value="${pom}"/>
+ </j:invokeStatic>
+ <ant:copy file="${pomFile.path}" tofile="${path}"/>
+ </define:tag>
</define:taglib>
Modified: maven/maven-1/plugins/trunk/artifact/project.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/project.xml?rev=293047&r1=293046&r2=293047&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/project.xml (original)
+++ maven/maven-1/plugins/trunk/artifact/project.xml Sat Oct 1 17:54:53 2005
@@ -23,7 +23,7 @@
<id>maven-artifact-plugin</id>
<name>Maven Artifact Plugin</name>
<!-- WARNING: some dependency checks will break if we get to 1.10, need to go to 2.0 from there -->
- <currentVersion>1.6.1-SNAPSHOT</currentVersion>
+ <currentVersion>1.7-SNAPSHOT</currentVersion>
<description>Tools to manage artifacts and deployment. Requires Maven 1.1.</description>
<shortDescription>Tools to manage artifacts and deployment</shortDescription>
<url>http://maven.apache.org/reference/plugins/artifact/</url>
Modified: maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml?rev=293047&r1=293046&r2=293047&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml Sat Oct 1 17:54:53 2005
@@ -24,8 +24,9 @@
<author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
- <release version="1.6.1-SNAPSHOT" date="in SVN">
+ <release version="1.7-SNAPSHOT" date="in SVN">
<action dev="brett" type="fix" issue="MPARTIFACT-58">Correct handling of directory without a leading /</action>
+ <action dev="aheritier" type="add">New tag artifact:rewritePOM : Rewrite a full model. Inheritence and expression are resolved.</action>
</release>
<release version="1.6" date="2005-07-30">
<action dev="brett" type="fix" issue="MPARTIFACT-55">Correct basedir for file:// URLs</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org