You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aw...@apache.org on 2022/08/29 15:39:14 UTC
[yetus] branch main updated: YETUS-1194. upgrade Apache Creadur Rat project (#286)
This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new eae1cd12 YETUS-1194. upgrade Apache Creadur Rat project (#286)
eae1cd12 is described below
commit eae1cd12c0ec3cea58eea5ad0ef524535bb7e567
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Mon Aug 29 08:39:08 2022 -0700
YETUS-1194. upgrade Apache Creadur Rat project (#286)
---
.yetus/detsecrets-ignored-hashes.txt | 1 +
pom.xml | 3 ++-
precommit/src/main/shell/test-patch-docker/Dockerfile | 6 +++---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.yetus/detsecrets-ignored-hashes.txt b/.yetus/detsecrets-ignored-hashes.txt
index 08b12d52..3710259a 100644
--- a/.yetus/detsecrets-ignored-hashes.txt
+++ b/.yetus/detsecrets-ignored-hashes.txt
@@ -26,3 +26,4 @@ d8e18255635efa84e79bb9eaf2ffad3371a95288
3b3c84f10a63cb8e95b93ea5f46e02d885153f5d
c267b646441a206d44803d8cb20896c4a166cac2
f4d95a7d14e9c4c69afe28d54743222acbe04b74
+66defd532d6875b42111a786d7bf52bb8db61602
diff --git a/pom.xml b/pom.xml
index 3b75e00a..100f913a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,7 +72,7 @@
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
<maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
<maven-project-info-reports-plugin.version>3.1.2</maven-project-info-reports-plugin.version>
- <maven-rat-plugin.version>0.13</maven-rat-plugin.version>
+ <maven-rat-plugin.version>0.14</maven-rat-plugin.version>
<mockito.version>4.2.0</mockito.version>
<spotbugs-maven-plugin.version>4.4.1</spotbugs-maven-plugin.version>
@@ -252,6 +252,7 @@
<excludeSubprojects>false</excludeSubprojects>
<excludes>
<exclude>.mvn/maven.config</exclude>
+ <exclude>.gitattributes</exclude>
</excludes>
</configuration>
</plugin>
diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile
index e5e408ca..c725e235 100644
--- a/precommit/src/main/shell/test-patch-docker/Dockerfile
+++ b/precommit/src/main/shell/test-patch-docker/Dockerfile
@@ -102,13 +102,13 @@ RUN add-apt-repository -y ppa:longsleep/golang-backports \
# Install Apache Creadur RAT jar
####
FROM yetusbase AS yetusapacherat
-ARG APACHE_RAT_VERSION=0.13
+ARG APACHE_RAT_VERSION=0.14
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN mkdir -p /opt/apache-rat \
&& curl -f -s -L -o /tmp/rat.tgz \
- "https://dlcdn.apache.org/creadur/apache-rat-$APACHE_RAT_VERSION/apache-rat-$APACHE_RAT_VERSION-bin.tar.gz" \
+ "https://archive.apache.org/dist/creadur/apache-rat-$APACHE_RAT_VERSION/apache-rat-$APACHE_RAT_VERSION-bin.tar.gz" \
&& shasum -a 512 /tmp/rat.tgz \
- | awk '$1!="2c1e12eace7b80a9b6373c2f5080fbf63d3fa8d9248f3a17bd05de961cd3ca3c4549817b8b7320a84f0c323194edad0abdb86bdfec3976227a228e2143e14a54" {exit(1)}' \
+ | awk '$1!="17119289839dc573dd29039ca09bd86f729f1108308f6681292125418fd7bceeaf7d1a40b83eb01daf7d3dd66fbcc0a68d5431741314e748f7b878e8967459e9" {exit(1)}' \
&& tar --strip-components 1 -C /opt/apache-rat -xpzf /tmp/rat.tgz \
&& rm /tmp/rat.tgz \
&& mv /opt/apache-rat/apache-rat-$APACHE_RAT_VERSION.jar /opt/apache-rat/apache-rat.jar