You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by le...@apache.org on 2023/07/20 13:23:39 UTC
[incubator-baremaps] 01/02: Configure maven rat
This is an automated email from the ASF dual-hosted git repository.
leonardcs pushed a commit to branch 731-configure-maven-rat
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 45faa05169e6aed5debe7e804751fd2ec22b2631
Author: Leonard <le...@gmail.com>
AuthorDate: Thu Jul 20 15:21:38 2023 +0200
Configure maven rat
---
pom.xml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index fa029f47..8ff050e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -134,6 +134,7 @@
<version.plugin.os-maven-plugin>1.7.0</version.plugin.os-maven-plugin>
<version.plugin.protobuf-maven-plugin>0.6.1</version.plugin.protobuf-maven-plugin>
<version.plugin.spotless-maven-plugin>2.33.0</version.plugin.spotless-maven-plugin>
+ <apache-rat-plugin.version>0.15</apache-rat-plugin.version> <!-- overrides parent -->
</properties>
<dependencyManagement>
@@ -653,7 +654,15 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.15</version>
+ <version>${apache-rat-plugin.version}</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<!-- This allows to manage exclusions in parent module.
This messes some default exclusions based on basedir for submodules (e.g target folder),
@@ -664,6 +673,12 @@
<exclude>.run/</exclude>
<exclude>.github/</exclude>
<exclude>.mvn/</exclude>
+ <!-- no header required -->
+ <exclude>LICENSE</exclude>
+ <exclude>NOTICE</exclude>
+ <exclude>DISCLAIMER-WIP</exclude>
+ <!-- not included in release, tests -->
+ <exclude>**/test/**</exclude>
</excludes>
</configuration>
</plugin>