Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<name>SonarScanner Java Library - Batch</name>

<properties>
<sonarQubeVersion>26.11.0.134175</sonarQubeVersion>
<sonarQubeVersion>26.12.0.136340</sonarQubeVersion>
<sonarScannerEngineVersion>26.4.0.121862</sonarScannerEngineVersion>
</properties>

Expand Down Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>org.sonarsource.api.plugin</groupId>
<artifactId>sonar-plugin-api</artifactId>
<version>14.3.0.5639</version>
<version>14.4.0.5671</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion its/it-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>org.sonarsource.orchestrator</groupId>
<artifactId>sonar-orchestrator-junit4</artifactId>
<version>6.4.4.4797</version>
<version>6.4.5.4956</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.12.1</version>
<version>1.13.0</version>
</dependency>
Comment on lines 138 to 142

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Edge Case: extra-enforcer-rules 1.13.0 needs Maven 3.9.0; declared minimum is 3.3.9

The 1.13.0 release notes say this version needs Maven 3.9.0 or later. This project inherits org.sonarsource.parent:parent:88.0.0.3367, whose requireMavenVersion rule enforces maven.min.version 3.3.9 (parent POM). So after this bump, building lib with Maven 3.3.9–3.8.x still passes the declared version check. It then fails at verify, when the enforce-runtime-java-compatibility execution loads the new rule, and the error is unclear instead of the clear 'Maven too old' message. Nothing in the repo pins Maven: there is no .mvn wrapper, and CI gets Maven from the shared SonarSource actions. A fix is to raise the declared minimum in the root pom so the parent's check matches the new requirement, e.g. <maven.min.version>3.9.0</maven.min.version>.

Add this to the <properties> section of the root pom.xml so the inherited requireMavenVersion rule matches the new Maven requirement.:

<maven.min.version>3.9.0</maven.min.version>
  • Apply fix

Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎

</dependencies>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<!-- used for deployment to SonarSource Artifactory -->
<gitRepositoryName>sonar-scanner-java-library</gitRepositoryName>
<mockito.version>5.24.0</mockito.version>
<mockito.version>5.25.0</mockito.version>
<!-- Don't update to slf4j 2 to continue supporting the Scanner for Maven with Maven < 4 -->
<slf4j.version>1.7.36</slf4j.version>
</properties>
Expand Down
Loading