Skip to content

Commit

Permalink
automate release for sonar-pmd with github actions #320 - remove skip…
Browse files Browse the repository at this point in the history
…Tests, include integration-test in deploy, 4rd try - did not work yet
  • Loading branch information
stokpop committed May 11, 2022
1 parent 6a5ed4f commit 23239b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSWORD }}
run: |
./mvnw -DskipTests --batch-mode -P release deploy
./mvnw --batch-mode -P release deploy
5 changes: 3 additions & 2 deletions integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<!-- prevent deploy of integration test -->
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
<!-- prevent deploy of integration test: 'true' does not work as all modules are
skipped when the last module is skipped, integration-test is last module -->
<skipNexusStagingDeployMojo>false</skipNexusStagingDeployMojo>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 23239b9

Please sign in to comment.