-
Improvement
-
Resolution: Won't Fix
-
Minor
-
None
-
3.0 RC3
-
None
... 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)
- http://jira.codehaus.org/browse/MNG-2420 : this should be fixed in maven 2.0.5, but in the meantime, excluding a transitive dependency prevents from being able to declare it in the current project.
- 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
Acceptance criteria
- is duplicated by
-
MAGNOLIA-1751 Remove dependency from xerces
- Closed