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 2018/03/24 21:16:00 UTC

[jira] [Closed] (MSHADE-199) What is the effect of promoteTransitiveDependencies=true ?

     [ https://issues.apache.org/jira/browse/MSHADE-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSHADE-199.
---------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: waiting-for-feedback)

If you are seeking for help, go to the users mailing list.

> What is the effect of promoteTransitiveDependencies=true ?
> ----------------------------------------------------------
>
>                 Key: MSHADE-199
>                 URL: https://issues.apache.org/jira/browse/MSHADE-199
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Win 8.1 Pro 64bit, Eclipse Mars, Java 8 64bit
>            Reporter: Shoji Kuzukami
>            Priority: Major
>              Labels: documentation
>
> I have some experiments on my project building to use the Shade Plugin. But  there is no effect under 'promoteTransitiveDependencies=true' even if the dependencies in project has many transitive dependencies.
> Although I've looked for the evidence of effect by debugging the source code and seeing the tests of plugin, I fell that there is no clear difference between 'promoteTransitiveDependencies=true' and '=false'. Because  origDeps.equals(transitiveDeps)  is true in all cases for me under the code below in the ShadeMojo.java, and all tests using the parameter doesn't emphasize the difference of parameter .
>         if ( promoteTransitiveDependencies )
>         {
>             origDeps = transitiveDeps;
>         }
> It may be true that merely I cannot find a correct test or document for the parameter because I'm new to this project. If it is, close this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)