From a19fe2147a9f34e8599f44b8b1a32dfeffc2b832 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Mon, 27 Aug 2007 11:58:14 +0000 Subject: [PATCH] Added TIMESTAMP_PATTERN variable to fix build error in archiva-repository-layer. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570083 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/archiva/common/utils/VersionUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java b/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java index 08bc67b05..07aadf674 100644 --- a/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java +++ b/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java @@ -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})$" ); + /** *

* Tests if the unknown string contains elements that identify it as a version string (or not). -- 2.39.5