Skip to content

Commit 1e5c04b

Browse files
committed
Update dependencies to fix CI pipeline
1 parent dfafa78 commit 1e5c04b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/code-quality.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,8 @@ jobs:
6363
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6464
restore-keys: ${{ runner.os }}-m2
6565
- name: Analyze dependencies
66-
# this will run the OWASP dependency checker only
67-
run: mvn -B verify -DskipTests -DnvdApiKey=${{ secrets.NVD_TOKEN }}
66+
env:
67+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
68+
OSS_INDEX_PASSWORD: ${{ secrets.OSS_INDEX_PASSWORD }}
69+
OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
70+
run: mvn dependency-check:check -DnvdApiKey=${{ secrets.NVD_TOKEN }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<plugin>
108108
<groupId>org.owasp</groupId>
109109
<artifactId>dependency-check-maven</artifactId>
110-
<version>10.0.2</version>
110+
<version>12.1.3</version>
111111
<executions>
112112
<execution>
113113
<goals>
@@ -217,7 +217,7 @@
217217
<dependency>
218218
<groupId>commons-cli</groupId>
219219
<artifactId>commons-cli</artifactId>
220-
<version>1.9.0</version>
220+
<version>1.10.0</version>
221221
</dependency>
222222
<dependency>
223223
<groupId>org.jacoco</groupId>

0 commit comments

Comments
 (0)