You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2019/12/17 19:57:00 UTC
[jira] [Resolved] (MSHADE-285) It should be possible to shade test
sources as a JAR
[ https://issues.apache.org/jira/browse/MSHADE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved MSHADE-285.
----------------------------------
Fix Version/s: 3.2.2
Resolution: Fixed
Thanks again Peter, excellent stuff!
> 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
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 3.2.2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)