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)