[ https://issues.apache.org/jira/browse/MSHADE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423100#comment-16423100 ]
Peter De Maeyer commented on MSHADE-285: ---------------------------------------- Feel free to assign back to me, I'd be happy to fix this myself if you agree with the solution. > 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 > Priority: Major > > 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)