[ 
https://jira.codehaus.org/browse/MSHADE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=336026#comment-336026
 ] 

Olivier Lamy commented on MSHADE-158:
-------------------------------------

You can have a look at the code 
https://github.com/olamy/maven-plugins/commit/309a22fc473aebff6025d9adea5c42613dfdc884
It's in a branch of my fork on github

just add this configuration:
<shadeTestJar>true</shadeTestJar>

Please have a try and let us know.

                
> Allow shading of test jar
> -------------------------
>
>                 Key: MSHADE-158
>                 URL: https://jira.codehaus.org/browse/MSHADE-158
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>            Reporter: David Pilato
>
> Heya,
> I'm creating a project which builds two artifacts:
> * project.jar
> * project-tests.jar
> I'm using shade plugin to shade dependencies with package relocation. For 
> example, org.apache goes to com.company.apache package.
> So my project.jar contains relocated classes (com.company.apache).
> But my project-tests.jar still have links to original packages (and 
> dependencies).
> Could it be possible to have an option that shade tests jar as well?
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to