Workaround for apache-rat-plugin 0.13 which doesn't accept https URLs
diff --git a/pom.xml b/pom.xml
index b2eccfa..51a0050 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,6 +160,17 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
+ <licenses>
+ <!-- TODO (low prio): Remove this simple workaround when Apache Rat 0.14 has been released. -->
+ <!-- See also: https://issues.apache.org/jira/browse/RAT-212 -->
+ <!-- and https://issues.apache.org/jira/browse/LEGAL-265 -->
+ <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20">
+ <notes>Also allow the license url to be https.</notes>
+ <patterns>
+ <pattern>https://www.apache.org/licenses/LICENSE-2.0</pattern>
+ </patterns>
+ </license>
+ </licenses>
<excludeSubProjects>true</excludeSubProjects>
<excludes>
<!-- MAVEN_DEFAULT_EXCLUDES -->