Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-267

Multiple "xalan" are present and other JSFUnit problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.Beta2
    • 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:

      1. xalan (use the existing xalan module; ban xalan:xalan)
      2. xerces (use existing module)
      3. xml APIs (use existing modules, ban xml-apis:xml-apis)
      4. commons-codec (add new org.apache.commons.codec module)
      5. commons-collections (")
      6. commons-io (")
      7. commons-lang (")
      8. commons-logging (use existing org.apache.commons.logging module, ban commons-logging:commons-logging)
      9. htmlunit (a single new net.sourceforge.htmlunit module for the two artifacts)
      10. nekohtml (add new net.sourceforge.nekohtml module)
      11. httpcomponents (a single new org.apache.httpcomponents module will suffice)
      12. james (add new org.apache.james module)
      13. sac (add new org.w3c.css.sac module)

      Also any non-essential dependencies should be removed, if any exist.

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: