]> source.dussan.org Git - archiva.git/commitdiff
Added TIMESTAMP_PATTERN variable to fix build error in archiva-repository-layer.
authorMaria Odea B. Ching <oching@apache.org>
Mon, 27 Aug 2007 11:58:14 +0000 (11:58 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Mon, 27 Aug 2007 11:58:14 +0000 (11:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570083 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java

index 08bc67b053f924b2dd1e75c2e62eedfb719b95e3..07aadf6746908fcb9baaa728f9e2c8d094ca9ca3 100644 (file)
@@ -63,6 +63,8 @@ public class VersionUtil
 
     public static final Pattern UNIQUE_SNAPSHOT_PATTERN = Pattern.compile( "^(.*)-([0-9]{8}\\.[0-9]{6})-([0-9]+)$" );
 
+    public static final Pattern TIMESTAMP_PATTERN = Pattern.compile( "^([0-9]{8})\\.([0-9]{6})$" );
+
     /**
      * <p>
      * Tests if the unknown string contains elements that identify it as a version string (or not).