use plugin:available instead of the old jelly script (bugged)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@289263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2005-09-15 15:42:06 +00:00
1 parent 8dee78ca7a
commit 077f1fcf7b
15 files changed
+56 -43

No files matched your search

+3 -11
View File
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,19 +23,11 @@
xmlns:maven="jelly:maven"
xmlns:doc="doc"
xmlns:scm="scm"
xmlns:plugin="plugin"
xmlns:ant="jelly:ant">
<j:if test="${bootstrapping == null}">
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
<maven:get plugin="maven-scm-plugin" property="plugin" var="scmPlugin" />
<j:if test="${empty(scmPlugin) or scmPlugin.currentVersion.compareTo('1.5') lt 0}">
<ant:fail>
Must have SCM plugin v1.5 installed to use this version of the jdiff plugin.
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5
You can find the latest version of the SCM plugin on the Maven Download page at
http://maven.apache.org/start/download.html
</ant:fail>
</j:if>
<plugin:available groupId="maven" artifactId="maven-scm-plugin" minRelease="1.5" neededBy="maven-jdiff-plugin"/>
</j:if>
<goal name="maven-jdiff-plugin:register">