Peter De Maeyer created MSHADE-285:
--------------------------------------
Summary: It should be possible to shade test sources as a JAR
Key: MSHADE-285
URL: https://issues.apache.org/jira/browse/MSHADE-285
Project: Maven Shade Plugin
Issue Type: Improvement
Affects Versions: 3.1.0
Reporter: Peter De Maeyer
The configuration option {{createSourcesJar}} allows to shade sources JAR, but
there is no such option for test sources.
I see two solutions:
# Extend the semantics of {{createSourcesJar}} such that, when combined with
{{shadeTestJar}}, is also creates the _test_ sources JAR.
# Introduce a new configuration option {{createTestSourcesJar}}, similar to
{{createSourcesJar}}.
The former is very intuitive, but it lacks the flexibility to create a JAR,
sources JAR, test JAR, but _no_ test sources JAR. The latter allows more
flexibility.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)