Skip to content

Commit

Permalink
build(deps): bump org.sonarsource.java:java-frontend from 7.21.0.3179…
Browse files Browse the repository at this point in the history
…6 to 7.24.0.32100 (#92)

* build(deps): bump org.sonarsource.java:java-frontend

Bumps [org.sonarsource.java:java-frontend](https://github.com/SonarSource/sonar-java) from 7.21.0.31796 to 7.24.0.32100.
- [Release notes](https://github.com/SonarSource/sonar-java/releases)
- [Commits](SonarSource/sonar-java@7.21.0.31796...7.24.0.32100)

---
updated-dependencies:
- dependency-name: org.sonarsource.java:java-frontend
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: 单测错误

* fix: JDK版本

* fix: 允许build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Leibniz.Hu <leibnizhu@gmail.com>
  • Loading branch information
dependabot[bot] and Leibnizhu authored Aug 25, 2023
1 parent 14aa237 commit 886fd03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
git fetch --all --tags
git checkout tags/${{ env.TAG_NAME }} -b ${{ env.TAG_NAME }}-tmp-branch
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
java-version: 17

- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
git fetch --all --tags
git checkout tags/${{ env.TAG_NAME }} -b ${{ env.TAG_NAME }}-tmp-branch
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
java-version: 17
server-id: sonatype-nexus
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void associateProjectToQualityProfile(String profile, String project) {
public static PmdTestOrchestrator init() {
Configuration config = Configuration.createEnv();
SonarDistribution distribution = new SonarDistribution()
.useDefaultAdminCredentialsForBuilds(true)
.setVersion(determineSonarqubeVersion())
.addPluginLocation(MavenLocation.create(
"org.sonarsource.java",
Expand All @@ -113,6 +114,6 @@ private static String determineJavaPluginVersion() {
}

private static String determineSonarqubeVersion() {
return System.getProperty(SONAR_VERSION_KEY, "LATEST_RELEASE[9.4]");
return System.getProperty(SONAR_VERSION_KEY, "LATEST_RELEASE[9.9]");
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<assertj.version>3.24.2</assertj.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<staxmate.version>2.0.1</staxmate.version>
<java.frontend.version>7.21.0.31796</java.frontend.version>
<java.frontend.version>7.24.0.32100</java.frontend.version>
<guava.version>32.1.1-jre</guava.version>
<sslr.squid.bridge.version>2.7.1.392</sslr.squid.bridge.version>
<jdom.version>1.0</jdom.version>
Expand Down

0 comments on commit 886fd03

Please sign in to comment.