Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-455

Invalid dependent module archive name for EJB artifact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.7
    • WTP support
    • None
    • Maven 2.0.8, JDK 1.5.0_14, Win XP SP3, Version: 3.3.2
    • Patch

    Description

      For an EAR WTP module the file org.eclipse.wst.common.component is not being generated correctly if there are dependent EJB modules. The suffix of the arhcive name is set to .ejb instead of .jar

      The problem is in the class AbstractWtpResourceWriter.addDependency(...) line 182

      archiveName = dep.getEclipseProjectName() + "." + dep.getType();

      so for EJB modules this will produce for example:

      <dependent-module archiveName="ejb-module-1.0.ejb" ...
      instead of
      <dependent-module archiveName="ejb-module-1.0.jar" ...

      Best regards,
      Leander

      Attachments

        1. MECLIPSE-455-TestCase.patch
          5 kB
          Steffen Grunwald
        2. MECLIPSE-455.patch
          1 kB
          Steffen Grunwald

        Issue Links

          Activity

            People

              aheritier Arnaud Heritier
              lreimer M.-Leander Reimer
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: