diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 23bf4619..a18b21d3 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -13,4 +13,4 @@ jobs: with: java-version: '11' - name: Build project with Maven - run: mvn install + run: mvn -B -ntp install diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f93abc3a..1e91f616 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,14 +17,14 @@ jobs: with: java-version: '11' - name: Build project with Maven - run: mvn install + run: mvn -B -ntp install - name: Sonarcloud analysis env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=devonfw_devon4j + run: mvn -B -ntp org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=devonfw_devon4j - name: Deploy to OSSRH nexus env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - run: mvn --settings .mvn/settings.xml -DskipTests=true -Darchetype.test.skip=true -Dmaven.install.skip=true deploy + run: mvn --settings .mvn/settings.xml -DskipTests=true -Darchetype.test.skip=true -Dmaven.install.skip=true -B -ntp deploy