applying ruben01s latest maven patch

This commit is contained in:
Brian Matzon 2011-10-05 19:19:00 +00:00
parent 2070379f34
commit ca428342d3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
}
if(!mavenVersion.match(/^.*-SNAPSHOT$/)){
var forceSnapshot = project.getProperty("snapshot")
if(forceSnapshot!="false"){
if(forceSnapshot!=null && forceSnapshot!="false"){
System.out.println("Forcing Maven Version to Snapshot");
mavenVersion = mavenVersion + "-SNAPSHOT";
}