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

artifact extension set incorrectly in a multi-module build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.0.1
    • 2.0.2
    • None
    • None

    Description

      from the list...

      unfortunately MWAR-38 is not fully fixed - It still does not work in a
      multi-module build.
      We do have here the following structure:

      root
      jarmodule
      ejb
      webapp

      Running a "mvn package" inside the webapp module, the EJB-Client jar from
      the ejb module is resolved correctly and copied to WEB-INF/lib with the
      correct ".jar" ending.
      Running the "mvn package" from the root module, the ejb-client jar from the
      ejb module is resolved but copied with a ".ejb-client" ending, and not with
      ".jar".
      You can test this by using the "daytrader" example from the Maven book.

      Attachments

        Activity

          People

            jtolentino Ernesto S. Tolentino Jr.
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: