lib/maven/tools/jarfile.rb in maven-tools-0.33.2 vs lib/maven/tools/jarfile.rb in maven-tools-0.33.3
- old
+ new
@@ -52,17 +52,9 @@
_locked = []
if exists_lock?
File.read(@lockfile).each_line do |line|
line.strip!
if line.size > 0 && !(line =~ /^\s*#/)
- # fix the classifier and version position
- if line.count( ':' ) == 4
- parts = line.split( ':' )
- p = parts.last
- parts[ 4 ] = parts[ 3 ]
- parts[ 3 ] = p
- line = parts.join( ':' )
- end
_locked << line
end
end
end
_locked