RAT-158: Applying patch to manually exclude xerces from doxia.
- It's unknown how long a doxia-patch will take; added TODO in pom.xml to
remove it in the future.
- Thanks to Hervé Boutemy.
git-svn-id: https://svn.apache.org/repos/asf/creadur/rat/trunk@1659943 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index fb61ad2..3455089 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -6,6 +6,8 @@
* We've integrated Rat into the ASF Jenkins to ensure continuous builds with various JDK versions.
* Issues resolved (see http://issues.apache.org/jira):
Bug
+ * [RAT-158] - Fix SAX-Parser warning by explicitly excluding xerces in Doxia 1.2.
+ (thanks to Hervé Boutemy)
* [RAT-173] - Allow complete skip of RAT plugin with rat.skip property
(thanks to Chris Burroughs)
* [RAT-174] - CDDL1License still very slow, replace Pattern matching with simple String comparison
diff --git a/apache-rat-plugin/pom.xml b/apache-rat-plugin/pom.xml
index 66b57ae..2f38268 100644
--- a/apache-rat-plugin/pom.xml
+++ b/apache-rat-plugin/pom.xml
@@ -180,6 +180,12 @@
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-core</artifactId>
<version>${doxiaVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
@@ -205,6 +211,7 @@
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>1.1</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
diff --git a/pom.xml b/pom.xml
index c9b3fe8..972a04b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -298,6 +298,19 @@
<artifactId>apache-rat-plugin</artifactId>
<!-- Must use previous version, to avoid a cyclic reference -->
<version>${previousRatVersion}</version>
+ <dependencies><!-- TODO remove exclusion when upgrading to new ASF parent or doxia release (RAT-158) -->
+ <dependency>
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-core</artifactId>
+ <version>1.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
<configuration>
<excludes>
<!-- This file only describes how to build the project and it has no license header -->