Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pmd 7 pmd7 merge master #489

Open
wants to merge 147 commits into
base: pmd-7-pmd7
Choose a base branch
from
Open

Pmd 7 pmd7 merge master #489

wants to merge 147 commits into from

Conversation

stokpop
Copy link
Collaborator

@stokpop stokpop commented Dec 9, 2024

To review the merge of master into pmd-7-pmd7 branch.

This includes updating dependencies, except those that would update the sonar qube version to run against.

This merge moves away from PMD 7.0.0-SNAPSHOT to PMD 7.8.0. There are quite some changes in API and removed rules.

We need to pay attention to the set of rules that is still present: can we remove more (deprecated) references?
And the other way around: are there new rules that should be included? (we may do this is a later update?)

There seems to be an issue with renamed rules, currently some rules are commented out to cope with that. Search for PMD7-MIGRATION comments.

dependabot bot and others added 30 commits June 9, 2022 04:42
Bumps [maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 1.6 to 3.0.1.
- [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
- [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-1.6...maven-gpg-plugin-3.0.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-gpg-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.0.0-M1 to 3.1.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](apache/maven-enforcer@enforcer-3.0.0-M1...enforcer-3.1.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
available again from Sonar marketplace
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.2.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.2.0...maven-javadoc-plugin-3.4.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
attribute name should use rule.ruleKey().rule()
Bumps [sonar-orchestrator](https://github.com/SonarSource/orchestrator) from 3.37.0.87 to 3.40.0.183.
- [Release notes](https://github.com/SonarSource/orchestrator/releases)
- [Commits](SonarSource/orchestrator@3.37.0.87...3.40.0.183)

---
updated-dependencies:
- dependency-name: org.sonarsource.orchestrator:sonar-orchestrator
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.2 to 5.9.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](junit-team/junit5@r5.8.2...r5.9.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [java-frontend](https://github.com/SonarSource/sonar-java) from 7.12.0.29739 to 7.16.0.30901.
- [Release notes](https://github.com/SonarSource/sonar-java/releases)
- [Commits](SonarSource/sonar-java@7.12.0.29739...7.16.0.30901)

---
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>
Bumps assertj-core from 3.22.0 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bump maven-gpg-plugin from 1.6 to 3.0.1
Bump maven-enforcer-plugin from 3.0.0-M1 to 3.1.0
Bump maven-javadoc-plugin from 3.2.0 to 3.4.1
Bump sonar-orchestrator from 3.37.0.87 to 3.40.0.183
Bump junit-jupiter from 5.8.2 to 5.9.2
Bump java-frontend from 7.12.0.29739 to 7.16.0.30901
Bump assertj-core from 3.22.0 to 3.24.2
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.5.1 to 5.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v4.5.1...v5.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bump mockito-core from 4.5.1 to 5.0.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.4.1...maven-javadoc-plugin-3.5.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 2.22.2 to 3.0.0.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](apache/maven-surefire@surefire-2.22.2...surefire-3.0.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [maven-release-plugin](https://github.com/apache/maven-release) from 2.5.3 to 3.0.0.
- [Release notes](https://github.com/apache/maven-release/releases)
- [Commits](apache/maven-release@maven-release-2.5.3...maven-release-3.0.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-release-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [sonar-orchestrator](https://github.com/SonarSource/orchestrator) from 3.40.0.183 to 3.42.0.312.
- [Release notes](https://github.com/SonarSource/orchestrator/releases)
- [Commits](SonarSource/orchestrator@3.40.0.183...3.42.0.312)

---
updated-dependencies:
- dependency-name: org.sonarsource.orchestrator:sonar-orchestrator
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.8 to 0.8.9.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](jacoco/jacoco@v0.8.8...v0.8.9)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mockito-core](https://github.com/mockito/mockito) from 5.0.0 to 5.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.0.0...v5.3.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…en.plugins-maven-javadoc-plugin-3.5.0

Bump maven-javadoc-plugin from 3.4.1 to 3.5.0
…en.plugins-maven-surefire-plugin-3.0.0

Bump maven-surefire-plugin from 2.22.2 to 3.0.0
Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](apache/maven-enforcer@enforcer-3.1.0...enforcer-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
stokpop and others added 27 commits April 26, 2024 13:07
…en.plugins-maven-gpg-plugin-3.2.4

Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.4
…en.plugins-maven-failsafe-plugin-3.2.5

Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.5
…en.plugins-maven-enforcer-plugin-3.4.1

Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1
…e.java-java-frontend-7.34.0.35958

Bump org.sonarsource.java:java-frontend from 7.30.0.34429 to 7.34.0.35958
…ator.version-4.9.0.1920

Bump sonar-orchestrator.version from 4.7.1.1872 to 4.9.0.1920
version.sonar-packaging.plugin to 1.23.0.740
sonarQubeMinVersion 9.8 to pluginApiMinVersion 9.9
Update sonar-plugin-api-impl.version > 9.9.4.87374
sonar-plugin-api.version > 9.14.0.375
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.1.0-jre to 33.2.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…va-guava-33.2.0-jre

build(deps): bump com.google.guava:guava from 33.1.0-jre to 33.2.0-jre
…ade sonar.maven.plugin, init PmdTestOrchestrator for each PmdIT test run
@stokpop stokpop requested a review from jborgers December 9, 2024 11:00
Copy link
Owner

@jborgers jborgers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should discuss the consequences of the rule key change of this plugin being 'pmd7', while the previous plugin used pmd 6 with 'pmd' key

}

private static String determineSonarqubeVersion() {
return System.getProperty(SONAR_VERSION_KEY, "LATEST_RELEASE[9.4]");
return System.getProperty(SONAR_VERSION_KEY, "LATEST_RELEASE[9.8]");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moet dit niet 10.x zijn inmiddels?

@@ -298,12 +298,6 @@
<repositoryKey>pmd7</repositoryKey>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ik denk dat deze key gaat zorgen voor een gehele rule definitie re-fresh! Want Kotlin regels konden zo naast java regels bestaan.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we use a separate key for kotlin? e.g. pmd-kotlin? To avoid same rule name clashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants