Skip to content

Commit 26c71c0

Browse files
committed
Remove owasp checks
1 parent 09dd25c commit 26c71c0

4 files changed

Lines changed: 0 additions & 215 deletions

File tree

.github/workflows/ci-config.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -96,37 +96,6 @@ jobs:
9696
- name: Build the code with Maven
9797
run: mvn -B -ntp verify -Pwebsite javadoc:javadoc
9898

99-
dependencies:
100-
name: Dependency Check
101-
runs-on: ubuntu-latest
102-
strategy:
103-
matrix:
104-
java: [ 17 ]
105-
106-
steps:
107-
- uses: actions/checkout@v6
108-
109-
- name: Set up JDK ${{ matrix.java }}
110-
uses: actions/setup-java@v5
111-
with:
112-
distribution: 'temurin'
113-
java-version: ${{ matrix.java }}
114-
cache: 'maven'
115-
116-
- name: Generate Cache Name
117-
shell: bash
118-
run: echo "CACHE_NAME=$(date '+%y.%j')" >> $GITHUB_ENV
119-
120-
- name: Restore NVD data cache
121-
uses: actions/cache@v5
122-
with:
123-
key: nvd-data-${{ env.CACHE_NAME }}
124-
restore-keys: nvd-data-
125-
path: ./data/cache
126-
127-
- name: Verify dependencies
128-
run: mvn -B -ntp verify -Pdependencies -Dnvd.api.datafeed="file:${GITHUB_WORKSPACE}/data/cache/nvdcve-{0}.json.gz"
129-
13099
sonar:
131100
name: Sonar Scan
132101
runs-on: ubuntu-latest

.github/workflows/nvd-cache.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

build-tools/owasp/suppressions.xml

Lines changed: 0 additions & 66 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
<jar.plugin.version>3.5.0</jar.plugin.version>
5757
<javadoc.plugin.version>3.12.0</javadoc.plugin.version>
5858
<license.plugin.version>5.0.0</license.plugin.version>
59-
<owasp.plugin.version>12.2.0</owasp.plugin.version>
6059
<projectinfo.plugin.version>3.9.0</projectinfo.plugin.version>
6160
<pmd.plugin.version>3.28.0</pmd.plugin.version>
6261
<site.plugin.version>3.21.0</site.plugin.version>
@@ -81,10 +80,7 @@
8180
<wiremock.version>3.13.2</wiremock.version>
8281

8382
<!-- disable by default (enabled by profile in CI) -->
84-
<dependency-check.skip>true</dependency-check.skip>
8583
<archetype.test.skip>true</archetype.test.skip>
86-
<nvd.api.key />
87-
<nvd.api.datafeed />
8884

8985
<!-- sonar -->
9086
<sonar.coverage.jacoco.xmlReportPaths>${maven.multiModuleProjectDirectory}/reports/target/site/jacoco-merged/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
@@ -510,11 +506,6 @@
510506
</execution>
511507
</executions>
512508
</plugin>
513-
<plugin>
514-
<groupId>org.owasp</groupId>
515-
<artifactId>dependency-check-maven</artifactId>
516-
<version>${owasp.plugin.version}</version>
517-
</plugin>
518509
</plugins>
519510
</pluginManagement>
520511

@@ -615,31 +606,6 @@
615606
</execution>
616607
</executions>
617608
</plugin>
618-
<plugin>
619-
<groupId>org.owasp</groupId>
620-
<artifactId>dependency-check-maven</artifactId>
621-
<executions>
622-
<execution>
623-
<goals>
624-
<goal>check</goal>
625-
</goals>
626-
</execution>
627-
</executions>
628-
<configuration>
629-
<failBuildOnCVSS>7</failBuildOnCVSS>
630-
<ossIndexWarnOnlyOnRemoteErrors>true</ossIndexWarnOnlyOnRemoteErrors>
631-
<formats>
632-
<format>HTML</format>
633-
<format>JSON</format>
634-
<format>CSV</format>
635-
</formats>
636-
<suppressionFile>
637-
./build-tools/owasp/suppressions.xml
638-
</suppressionFile>
639-
<nvdApiKey>${nvd.api.key}</nvdApiKey>
640-
<nvdDatafeedUrl>${nvd.api.datafeed}</nvdDatafeedUrl>
641-
</configuration>
642-
</plugin>
643609
<plugin>
644610
<groupId>org.sonatype.central</groupId>
645611
<artifactId>central-publishing-maven-plugin</artifactId>
@@ -747,23 +713,6 @@
747713
</reportSet>
748714
</reportSets>
749715
</plugin>
750-
<plugin>
751-
<groupId>org.owasp</groupId>
752-
<artifactId>dependency-check-maven</artifactId>
753-
<version>${owasp.plugin.version}</version>
754-
<reportSets>
755-
<reportSet>
756-
<reports>
757-
<report>aggregate</report>
758-
</reports>
759-
</reportSet>
760-
</reportSets>
761-
<configuration>
762-
<suppressionFiles>
763-
<suppressionFile>./build-tools/owasp/suppressions.xml</suppressionFile>
764-
</suppressionFiles>
765-
</configuration>
766-
</plugin>
767716
</plugins>
768717
</reporting>
769718

@@ -838,18 +787,6 @@
838787
<archetype.test.skip>true</archetype.test.skip>
839788
</properties>
840789
</profile>
841-
<profile>
842-
<id>dependencies</id>
843-
<properties>
844-
<skipTests>true</skipTests>
845-
<pmd.skip>true</pmd.skip>
846-
<cpd.skip>true</cpd.skip>
847-
<dependency-check.skip>false</dependency-check.skip>
848-
<jacoco.skip>true</jacoco.skip>
849-
<checkstyle.skip>true</checkstyle.skip>
850-
<archetype.test.skip>true</archetype.test.skip>
851-
</properties>
852-
</profile>
853790
<profile>
854791
<id>java-21</id>
855792
<activation>

0 commit comments

Comments
 (0)