Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmay4 committed Feb 26, 2024
1 parent a44d43b commit c71ede4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: chmod +x ./mvnw

- name: Build with Maven
run: ./mvnw clean install
#
# - name: Run Sonar
# run: ./mvnw sonar:sonar
run: ./mvnw -B clean install

- name: Run Sonar
run: ./mvnw -B sonar:sonar
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Deploy to Maven Central
if: startsWith(github.ref, 'refs/tags/') # Only deploy releases to Maven Central
run: ./mvnw clean deploy --settings .github/maven/settings.xml
run: ./mvnw -B clean deploy --settings .github/maven/settings.xml
env:
OSSRH_USERNAME: ${{ secrets.NEXUS_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:

- name: Build and Deploy Snapshot
run: |
./mvnw versions:set -DnewVersion=${{ github.event.inputs.snapshotVersion }}
./mvnw clean deploy --settings .github/maven/settings-snapshot.xml
./mvnw -B versions:set -DnewVersion=${{ github.event.inputs.snapshotVersion }}
./mvnw -B clean deploy --settings .github/maven/settings-snapshot.xml
env:
OSSRH_USERNAME: ${{ secrets.NEXUS_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
18 changes: 11 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- SonarQube -->
<!-- <sonar.host.url>https://sonarcloud.io</sonar.host.url>-->
<!-- <sonar.projectName>reportability-screener</sonar.projectName>-->
<!-- <sonar.projectKey>imsweb_reportability-screener</sonar.projectKey>-->
<!-- <sonar.organization>imsweb</sonar.organization>-->
<!-- <sonar.java.source>${java.version}</sonar.java.source>-->
<!-- <sonar.sources>src/main</sonar.sources>-->
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectName>reportability-screener</sonar.projectName>
<sonar.projectKey>imsweb_reportability-screener</sonar.projectKey>
<sonar.organization>imsweb</sonar.organization>
<sonar.java.source>${java.version}</sonar.java.source>
<sonar.sources>src/main</sonar.sources>
</properties>

<distributionManagement>
Expand Down Expand Up @@ -99,10 +99,14 @@
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit c71ede4

Please sign in to comment.