You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2018/05/05 22:52:01 UTC

[maven] branch MNG-6403 created (now 68a8fd9)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6403
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at 68a8fd9  [MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time

This branch includes the following new commits:

     new 68a8fd9  [MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
michaelo@apache.org.

[maven] 01/01: [MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6403
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 68a8fd9ffea3902e918f22bc81979bfd7c83f8e9
Author: kevin-canadian <ke...@gmail.com>
AuthorDate: Fri Apr 7 14:51:42 2017 +0200

    [MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time
    
    This closes #112
---
 maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java b/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
index 9546433..377935d 100644
--- a/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
+++ b/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
@@ -46,7 +46,7 @@ public interface Artifact
 
     String SNAPSHOT_VERSION = "SNAPSHOT";
 
-    Pattern VERSION_FILE_PATTERN = Pattern.compile( "^(.*)-([0-9]{8}.[0-9]{6})-([0-9]+)$" );
+    Pattern VERSION_FILE_PATTERN = Pattern.compile( "^(.*)-([0-9]{8}\\.[0-9]{6})-([0-9]+)$" );
 
     // TODO into artifactScope handler
 

-- 
To stop receiving notification emails like this one, please contact
michaelo@apache.org.