You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/04/28 07:33:00 UTC

[jira] [Commented] (MNG-7467) Compilation failure with relocated transitive dependency

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

Michael Osipov commented on MNG-7467:
-------------------------------------

Show the failure.

> 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
>            Priority: Major
>
> 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 uses "API" as a dependency.
> The CI shows the code can be compiled with maven <=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)