Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60817 invoked from network); 28 Mar 2006 06:31:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 06:31:49 -0000 Received: (qmail 32792 invoked by uid 500); 28 Mar 2006 06:31:48 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31741 invoked by uid 500); 28 Mar 2006 06:31:45 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 31718 invoked by uid 99); 28 Mar 2006 06:31:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 22:31:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 22:31:44 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 672DAD4A02 for ; Tue, 28 Mar 2006 07:31:23 +0100 (BST) Message-ID: <2062298067.1143527483420.JavaMail.jira@ajax> Date: Tue, 28 Mar 2006 07:31:23 +0100 (BST) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-1781) FileSystemRepository not able to handle entry with version number which is a single digit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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