You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter De Maeyer (Jira)" <ji...@apache.org> on 2019/11/09 15:57:00 UTC

[jira] [Created] (MSHADE-333) Shading sources uses hardcoded classifier "sources"

Peter De Maeyer created MSHADE-333:
--------------------------------------

             Summary: Shading sources uses hardcoded classifier "sources"
                 Key: MSHADE-333
                 URL: https://issues.apache.org/jira/browse/MSHADE-333
             Project: Maven Shade Plugin
          Issue Type: Bug
    Affects Versions: 3.2.1
            Reporter: Peter De Maeyer


Shading sources only works for the default classifier "sources".
The [maven-source-plugin|https://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html] can be configured to use a different classifier with the optional parameter {{<classifier>}}, but then shading no longer works.
Ideally, shading of sources should adopt/recognize the classifier(s) of the project(s).

The root cause is that the classifier "sources" is hard-coded in {{ShadeMojo}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)