diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 381f5a4..084086c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,6 +13,7 @@ on: branches: [ "main" ] paths: - 'src/**' + - 'pom.xml' jobs: build: diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 31ed645..641fc49 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -6,6 +6,8 @@ on: - main paths: - 'src/**' + - 'pom.xml' + pull_request: types: [opened, synchronize, reopened] jobs: diff --git a/pom.xml b/pom.xml index a0290ab..271ce13 100644 --- a/pom.xml +++ b/pom.xml @@ -49,39 +49,6 @@ brenoepic https://sonarcloud.io - - - coverage - - - - org.jacoco - jacoco-maven-plugin - 0.8.11 - - - prepare-agent - - prepare-agent - - - - report - - report - - - - XML - - - - - - - - - org.apache.logging.log4j @@ -201,7 +168,6 @@ true central - true @@ -209,6 +175,11 @@ maven-surefire-plugin 3.2.5 + + org.jacoco + jacoco-maven-plugin + 0.8.11 +