FileSystemRepository not able to handle entry with version number which is a
single digit
-----------------------------------------------------------------------------------------
Key: GERONIMO-1781
URL: http://issues.apache.org/jira/browse/GERONIMO-1781
Project: Geronimo
Type: Bug
Versions: 1.0, 1.1, 1.2
Reporter: Vamsavardhana Reddy
Priority: Minor
Fix For: 1.1
I see the following in FileSystemRepository.java
Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)");
This reqular expression is not matching an entry like the following.
group/jars/artifact-1.jar
Here the version number is "1", a single digit.
FIX: Change to Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9]+)")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira