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

Benjamin Bentmann closed MRELEASE-267.
--------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 2.0-beta-8

Applied in [r659301|http://svn.apache.org/viewvc?view=rev&revision=659301], 
thanks René!

> Whitespaces in artifactId or groupId prevent version update
> -----------------------------------------------------------
>
>                 Key: MRELEASE-267
>                 URL: http://jira.codehaus.org/browse/MRELEASE-267
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: René Link
>            Assignee: Benjamin Bentmann
>             Fix For: 2.0-beta-8
>
>         Attachments: Maven Release Plugin.patch
>
>
> If you have a dependency in your pom that contains whitespaces within the 
> artifactId or groupId the dependency version will not be updated during a 
> release:perform.
> This circumstance can occur when you are using code formattors on xml files 
> (pretty print).
> <dependencies>
>       ...
>       <dependency>
>                   <groupId>
>                            de.testpackage
>                    </groupId>
>                   <artifactId>
>                             someartifactId
>                   </artifactId>
>                   <version>2.1.4-SNAPSHOT
>       </dependency>
>       ...
> </dependencies>
> The reason is that the 
> org.apache.maven.shared.release.phase.AbstractRewritePomsPhase class does not 
> use the normalize-space xpath function
> on the selected tag.
> I have attached a patch that is based on revision 556926 (release plugin 
> version 2.0-beta7)

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


Reply via email to