RAT-188 Fix build on Gump with Java8
* Adding patch from Mark Thomas and ReleaseNotes.
git-svn-id: https://svn.apache.org/repos/asf/creadur/rat/trunk@1638419 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index bafc8b1..fb61ad2 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -12,6 +12,9 @@
(thanks to Chris Burroughs)
* [RAT-175] - SourceCodeManagementSystems.hasIgnoreFile() should return boolean
* [RAT-177] - final arrays should be private
+ * [RAT-188] - Fix problems with AnimalSniffer-plugin when running in GUMP with Java 8.
+ Workaround for https://jira.codehaus.org/browse/MANIMALSNIFFER-45
+ (thanks to Mark Thomas)
Improvement
* [RAT-61] - List files with unapproved licenses in Maven output
* [RAT-170] - RAT should use itself during build and site generation
diff --git a/pom.xml b/pom.xml
index 6d9c097..79129ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -402,6 +402,14 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.11</version>
+ <dependencies>
+ <!-- Upgrade ASM and support Java 8 bytecode -->
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-all</artifactId>
+ <version>5.0.3</version>
+ </dependency>
+ </dependencies>
<executions>
<execution>
<!-- This checks the source code of our project -->