[
https://issues.apache.org/jira/browse/MNG-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated MNG-7253:
---------------------------------
Fix Version/s: 4.0.0-alpha-2
> Relocation message is never shown
> ---------------------------------
>
> Key: MNG-7253
> URL: https://issues.apache.org/jira/browse/MNG-7253
> Project: Maven
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.8.2
> Reporter: George Gastaldi
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.8.3, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> The {{relocation}} element as defined in
> [https://maven.apache.org/ref/3.8.2/maven-model/maven.html#class_relocation]
> shows that you can specify an additional message to show the user about the
> move, such as the reason.
> However this message is never shown while the relocated artifact is being
> resolved as a dependency.
>
> The message displayed instead is:
> https://github.com/apache/maven/blob/c3cf29438e3d65d6ee5c5726f8611af99d9a649a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java#L189-L196
> For example:
> {noformat}
> [WARNING] The artifact io.quarkus:quarkus-vertx-web:jar:999-SNAPSHOT has been
> relocated to io.quarkus:quarkus-reactive-routes:jar:999-SNAPSHOT.
> {noformat}
> when displaying the relocation message gives
> {noformat}
> [WARNING] The artifact io.quarkus:quarkus-vertx-web:jar:999-SNAPSHOT has been
> relocated to io.quarkus:quarkus-reactive-routes:jar:999-SNAPSHOT: The
> artifact quarkus-vertx-web is now named quarkus-reactive-routes. Please
> update your dependency.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)