Skip to content

Commit

Permalink
Fjerner ubrukt org.sonarsource.scanner.maven:sonar-maven-plugin (#661)
Browse files Browse the repository at this point in the history
Fjerner ubrukt org.sonarsource.scanner.maven:sonar-maven-plugin
  • Loading branch information
dependabot[bot] authored Jan 25, 2024
1 parent b4b08c8 commit b43ef83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ jobs:
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Bygg med maven + sonar
- name: Bygg med maven
env:
SONAR_PROJECTKEY: ${{ secrets.SONAR_PROJECTKEY }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
GITHUB_USERNAME: x-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: mvn -B --no-transfer-progress package verify sonar:sonar --settings .m2/maven-settings.xml --file pom.xml
run: mvn -B --no-transfer-progress package verify --settings .m2/maven-settings.xml --file pom.xml
- name: Bygg Docker image
run: |
Expand Down
29 changes: 0 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
<cxf.version>4.0.2</cxf.version>

<mockk.version>1.13.5</mockk.version>
<!--suppress UnresolvedMavenProperty Ligger som secret i github-->
<sonar.projectKey>${SONAR_PROJECTKEY}</sonar.projectKey>
<sonar.organization>navit</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.coverage.exclusions>**/config/FlywayConfig.kt,**/OppdragServiceE2E.kt
</sonar.coverage.exclusions>
<!--suppress UnresolvedMavenProperty Ligger som secret i github-->
<sonar.login>${SONAR_LOGIN}</sonar.login>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<testcontainers.version>1.19.3</testcontainers.version>
<tjenestespesifikasjoner.version>1.0_20230718100517_1e1beb0</tjenestespesifikasjoner.version>
Expand Down Expand Up @@ -445,27 +437,6 @@
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<finalName>${project.artifactId}</finalName>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.9.1.2184</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.10</version>
<configuration>
<excludes>
<exclude>**/config/FlywayConfig.kt</exclude>
<exclude>**/config/OppdragMQConfig.kt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit b43ef83

Please sign in to comment.