You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2022/04/22 16:42:06 UTC

[tomee] branch tomee-7.1.x updated: Minor: Updates GitHub Actions workflow to check RAT and Style

This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch tomee-7.1.x
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/tomee-7.1.x by this push:
     new 63f6979bb8 Minor: Updates GitHub Actions workflow to check RAT and Style
63f6979bb8 is described below

commit 63f6979bb8f3ed18dd2a5b5142fde412139ef5e6
Author: Richard Zowalla <13...@users.noreply.github.com>
AuthorDate: Fri Apr 22 18:41:57 2022 +0200

    Minor: Updates GitHub Actions workflow to check RAT and Style
---
 .../{main.yml => tomee-7.1.x-push-build.yml}        | 21 ++++++---------------
 pom.xml                                             | 12 ------------
 2 files changed, 6 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/tomee-7.1.x-push-build.yml
similarity index 74%
rename from .github/workflows/main.yml
rename to .github/workflows/tomee-7.1.x-push-build.yml
index b8fc3ce1a8..5b0f4d821d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/tomee-7.1.x-push-build.yml
@@ -1,4 +1,4 @@
-name: CI tomee-7.1.x
+name: CI 7.1.x
 
 on:
   push:
@@ -24,24 +24,15 @@ jobs:
       uses: actions/cache@v2
       with:
         path: ~/.m2
-        key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-        restore-keys: ${{ runner.os }}-m2
+        key: ${{ runner.os }}-tomee7.1.x-m2-${{ hashFiles('**/pom.xml') }}
+        restore-keys: ${{ runner.os }}-tomee7.1.x-m2
 
     - name: maven-settings-xml-action
       run: echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd\"> <activeProfiles> <activeProfile>github</activeProfile> </activeProfiles> <profiles> <profile> <id>github</id> <repositories> <repository> <id>central-repo</id> <url>https://repo.maven.apache.org/maven2</url> <releases> <enabled>true</enabled> </relea [...]
 
-    - name: Compile without tests
-      run: mvn help:system -U --show-version --fail-at-end clean install -DfailIfNoTests=false -DskipTests
-      env:
-        MAVEN_OPTS: -Xmx2048m
-    
-    - name: Checkstyle
-      run: mvn help:system -U --show-version --fail-at-end checkstyle:check -Pstyle
-      env:
-        MAVEN_OPTS: -Xmx2048m
-        
-    - name: PMD
-      run: mvn help:system -U --show-version --fail-at-end pmd:check -Pstyle
+    - name: Compile with Sanity checks
+      run: mvn help:system -U --show-version --fail-at-end clean install -DfailIfNoTests=false -DskipTests -Pstyle,rat
       env:
         MAVEN_OPTS: -Xmx2048m
         
+g
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index f87d6b6543..0fcd43b6eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -701,18 +701,6 @@
     </profile>
     <profile>
       <id>rat</id>
-      <modules>
-        <module>itests</module>
-        <module>maven</module>
-        <module>gradle</module>
-        <module>container</module>
-        <module>server</module>
-        <module>examples</module>
-        <module>arquillian</module>
-        <module>assembly</module>
-        <module>utils</module>
-        <module>tomee</module>
-      </modules>
       <build>
         <plugins>
           <plugin>