SONAR-6517 do not package the xml libs provided by Java 1.7+

xml-apis.jar and stax-api.jar do not need to be packaged into distribution nor to be defined as dependencies of sonar-plugin-api.
This commit is contained in:
Simon Brandhof 2015-05-17 15:29:54 +02:00
parent 56a80500c3
commit 7f852552da
2 changed files with 21 additions and 0 deletions

14
pom.xml
View File

@ -835,6 +835,13 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
<exclusions>
<exclusion>
<!-- provided by Java 1.7 -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
@ -941,6 +948,13 @@
<groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-lgpl</artifactId>
<version>4.4.0</version>
<exclusions>
<exclusion>
<!-- provided by Java 1.7 -->
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.staxmate</groupId>

View File

@ -59,6 +59,13 @@
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<exclusions>
<exclusion>
<!-- provided by Java 1.7 -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>