You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jiajing Lu (Jira)" <ji...@apache.org> on 2022/04/28 06:22:00 UTC
[jira] [Created] (MNG-7467) Compilation failure with relocated transitive dependency
Jiajing Lu created MNG-7467:
-------------------------------
Summary: Compilation failure with relocated transitive dependency
Key: MNG-7467
URL: https://issues.apache.org/jira/browse/MNG-7467
Project: Maven
Issue Type: Bug
Components: Core
Affects Versions: 3.8.5
Environment: Ubuntu and/or MacOS
Reporter: Jiajing Lu
The latest version maven 3.8.5 failed to compile modules with relocated transitive dependency.
I've created a minimal repo to reproduce the issue,
[https://github.com/lujiajing1126/maven3-relocate-transitive-dependency]
The "API" submodule declares a `google/guava` dependency and relocates it with shade plugin, while the "Service" module use "API" as a dependency.
The CI show the code can be compiled with version <=3.8.4, including
* 3.8.4
* 3.8.1
* 3.6.3
* 3.5.4
But it failed the maven-3.8.5 case.
I'm not sure whether it is a regression or a new feature/bugfix.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)