Maven Ear Plugin
  1. Maven Ear Plugin
  2. MEAR-17

Jar files packed in the EAR file should also be added to application.xml or manifest.mf

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      While attempting to package an EAR for deployment on JBoss I have come across a (for me) major issue with the way this module works.

      The issue is that there are a lot dependency jars included by default. That by itself isn't the problem. The problem is there is no way to include it in the classpath without defining all the dependencies again in the pom.xml for the EAR.

      In an ideal world (for me) the jars would be an easy way to add the jars to the classpath since I want to include all I need in the EAR to make it as easy as possible to set up a depoyment environment.

      There are really two options for how to do that. Either the jar files are added to the generated Manifest.MF file or else there should be a simple option to include all packed jar files to the application.xml. Both should (AFAIK) work in any standard-compliant container.

      The option of putting all the jar files in APP-INF/lib only works on Weblogic.

        Issue Links

          Activity

          Kristoffer Peterhänsel created issue -
          Stephane Nicoll made changes -
          Field Original Value New Value
          Assignee Stephane Nicoll [ sni ]
          Brett Porter made changes -
          Workflow Maven [ 46602 ] Maven New [ 52006 ]
          Stephane Nicoll made changes -
          Fix Version/s 2.2 [ 12146 ]
          mchesney made changes -
          Link This issue is related to MWAR-9 [ MWAR-9 ]
          mchesney made changes -
          Link This issue is related to MWAR-21 [ MWAR-21 ]
          Stephane Nicoll made changes -
          Fix Version/s 2.2 [ 12146 ]
          Stephane Nicoll made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:57:13 UTC 2015 [ 1428227833271 ]
          Mark Thomas made changes -
          Link This issue relates to MWAR-9 [ MWAR-9 ]
          Mark Thomas made changes -
          Link This issue relates to MWAR-21 [ MWAR-21 ]
          Mark Thomas made changes -
          Workflow jira [ 12720234 ] Default workflow, editable Closed status [ 12750152 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:36:55 UTC 2015 [ 1428277015909 ]
          Mark Thomas made changes -
          Link This issue relates to MWAR-21 [ MWAR-21 ]
          Mark Thomas made changes -
          Link This issue relates to MWAR-9 [ MWAR-9 ]
          Mark Thomas made changes -
          Workflow jira [ 12957868 ] Default workflow, editable Closed status [ 12994802 ]
          Mark Thomas made changes -
          Assignee sni [ sni ] Stephane Nicoll [ snicoll ]

            People

            • Assignee:
              Stephane Nicoll
              Reporter:
              Kristoffer Peterhänsel
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development