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

Upgrading maven-enforcer-plugin from 1.2 to 1.3 breaks maven-assembly-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.3
    • 1.3.1
    • None
    • None
    • Ubuntu 12.04 fully patched / Maven 3.0.5 / Oracle Java 1.7.0_25

    Description

      After upgrading m-e-p from 1.2 to 1.3 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.2 makes the assembly work again.

      Sample pom & assembly that expose the error attached.

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

      Attachments

        1. pom.xml
          4 kB
          Wolf Geldmacher
        2. extjars.xml
          1 kB
          Wolf Geldmacher

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              wjg Wolf Geldmacher
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: