Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-248

Upgrading maven-enforcer-plugin to 1.4.1 breaks maven-assembly-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 1.4.1
    • Plugin
    • None

    Description

      After upgrading m-e-p from 1.4 to 1.4.1 the maven-assembly-plugin generates the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (assemble) on project extjars: Execution assemble of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed. NullPointerException -> [Help 1]

      Downgrading to m-e-p 1.4 makes the assembly work again.

      Sample pom & assembly that expose the error attached.

      When called via:
      mvn -Dplugins.maven-enforcer-plugin.version=1.4
      a zip file is generated as expected, when called via
      mvn -Dplugins.maven-enforcer-plugin.version=1.4.1
      (or without argument) you will get the NPE.

      Attachments

        1. extjars.xml
          1 kB
          hakamairi
        2. pom.xml
          4 kB
          hakamairi

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              hakamairi hakamairi
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: