Maven Shade Plugin
  1. Maven Shade Plugin
  2. MSHADE-66

Creation of dependency reduced POM fails for project with uninstalled local parent using Maven 3

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When running the Shade Plugin with Maven 3, the plugin will fail to create the dependency reduced POM if the POM inherits from a parent that is not installed to the local repo but only available from the project checkout via <relativePath> and that parent is not part of the reactor build. The problem being that the plugin creates the dependency reduced POM in the target directory, thereby changing the base directory when it calls the project builder. This only works in Maven 2.x because of internal project caches which are not present in this form in 3.x

        Activity

        Hide
        Benjamin Bentmann added a comment -

        Fixed in r830522.

        Show
        Benjamin Bentmann added a comment - Fixed in r830522 .

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Benjamin Bentmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: