fix version testing logic
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c83e11be82
commit
21cfb35d22
@ -28,7 +28,7 @@
|
|||||||
<j:if test="${bootstrapping == null}">
|
<j:if test="${bootstrapping == null}">
|
||||||
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
|
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
|
||||||
<maven:get plugin="maven-scm-plugin" property="plugin" var="scmPlugin" />
|
<maven:get plugin="maven-scm-plugin" property="plugin" var="scmPlugin" />
|
||||||
<j:if test="${scmPlugin.currentVersion.compareTo('1.5') lt 0}">
|
<j:if test="${empty(scmPlugin) or scmPlugin.currentVersion.compareTo('1.5') lt 0}">
|
||||||
<ant:fail>
|
<ant:fail>
|
||||||
Must have SCM plugin v1.5 installed to use this version of the jdiff plugin.
|
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
|
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user