[ 
https://issues.apache.org/jira/browse/MNG-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811799#comment-17811799
 ] 

Slawomir Jaranowski commented on MNG-8033:
------------------------------------------

# What output do you expect for your example?
# versions-m-p is a separated project at MojoHaus, so issues should be reported 
here: https://github.com/mojohaus/versions/issues

> versions:set does not consider relocations
> ------------------------------------------
>
>                 Key: MNG-8033
>                 URL: https://issues.apache.org/jira/browse/MNG-8033
>             Project: Maven
>          Issue Type: Bug
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> If one performs a {code}mvn versions:set -DnewVersion=<..>{code} then items 
> in a relocation section are not updated e.g. this should both be updated if 
> version matches:
> {code}
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd"; 
> xmlns="http://maven.apache.org/POM/4.0.0";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   <modelVersion>4.0.0</modelVersion>
>   <parent>
>     <artifactId>tycho-extras</artifactId>
>     <groupId>org.eclipse.tycho.extras</groupId>
>     <version>4.0.5-SNAPSHOT</version>
>   </parent>
>   <artifactId>tycho-eclipserun-plugin</artifactId>
>   <packaging>maven-plugin</packaging>
>       <prerequisites>
>               <maven>${minimal-maven-version}</maven>
>       </prerequisites>
>    <distributionManagement>
>     <relocation>
>       <groupId>org.eclipse.tycho</groupId>
>       <artifactId>tycho-eclipse-plugin</artifactId>
>       <version>4.0.5-SNAPSHOT</version>
>       <message>The eclipse-run mojo is now part of the 
> tycho-eclipse-plugin</message>
>     </relocation>
>   </distributionManagement>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to