You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoph Läubrich (Jira)" <ji...@apache.org> on 2024/01/29 09:07:00 UTC
[jira] [Created] (MNG-8033) versions:set does not consider relocations
Christoph Läubrich created MNG-8033:
---------------------------------------
Summary: 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
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)