SONAR-4735 Remove the XML libs that are packaged with Java 6

This commit is contained in:
Simon Brandhof 2013-10-01 17:58:15 +02:00
parent 6f125c3328
commit cd96c5a2d6
6 changed files with 27 additions and 30 deletions

30
pom.xml
View File

@ -637,11 +637,6 @@
<version>${sonarJava.version}</version>
<type>sonar-plugin</type>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-all</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
@ -663,6 +658,7 @@
<version>10.0.1</version>
<exclusions>
<exclusion>
<!-- should be declared with scope provided -->
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
@ -771,6 +767,10 @@
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
@ -870,6 +870,10 @@
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
</exclusion>
<exclusion>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-asl</artifactId>
@ -984,6 +988,12 @@
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
<version>3.0.1</version>
<exclusions>
<exclusion>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
@ -1005,16 +1015,6 @@
<artifactId>junit</artifactId>
<version>4.10</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.1</version>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>

View File

@ -275,8 +275,8 @@
<configuration>
<rules>
<requireFilesSize>
<minsize>60000000</minsize>
<maxsize>65000000</maxsize>
<minsize>55000000</minsize>
<maxsize>60000000</maxsize>
<files>
<file>${project.build.directory}/sonar-${project.version}.zip</file>
</files>

View File

@ -42,6 +42,16 @@
<artifactId>pmd</artifactId>
<version>4.3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -122,14 +122,6 @@
<groupId>org.codehaus.staxmate</groupId>
<artifactId>staxmate</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>

View File

@ -77,10 +77,6 @@
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>

View File

@ -48,7 +48,6 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<exclusions>
<!-- removing commons lang 2.1 and xerces-->
<exclusion>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>