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

Shade relocate output jar not easily available to other modules in multi-module build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • None
    • None

    Description

      We discovered this very strange behavior in xbean.

      check out https://svn.apache.org/repos/asf/geronimo/xbean/trunk rev 778992

      The xbean-asm-shaded module is used in the xbean-reflect module.

      in the xbean-asm-shaded pom, comment out the antrun plugin configuration – it's the bizarre workaround for this problem.

      Building xbean-asm-shaded always gets the expected content in the jar however these contents are not visible to xbean-reflect and the build fails.

      As noted about running the antrun plugin to unjar the output into classes (in xbean-asm-shaded) seems to fix the problem.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              djencks David Jencks
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: