Skip to content

fix: move central-publishing-maven-plugin to release profile so SNAPS… #20

fix: move central-publishing-maven-plugin to release profile so SNAPS…

fix: move central-publishing-maven-plugin to release profile so SNAPS… #20

Workflow file for this run

name: SonarCloud Java
on:
push:
branches: [java]
paths: ['src/**', 'pom.xml']
pull_request:
branches: [java]
jobs:
sonar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '25'
cache: 'maven'
- name: Build and generate coverage
run: mvn clean verify -B
- name: SonarCloud analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: >
mvn sonar:sonar -B
-Dsonar.projectKey=RandomCodeSpace_code-iq-java
-Dsonar.organization=randomcodespace
-Dsonar.host.url=https://sonarcloud.io