Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-269

war fails to build while using m2e in workspace resolution mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.1
    • None
    • None
    • None
    • Patch

    Description

      This is my first time for an issue/patch submission. Apologies if I'm doing it wrong....

      When building in Eclipse using m2e in workspace resolution mode, the maven-war-plugin is not prepared for a "dependency" which isn't an assembly but is instead a folder containing the compiled classes from within the local workspace. I propose that if the incoming dependency happens to be a directory that it get packaged up and copied to the destination instead of blowing up with an exception.

      See attached patch for your review...

      Attachments

        1. screenshot-1.png
          182 kB
          Chris Gamache
        2. maven-war-plugin.patch
          3 kB
          Chris Gamache

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              iamchris Chris Gamache
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: