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/09/15 16:03:15 UTC

svn commit: r289237 - /maven/maven-1/plugins/trunk/plugin/plugin.jelly

Author: aheritier
Date: Thu Sep 15 07:03:10 2005
New Revision: 289237

URL: http://svn.apache.org/viewcvs?rev=289237&view=rev
Log:
use the new plugin:available tag

Modified:
    maven/maven-1/plugins/trunk/plugin/plugin.jelly

Modified: maven/maven-1/plugins/trunk/plugin/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugin/plugin.jelly?rev=289237&r1=289236&r2=289237&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugin/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/plugin/plugin.jelly Thu Sep 15 07:03:10 2005
@@ -31,14 +31,7 @@
   xmlns:assert="assert">
   
   <j:if test="${bootstrapping == null}">
-    <!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
-    <maven:get plugin="maven-artifact-plugin" property="plugin" var="artifactPlugin" />
-    <j:if test="${artifactPlugin.currentVersion.compareTo('1.3') lt 0}">
-      <ant:fail>
-        Must have artifact plugin v1.3 installed to use this version of the plugin plugin.
-        Try: maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.3
-      </ant:fail>
-    </j:if>
+    <plugin:available groupId="maven" artifactId="maven-artifact-plugin" minRelease="1.3" neededBy="maven-plugin-plugin"/>
   </j:if>
 
   <goal name="plugin" prereqs="plugin:plugin" description="Build a plugin jar" />



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org