Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 37548 invoked from network); 1 Jun 2007 03:10:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 03:10:24 -0000 Received: (qmail 44784 invoked by uid 500); 1 Jun 2007 03:10:28 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 44460 invoked by uid 500); 1 Jun 2007 03:10:27 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 44444 invoked by uid 99); 1 Jun 2007 03:10:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 20:10:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 20:10:19 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id EF90414A803B for ; Thu, 31 May 2007 22:09:58 -0500 (CDT) Message-ID: <12432415.1180667398979.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 31 May 2007 22:09:58 -0500 (CDT) From: "Jason van Zyl (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MNG-2876) versionrange doesn't handle singular version correctly In-Reply-To: <141141145.1173921753970.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason van Zyl updated MNG-2876: ------------------------------- Patch Submitted: (was: [Yes]) > versionrange doesn't handle singular version correctly > ------------------------------------------------------ > > Key: MNG-2876 > URL: http://jira.codehaus.org/browse/MNG-2876 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.2, 2.0.3, 2.0.4, 2.0.5 > Reporter: Brian Fox > Assignee: Brian Fox > Fix For: 2.1-alpha-1 > > > I'm still having trouble with this. I wrote a sample class to show my problem. The issue is that all the contains calls are correct except that a singular version ie "2.0.5" always returns true. Is this an artifact bug, or am I doing something wrong? According to the javadoc for the method (shown in my original post below) the singular version is allowed as a version range. > The tests and fix are here: https://svn.apache.org/repos/asf/maven/plugins/branches/maven-artifact-version-range-fix > I just need someone to take a look and I can apply. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira