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

David Pilato commented on MSHADE-158:
-------------------------------------

Hey Olivier,

I tried your branch but it was not working as I was expecting.
So I did a patch on top of your branch here: 
https://github.com/olamy/maven-plugins/pull/1

With this, I get the shaded test jar as I was expecting. I did test this test 
jar on another project and everything went fine.

Let me know if I can help more.
Thanks for looking into this!
                
> 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