Skip to content

Commit

Permalink
Fix projectKey for sonar and publish snapshots to our own nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDrivenMitch committed Aug 24, 2023
1 parent 2b4ac32 commit c73a78f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
if: matrix.sonar-enabled
run: |
./mvnw -B -Dstyle.color=always sonar:sonar \
-Dsonar.projectKey=console-framework-client \
-Dsonar.projectKey=AxonIQ_console-framework-client \
-Dsonar.organization=axoniq \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ success() && matrix.sonar-enabled && github.event.pull_request.head.repo.full_name == github.repository }}
run: |
./mvnw -B -Dstyle.color=always sonar:sonar \
-Dsonar.projectKey=console-framework-client \
-Dsonar.projectKey=AxonIQ_console-framework-client \
-Dsonar.organization=axoniq \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@

<distributionManagement>
<snapshotRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<uniqueVersion>true</uniqueVersion>
<id>axoniq-nexus</id>
<url>https://nexus.dev.axoniq.net/repository/products-snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<repository>
<id>sonatype</id>
Expand Down

0 comments on commit c73a78f

Please sign in to comment.