-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
The org.apache.xalan and org.apache.xerces modules are defined as:
<module-def name="org.apache.xalan">
<maven-resource group="org.apache.xalan" artifact="serializer"/>
<maven-resource group="org.apache.xalan" artifact="xalan"/>
</module-def>
<module-def name="org.apache.xerces">
<maven-resource group="xerces" artifact="xercesImpl"/>
</module-def>
however we also have:
<module-def name="org.jboss.jsfunit.core">
<maven-resource group="commons-codec" artifact="commons-codec"/>
<maven-resource group="commons-collections" artifact="commons-collections"/>
<maven-resource group="commons-io" artifact="commons-io"/>
<maven-resource group="commons-lang" artifact="commons-lang"/>
<maven-resource group="commons-logging" artifact="commons-logging"/>
<maven-resource group="net.sourceforge.cssparser" artifact="cssparser"/>
<maven-resource group="net.sourceforge.htmlunit" artifact="htmlunit"/>
<maven-resource group="net.sourceforge.htmlunit" artifact="htmlunit-core-js"/>
<maven-resource group="net.sourceforge.nekohtml" artifact="nekohtml"/>
<maven-resource group="org.apache.httpcomponents" artifact="httpclient"/>
<maven-resource group="org.apache.httpcomponents" artifact="httpcore"/>
<maven-resource group="org.apache.httpcomponents" artifact="httpmime"/>
<maven-resource group="org.apache.james" artifact="apache-mime4j"/>
<maven-resource group="org.jboss.jsfunit" artifact="jboss-jsfunit-core"/>
<maven-resource group="org.w3c.css" artifact="sac"/>
<maven-resource group="xalan" artifact="xalan"/>
<maven-resource group="xalan" artifact="serializer"/>
<maven-resource group="xerces" artifact="xercesImpl"/>
<maven-resource group="xml-apis" artifact="xml-apis"/>
</module-def>
JSFUnit should be using external modules, plus dependencies, for:
- xalan (use the existing xalan module; ban xalan:xalan)
- xerces (use existing module)
- xml APIs (use existing modules, ban xml-apis:xml-apis)
- commons-codec (add new org.apache.commons.codec module)
- commons-collections (")
- commons-io (")
- commons-lang (")
- commons-logging (use existing org.apache.commons.logging module, ban commons-logging:commons-logging)
- htmlunit (a single new net.sourceforge.htmlunit module for the two artifacts)
- nekohtml (add new net.sourceforge.nekohtml module)
- httpcomponents (a single new org.apache.httpcomponents module will suffice)
- james (add new org.apache.james module)
- sac (add new org.w3c.css.sac module)
Also any non-essential dependencies should be removed, if any exist.