[Geoserver-devel] [jira] Created: (GEOS-4685) xercesImpl indecision

xercesImpl indecision
---------------------

                 Key: GEOS-4685
                 URL: https://jira.codehaus.org/browse/GEOS-4685
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 2.1.1
            Reporter: Ian Schneider
            Assignee: Andrea Aime

Various versions of xercesImpl are referenced by poms in projects. This breaks things when running local (single) tests in maven and more importantly, Netbeans which uses maven.

Geotools is using 2.7.1. Unless there is a specific problem or need, this seems to be a reasonable choice.

I changed the top-level to 2.7.1 and everything seems to work. I also tested excel by forcing it to use 2.7.1. The main issue encountered w/ 2.4 being present is the infamous 'java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z' error.

grep -H -A2 -r xercesImpl --include pom.xml .
./release/pom.xml: <artifactId>xercesImpl</artifactId>
./release/pom.xml- <version>2.6.2</version>
--
./pom.xml: <artifactId>xercesImpl</artifactId>
./pom.xml- <version>2.4.0</version>
--
./pom.xml: <artifactId>xercesImpl</artifactId>
./pom.xml- <version>2.6.2</version>
--
./extension/excel/pom.xml: <artifactId>xercesImpl</artifactId>
./extension/excel/pom.xml- <version>2.9.1</version>
--
./main/pom.xml: <artifactId>xercesImpl</artifactId>
./main/pom.xml- </dependency>
--
./community/dbconfig/pom.xml: <artifactId>xercesImpl</artifactId>
./community/dbconfig/pom.xml- </exclusion>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira