From eea9187d452b9b9cb5e493806f87c9eee6478bc6 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Mon, 21 Dec 2009 12:15:06 +0000 Subject: [PATCH] [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 --- .../storage/maven2/Maven2RepositoryMetadataResolver.java | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.39.5