Uploaded image for project: 'Maven EAR Plugin'
  1. Maven EAR Plugin
  2. MEAR-86

Add a property to automatically add jars dependencies into application.xml (TEST AND PATCH ATTACHED).

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2
    • None

    Description

      Before this issue resolution http://jira.codehaus.org/browse/MNG-826 , all jar dependencies were added into the application.xml. After the resolution, it was not added and a property was added on the javaModule element in order to add it into the application.xml.

      With a big ear project with a lot of direct or transitive dependencies, it is becoming really long and a source of errors when a transitive dependency is changing.
      My application server (JBoss 4.0.5GA) needs to add the jar modules in the application.xml.

      The default behaviour should not be changed, I added a property which includes all jar dependencies in the application.xml. If the property is not set, nothing changes.

      The patch was built against the ear plugin's trunk, it includes a test (project 43).

      Attachments

        1. jar-sample-three-with-deps-1.0.jar
          0.3 kB
          Thomas Recloux
        2. MEAR-86-maven-ear-plugin.patch
          4 kB
          Thomas Recloux
        3. MEAR-86-maven-ear-plugin-with_tests.patch
          9 kB
          Thomas Recloux

        Issue Links

          Activity

            People

              snicoll Stephane Nicoll
              trecloux Thomas Recloux
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: