Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 83984 invoked from network); 19 Jul 2010 20:20:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jul 2010 20:20:01 -0000 Received: (qmail 11106 invoked by uid 500); 19 Jul 2010 20:20:00 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 10769 invoked by uid 500); 19 Jul 2010 20:19:59 -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 10761 invoked by uid 99); 19 Jul 2010 20:19:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 20:19:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Mon, 19 Jul 2010 20:19:53 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id A8ED8162000B for ; Mon, 19 Jul 2010 15:19:32 -0500 (CDT) Date: Mon, 19 Jul 2010 15:19:32 -0500 (CDT) From: "Joerg Schaible (JIRA)" To: issues@maven.apache.org Message-ID: <32046371.17171.1279570772689.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <18869393.13136.1279137212438.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Commented: (MNG-4732) Version string validation MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229219#action_229219 ] Joerg Schaible commented on MNG-4732: ------------------------------------- I've been bitten by it: WebLogic comes with jars named like "foo+ssl.jar". Although you can deploy it with this artifactId, you cannot add it to your dependencies, since Maven complains about the invalid artifactId at dependency resolution. And it is no wonder, that it is not supported, since '+' decodes to space as part of a URL. > Version string validation > ------------------------- > > Key: MNG-4732 > URL: http://jira.codehaus.org/browse/MNG-4732 > Project: Maven 2 & 3 > Issue Type: Improvement > Components: POM > Affects Versions: 3.0-beta-1 > Reporter: Paul Gier > Assignee: Benjamin Bentmann > Priority: Minor > Fix For: 3.0-beta-2 > > > If a / character is accidentally put into a version string it can cause some weird results. Maven installs and deploys some nameless (.jar, -sources.jar, etc) files without an error messages. This can be a bit tricky to track down, so it would be better if Maven did some validation on the version string to prevent the '/' character or other invalid characters. -- 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