From: Brett Porter Date: Mon, 21 Dec 2009 12:15:06 +0000 (+0000) Subject: [MRM-1282] make sure snapshot artifact versions are processed correctly - remove... X-Git-Tag: archiva-1.4-M1~1017^2~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eea9187d452b9b9cb5e493806f87c9eee6478bc6;p=archiva.git [MRM-1282] make sure snapshot artifact versions are processed correctly - remove debugging git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892792 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryMetadataResolver.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryMetadataResolver.java index e0ec1fe27..bc6cae286 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryMetadataResolver.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryMetadataResolver.java @@ -490,7 +490,6 @@ public class Maven2RepositoryMetadataResolver { String mainVersion = projectVersion.substring( 0, projectVersion.length() - 8 ); // 8 is length of "SNAPSHOT" - System.out.println( file.getName() + " " + mainVersion ); Matcher m = Pattern.compile( projectId + "-" + mainVersion + "([0-9]{8}.[0-9]{6}-[0-9]+).*" ).matcher( file.getName() ); m.matches();