diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index f331ae15..0a5d853d 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -86,20 +86,20 @@ jobs: GPG_SECRET: ${{ secrets.GPG_SECRET }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} -# sonar_analysis: -# needs: build-mimoto -# if: "${{ github.event_name != 'pull_request' }}" -# uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master-java21 -# with: -# SERVICE_LOCATION: ./ -# secrets: -# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} -# ORG_KEY: ${{ secrets.ORG_KEY }} -# OSSRH_USER: ${{ secrets.OSSRH_USER }} -# OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} -# OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} -# GPG_SECRET: ${{ secrets.GPG_SECRET }} -# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} + sonar_analysis: + needs: build-mimoto + if: "${{ github.event_name != 'pull_request' }}" + uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master-java21 + with: + SERVICE_LOCATION: ./ + secrets: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + ORG_KEY: ${{ secrets.ORG_KEY }} + OSSRH_USER: ${{ secrets.OSSRH_USER }} + OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} + OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} + GPG_SECRET: ${{ secrets.GPG_SECRET }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} build-dockers: needs: recreate-zips diff --git a/pom.xml b/pom.xml index 45744040..23dbfb59 100644 --- a/pom.xml +++ b/pom.xml @@ -475,13 +475,14 @@ ${skipTests} false - --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED + ${argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.security.jca=ALL-UNNAMED --add-opens java.base/sun.security.util=ALL-UNNAMED --add-opens java.base/jdk.internal.util=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED + --illegal-access=permit @@ -491,13 +492,14 @@ ${maven.jacoco.version} + jacoco-initialize prepare-agent - report - prepare-package + jacoco-site + package report