Skip to content

Commit 492f9b6

Browse files
committed
chore(ci): remove sonar cloud scan
1 parent 892effb commit 492f9b6

File tree

3 files changed

+13
-46
lines changed

3 files changed

+13
-46
lines changed

.github/workflows/continuous-delivery.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ jobs:
4141
exit -1
4242
fi
4343
44-
## Enable Caching
45-
- name: Cache SonarCloud packages
46-
uses: actions/cache@v4
47-
with:
48-
path: ~/.sonar/cache
49-
key: ${{ runner.os }}-sonar
50-
restore-keys: ${{ runner.os }}-sonar
51-
5244
- name: Set up JDK 21
5345
uses: actions/setup-java@v5
5446
with:
@@ -72,9 +64,8 @@ jobs:
7264
7365
- name: Perform build and analysis
7466
env:
75-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
76-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
77-
run: mvn $MAVEN_CLI_OPTS package org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
run: mvn $MAVEN_CLI_OPTS package
7869

7970
## Deploy
8071
- name: Deploy package

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v5
2626

27-
## Enable Caching
28-
- name: Cache SonarCloud packages
29-
uses: actions/cache@v4
30-
with:
31-
path: ~/.sonar/cache
32-
key: ${{ runner.os }}-sonar
33-
restore-keys: ${{ runner.os }}-sonar
34-
3527
- name: Set up JDK 21
3628
uses: actions/setup-java@v5
3729
with:
@@ -41,9 +33,8 @@ jobs:
4133

4234
- name: Perform build and analysis
4335
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
45-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
46-
run: mvn $MAVEN_CLI_OPTS verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
run: mvn $MAVEN_CLI_OPTS verify
4738

4839
- name: Notify Developers
4940
uses: 8398a7/action-slack@v3

pom.xml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,23 @@
4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5050
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5151

52-
<zip4j.version>2.11.5</zip4j.version>
53-
<slf4j.version>2.0.17</slf4j.version>
54-
55-
<poi.version>5.5.0</poi.version>
56-
<rtfparserkit.version>1.16.0</rtfparserkit.version>
57-
<commons.io.version>2.21.0</commons.io.version>
52+
<bouncycastle.version>1.82</bouncycastle.version>
5853
<commons-compress.version>1.28.0</commons-compress.version>
59-
<opennlp-tools.version>1.9.3</opennlp-tools.version>
60-
61-
<pdfbox.version>3.0.6</pdfbox.version>
62-
54+
<commons.io.version>2.21.0</commons.io.version>
6355
<jaxb-api.version>4.0.4</jaxb-api.version>
6456
<jaxb-core.version>4.0.6</jaxb-core.version>
6557
<jaxb-impl.version>4.0.6</jaxb-impl.version>
66-
58+
<opennlp-tools.version>1.9.3</opennlp-tools.version>
59+
<pdfbox.version>3.0.6</pdfbox.version>
60+
<poi.version>5.5.0</poi.version>
61+
<rtfparserkit.version>1.16.0</rtfparserkit.version>
62+
<slf4j.version>2.0.17</slf4j.version>
63+
<zip4j.version>2.11.5</zip4j.version>
6764
<!-- testing -->
68-
<junit.version>5.11.4</junit.version>
6965
<hamcrest.version>3.0</hamcrest.version>
7066
<jmock-junit5.version>2.13.1</jmock-junit5.version>
67+
<junit.version>5.11.4</junit.version>
7168
<log4j.version>2.25.2</log4j.version>
72-
73-
<!-- sonarcloud -->
74-
<sonar.projectKey>levigo_filetype-analyzer</sonar.projectKey>
75-
<sonar.organization>levigo</sonar.organization>
76-
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
77-
78-
<bouncycastle.version>1.82</bouncycastle.version>
7969
</properties>
8070

8171
<build>
@@ -233,11 +223,6 @@
233223
<artifactId>maven-javadoc-plugin</artifactId>
234224
<version>3.12.0</version>
235225
</plugin>
236-
<plugin>
237-
<groupId>org.sonarsource.scanner.maven</groupId>
238-
<artifactId>sonar-maven-plugin</artifactId>
239-
<version>5.3.0.6276</version>
240-
</plugin>
241226
</plugins>
242227
</pluginManagement>
243228
</build>

0 commit comments

Comments
 (0)