maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MDEP-235) includeArtifactIds fails to handle internal spaces
Date Fri, 01 Jan 2010 04:08:55 GMT

     [ http://jira.codehaus.org/browse/MDEP-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Tran closed MDEP-235.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Dan Tran  (was: Brian Fox)

fixed at

Revision: 894970
Author: dantran
Date: 8:08:00 PM, Thursday, December 31, 2009
Message:
[MDEP-235] Better handling of comma separated string configurations
----
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/ArtifactItem.java
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/utils/TestDependencyUtil.java



> includeArtifactIds fails to handle internal spaces
> --------------------------------------------------
>
>                 Key: MDEP-235
>                 URL: http://jira.codehaus.org/browse/MDEP-235
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.0, 2.1
>            Reporter: Kenneth Flynn
>            Assignee: Dan Tran
>             Fix For: 2.2
>
>
> This works:
> A,B,C,D
> but this does not:
> A, B, C, D
> It looks like the values after the split are not being String.trim()'ed. Users are likely
to include the spaces since comma delimited normally does not count those internal spaces.
> It's likely that this affects the other similar arguments, although I haven't confirmed
that.

-- 
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