Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-158

Allow shading of test jar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • None

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              dpilato David Pilato
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: