Skip to content

Commit

Permalink
Update dependencies and plugins
Browse files Browse the repository at this point in the history
- Update the `maven-core` dependency to `3.9.9`
- Update `maven-resolver-connector-basic` and `maven-resolver-transport-http` dependencies to `1.9.22`
- Update the `gradle-tooling-api` dependency to `8.10`
- Update the `github-api` dependency to `1.324`
- Update the `commons-cli` dependency to `1.9.0`
- Update the `junit-jupiter` dependency to `5.11.0`
- Update `mockito-core` and `mockito-junit-jupiter` dependencies to `5.13.0`
- Update the `maven-pmd-plugin` plugin to `3.25.0`
- Update `maven-surefire-plugin` and `maven-failsafe-plugin` plugins to `3.5.0`
- Update the `maven-javadoc-plugin` plugin to `3.10.0`
- Update the `maven-gpg-plugin` plugin to `3.2.5`
  • Loading branch information
AlexisJehan committed Aug 29, 2024
1 parent 166ca87 commit 304563b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 20 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@
## 1.7.0 (unreleased)

### Notes
- Update the `maven-core` dependency to `3.9.9`
- Update `maven-resolver-connector-basic` and `maven-resolver-transport-http` dependencies to `1.9.22`
- Update the `gradle-tooling-api` dependency to `8.10`
- Update the `github-api` dependency to `1.324`
- Update the `commons-cli` dependency to `1.9.0`
- Update the `junit-jupiter` dependency to `5.11.0`
- Update `mockito-core` and `mockito-junit-jupiter` dependencies to `5.13.0`
- Update the `maven-pmd-plugin` plugin to `3.25.0`
- Update `pmd-core` and `pmd-java` dependencies to `7.4.0`
- Update the `maven-javadoc-plugin` plugin to `3.8.0`
- Update `maven-surefire-plugin` and `maven-failsafe-plugin` plugins to `3.5.0`
- Update the `maven-javadoc-plugin` plugin to `3.10.0`
- Update the `maven-gpg-plugin` plugin to `3.2.5`

## [1.6.2](https://github.com/AlexisJehan/MvnCheck/releases/tag/v1.6.2) (2024-07-16)

Expand Down
32 changes: 16 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,46 +72,46 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.9.8</version>
<version>3.9.9</version>
</dependency>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-connector-basic</artifactId>
<version>1.9.20</version> <!-- Based on "org.apache.maven:maven-core:3.9.8" -->
<version>1.9.22</version> <!-- Based on "org.apache.maven:maven-core:3.9.9" -->
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-transport-http</artifactId>
<version>1.9.20</version> <!-- Based on "org.apache.maven:maven-core:3.9.8" -->
<version>1.9.22</version> <!-- Based on "org.apache.maven:maven-core:3.9.9" -->
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.gradle</groupId>
<artifactId>gradle-tooling-api</artifactId> <!-- From the "gradle" repository -->
<version>8.9</version>
<version>8.10</version>
</dependency>
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
<version>1.323</version>
<version>1.324</version>
</dependency>
<dependency>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-annotation</artifactId> <!-- From the "jenkins" repository -->
<version>1.29</version> <!-- Based on "org.kohsuke:github-api:1.323" -->
<version>1.29</version> <!-- Based on "org.kohsuke:github-api:1.324" -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version> <!-- Based on "org.kohsuke:github-api:1.323" -->
<version>4.8.6</version> <!-- Based on "org.kohsuke:github-api:1.324" -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.8.0</version>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
Expand Down Expand Up @@ -145,7 +145,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.3</version>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -157,13 +157,13 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.12.0</version>
<version>5.13.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.12.0</version>
<version>5.13.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -222,7 +222,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.24.0</version>
<version>3.25.0</version>
<executions>
<execution>
<id>pmd-check</id>
Expand Down Expand Up @@ -266,7 +266,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<argLine>${argLine} -Xshare:off -XX:+EnableDynamicAgentLoading</argLine>
Expand All @@ -275,7 +275,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
<executions>
<execution>
<id>failsafe-integration-test</id>
Expand Down Expand Up @@ -364,7 +364,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<version>3.10.0</version>
<executions>
<execution>
<id>javadoc-jar</id>
Expand Down Expand Up @@ -436,7 +436,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<version>3.2.5</version>
<executions>
<execution>
<id>gpg-sign</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* <p>Enumeration of <i>Gradle</i> artifact types.</p>
* <p><b>Note</b>: Based on {@code org.gradle:gradle-tooling-api:8.9}.</p>
* <p><b>Note</b>: Based on {@code org.gradle:gradle-tooling-api:8.10}.</p>
* @see <a href="https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management">https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management</a>
* @see <a href="https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph">https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph</a>
* @since 1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* <p>Enumeration of <i>Maven</i> artifact types.</p>
* <p><b>Note</b>: Based on {@code org.apache.maven:maven-core:3.9.8}.</p>
* <p><b>Note</b>: Based on {@code org.apache.maven:maven-core:3.9.9}.</p>
* @see <a href="https://maven.apache.org/ref/current/maven-model/maven.html">https://maven.apache.org/ref/current/maven-model/maven.html</a>
* @since 1.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ final class GradleBuildResolverIT {

@Test
void testUpToDate() {
assertThat(GradleUtils.VERSION).startsWith("8.9"); // Ensure tests are up-to-date after updating Gradle
assertThat(GradleUtils.VERSION).startsWith("8.10"); // Ensure tests are up-to-date after updating Gradle
}

@ParameterizedTest
Expand Down Expand Up @@ -150,6 +150,13 @@ void testResolveSinceGradle68UntilJava22(final String gradleVersion, @TempDir fi
testResolveSinceGradle68(gradleVersion, tmpDirectory);
}

@ParameterizedTest
@EnabledForJreRange(max = JRE.JAVA_23)
@ValueSource(strings = "8.10")
void testResolveSinceGradle68UntilJava23(final String gradleVersion, @TempDir final Path tmpDirectory) {
testResolveSinceGradle68(gradleVersion, tmpDirectory);
}

private void testResolveUntilGradle67(final String gradleVersion, final Path tmpDirectory) {
try (var mockedStaticGradleUtils = Mockito.mockStatic(GradleUtils.class)) {
mockedStaticGradleUtils.when(GradleUtils::retrieveOptionalHome)
Expand Down

0 comments on commit 304563b

Please sign in to comment.