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)