You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shoji Kuzukami (JIRA)" <ji...@apache.org> on 2015/07/13 16:40:04 UTC

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

Shoji Kuzukami created MSHADE-199:
-------------------------------------

             Summary: 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: Question
    Affects Versions: 2.4
         Environment: Win 8.1 Pro 64bit, Eclipse Mars, Java 8 64bit
            Reporter: Shoji Kuzukami
             Fix For: waiting-for-feedback


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
(v6.3.4#6332)