You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2021/01/20 09:20:31 UTC
[myfaces] branch 3.0.x updated: added checkstyle to 3.0.x build
more relaxed about Readme and *.iml files during rat check
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/3.0.x by this push:
new 2b9a275 added checkstyle to 3.0.x build more relaxed about Readme and *.iml files during rat check
new 80c09f1 Merge pull request #154 from bohmber/ci-improvements-3.0.x
2b9a275 is described below
commit 2b9a2755edce2f82048deebe48d73d52dc970f26
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Wed Jan 20 10:11:11 2021 +0100
added checkstyle to 3.0.x build
more relaxed about Readme and *.iml files during rat check
---
.github/workflows/myfaces-ci.yml | 6 +++++-
pom.xml | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/myfaces-ci.yml b/.github/workflows/myfaces-ci.yml
index 7459e62..d888b02 100644
--- a/.github/workflows/myfaces-ci.yml
+++ b/.github/workflows/myfaces-ci.yml
@@ -25,10 +25,14 @@ on:
branches:
- master
- 3.0.x
+ - 2.3-next
+ - 2.3.x
pull_request:
branches:
- master
- 3.0.x
+ - 2.3-next
+ - 2.3.x
workflow_dispatch:
jobs:
@@ -50,7 +54,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: |
- if ! mvn -B clean verify -Dformats=XML -f pom.xml; then
+ if ! mvn -B clean checkstyle:check verify -Dformats=XML -f pom.xml; then
find . \( -path '*/target/surefire-reports/*.xml' -o -path '*/target/failsafe-reports/*.xml' -o -path '*/target/rat.txt' -o -path '*/target/checkstyle-result.xml' -o -path '*/target/dependency-check-report.xml' \) | zip -q reports.zip -@
exit 1
fi
diff --git a/pom.xml b/pom.xml
index 7ff0385..5d0c306 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,7 +94,9 @@
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
+ <exclude>**/README.md</exclude>
<exclude>**/target/**/*</exclude>
+ <exclude>**/*.iml</exclude>
<!-- This file is created during a release and needs no licensing text -->
<exclude>DEPENDENCIES</exclude>
</excludes>