Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1111

xml-apis and xerces jars should be in scope:provided

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • None
    • 3.0 RC3
    • build
    • None

    Description

      ... because they are either provided by the jre (>=1.5) or by the container. i.e, they shouldn't be in the war file.

      Eventhough I've just changed the scope of these in magnolia's main pom, this doesn't really work, for various reasons:

      • jackrabbit and openwfe declared their dependencies to xml-apis / xerces in scope:compile, and for some reason, they still end up in the war file (maven logs a warning when it's changing the scope of xerces to provided but it seems to stay in :compile anyways, and I don't think it even mentions anything regarding xml-apis)
      • the dependencies report (or the war plugin) seems to also be buggy, since it reports that xercesImpl-2.6.2 is used, while
        • magnolia declares version 2.8.0 (this was changed from 2.6.2 to 2.80 in r5989)
        • version 2.4.0 ends up in the war file

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD