Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ env:
-nsu
-ntp
-ff
--threads 1C
MAVEN_BUILD_PROFILES: >-
-P include-grpc
-P skip-nifi-bin-assembly
Expand All @@ -57,12 +58,18 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Cache Maven Modules
uses: actions/cache@v3
with:
path: |
~/.m2/repository
# Cache Maven modules using a cache key different from setup-java steps
key: ${{ runner.os }}-maven-static-analysis-${{ hashFiles('**/pom.xml') }}
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Maven Build
run: >
mvn validate
Expand Down Expand Up @@ -91,9 +98,7 @@ jobs:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-npm16-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm16-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 17
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -148,9 +153,7 @@ jobs:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-npm16-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm16-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 11
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -205,9 +208,7 @@ jobs:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-npm16-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm16-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 8
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -268,9 +269,7 @@ jobs:
path: |
${{ steps.npm-cache-directory.outputs.directory }}
**/node_modules
key: ${{ runner.os }}-npm16-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm16-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 8
uses: actions/setup-java@v3
with:
Expand Down
14 changes: 4 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
Expand All @@ -724,14 +724,14 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>9.2.1</version>
<version>9.3</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
Expand Down Expand Up @@ -797,7 +797,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<executions>
<execution>
<id>enforce-maven-version</id>
Expand Down Expand Up @@ -975,12 +975,6 @@
</build>
</profile>
<profile>
<!-- Checks style and licensing requirements. This is a good
idea to run for contributions and for the release process. While it would
be nice to run always these plugins can considerably slow the build and have
proven to create unstable builds in our multi-module project and when building
using multiple threads. The stability issues seen with Checkstyle in multi-module
builds include false-positives and false negatives. -->
<id>contrib-check</id>
<build>
<plugins>
Expand Down