maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-4732) Version string validation
Date Mon, 19 Jul 2010 20:19:32 GMT

    [ 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

        

Mime
View raw message