You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/03 16:35:33 UTC
svn commit: r267464 - /maven/maven-1/plugins/trunk/jdiff/plugin.jelly
Author: brett
Date: Sat Sep 3 07:35:29 2005
New Revision: 267464
URL: http://svn.apache.org/viewcvs?rev=267464&view=rev
Log:
fix version testing logic
Modified:
maven/maven-1/plugins/trunk/jdiff/plugin.jelly
Modified: maven/maven-1/plugins/trunk/jdiff/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdiff/plugin.jelly?rev=267464&r1=267463&r2=267464&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdiff/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdiff/plugin.jelly Sat Sep 3 07:35:29 2005
@@ -28,7 +28,7 @@
<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="${scmPlugin.currentVersion.compareTo('1.5') lt 0}">
+ <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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org