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

Default value of parameter 'dependencyReducedPomLocation' broken.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.7
    • 1.7.1
    • None

    Description

      Upgrading the shade plugin from '1.6' to '1.7' breaks relative paths similar to MSHADE-23. This is due to an incorrect/missing default value for parameter 'dependencyReducedPomLocation'.

      /**
       * @parameter expression="${dependencyReducedPomLocation}" defaultValue="${basedir}/dependency-reduced-pom.xml"
       */
      private File dependencyReducedPomLocation;
      

      Should read 'default-value' instead of 'defaultValue'. Manually specifying

      <dependencyReducedPomLocation>${basedir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
      

      solves this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            schulte77 Christian Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: