lib/maven/tools/coordinate.rb in maven-tools-1.0.0.rc5 vs lib/maven/tools/coordinate.rb in maven-tools-1.0.0.rc6

- old
+ new

@@ -120,10 +120,10 @@ end end end def snapshot_version( val ) - if val.match /[a-z]|[A-Z]/ and not val.match /-SNAPSHOT|[${}]/ + if val.match(/[a-z]|[A-Z]/) && !val.match(/-SNAPSHOT|[${}]/) val + '-SNAPSHOT' else val end end