You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2021/03/03 12:43:06 UTC
[uima-uimaj] 03/03: [UIMA-6322] Clean up rat configuration
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch feature/UIMA-6322-Clean-up-rat-configuration-v2
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit 37ba9e63459b9dce113f4a329753be5d8c4becce
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon Mar 1 19:31:43 2021 +0100
[UIMA-6322] Clean up rat configuration
- Remove rat excludes which are already included in the parent POM
---
pom.xml | 43 ++++++++++++++++++++++---------------------
uimaj-parent/pom.xml | 45 ++++++++++++++++++---------------------------
2 files changed, 40 insertions(+), 48 deletions(-)
diff --git a/pom.xml b/pom.xml
index c591575..3561bb1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -230,15 +230,30 @@
</executions>
</plugin>
- <plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>uima-distr</id>
+ <configuration>
+ <descriptors>
+ <descriptor>${assemblyBinDescriptor}</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
- <goals><goal>check</goal></goals>
- <phase>verify</phase>
- <!-- default configuration -->
+ <!-- default configuration -->
<configuration>
<excludes combine.children="append">
<exclude>src/main/resources/docbook-shared/titlepage/*.xsl</exclude>
@@ -268,23 +283,9 @@
</configuration>
</execution>
</executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>uima-distr</id>
- <configuration>
- <descriptors>
- <descriptor>${assemblyBinDescriptor}</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<profiles>
diff --git a/uimaj-parent/pom.xml b/uimaj-parent/pom.xml
index 0950914..ae0dfb0 100644
--- a/uimaj-parent/pom.xml
+++ b/uimaj-parent/pom.xml
@@ -177,34 +177,25 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <goals><goal>check</goal></goals>
- <phase>verify</phase>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>verify</phase>
<!-- default configuration -->
- <configuration>
- <excludes combine.children="append">
- <exclude>.factorypath</exclude>
- <exclude>.idea/**</exclude>
- <!-- Eclipse launch files - no need for a license -->
- <exclude>**/run_configuration/*.launch</exclude>
- <!-- Maven profile trigger files -->
- <exclude>marker-file-identifying-*</exclude>
- <!-- Generated files -->
- <exclude>release.properties</exclude>
- <exclude>issuesFixed/**</exclude>
- <exclude>DEPENDENCIES</exclude>
- <!-- Simple documentation files not requiring an explicit licenese -->
- <exclude>README*</exclude>
- <exclude>RELEASE_NOTES*</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
+ <configuration>
+ <excludes combine.children="append">
+ <!-- Eclipse launch files - no need for a license -->
+ <exclude>**/run_configuration/*.launch</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>