Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4889

Improvements to maven-ear-plugin configuration of seam booking 2.3

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.0.ALPHA
    • Fix Version/s: 2.3.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      While testing seam booking with m2e-wtp/JBT, I noticed a few things you might want to fix wrt the maven-ear-plugin configuration :

      • maven-ear-plugin <version>2.3.2</version> is kinda obsolete, you can bump it to 2.6. Moreover, version is managed in a parent pom so could be removed altogether in the ear project.
      • EAR <version> is not set in <configuration>, so by default an application.xml 1.3 will be generated (and Facet 1.3 will be installed in WTP). You should set <version>5</version>
      • <earSourceExcludes>**/application.xml, **/jboss-app.xml</earSourceExcludes> was added when m2e-wtp was creating these files (like 2 years ago). I'd remove that now.
      • <generateApplicationXml>true</generateApplicationXml> is redundant (it's the default value) and can be removed

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                fbricon Fred Bricon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: