Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-658

Assembly fails for multi-module project if webstart-maven-plugin is in use

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.4
    • None
    • dependencySet
    • None

    Description

      The mvn invocation I used is:
      mvn clean package

      I attach a simple test case of a multi-module project. If the acme-jnlp module is commented out in the parent POM then the project builds successfully. If the acme-jnlp module is not commented out, then the assembly of acme-dist fails because of a NullPointerException.

      acme-dist and acme-war to not rely on the artifacts generated by acme-jnlp. The mere fact that the plugin is executed causes the later module assembly to fail.

      Modules have the following purposes:
      acme-parent: parent project which contains the module
      acme-jnlp: create JNLP and ZIP files not used by any other modules
      acme-war: create a .WAR file
      acme-dist: use assembly plugin to create a .ZIP containing the .WAR
      acme-deploy: holds dependencies to other modules, but does nothing else

      Attachments

        1. npe-war-assebmbly.zip
          47 kB
          Robin Roos
        2. output.log
          309 kB
          Robin Roos

        Activity

          People

            tchemit Tony Chemit
            robinroos2 Robin Roos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: