This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch maven-compiler-plugin-3.x in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/maven-compiler-plugin-3.x by this push: new 17949d1 Bump org.apache.maven.plugins:maven-plugins from 43 to 44 (#316) 17949d1 is described below commit 17949d1020970929796b240e99527bc206a65de0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Apr 4 23:35:35 2025 +0200 Bump org.apache.maven.plugins:maven-plugins from 43 to 44 (#316) Bumps [org.apache.maven.plugins:maven-plugins](https://github.com/apache/maven-parent) from 43 to 44. - [Release notes](https://github.com/apache/maven-parent/releases) - [Commits](https://github.com/apache/maven-parent/commits/v44) --- Signed-off-by: dependabot[bot] <supp...@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sylwester Lachiewicz <slachiew...@apache.org> --- pom.xml | 3 ++- .../java/org/apache/maven/plugin/compiler/CompilerMojoTest.java | 7 ++++++- .../org/apache/maven/plugin/compiler/TestCompilerMojoTest.java | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 11bb299..34d5971 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> - <version>43</version> + <version>44</version> <relativePath /> </parent> @@ -84,6 +84,7 @@ under the License. <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> + <version>${version.maven-plugin-tools}</version> <scope>provided</scope> </dependency> <!-- Maven --> diff --git a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTest.java b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTest.java index 8d852ba..70be493 100644 --- a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTest.java +++ b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTest.java @@ -37,7 +37,12 @@ import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMavenSession import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMojoExecution; import static org.apache.maven.plugin.compiler.MojoTestUtils.getVariableValueFromObject; import static org.apache.maven.plugin.compiler.MojoTestUtils.setVariableValueToObject; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.ArgumentMatchers.startsWith; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; diff --git a/src/test/java/org/apache/maven/plugin/compiler/TestCompilerMojoTest.java b/src/test/java/org/apache/maven/plugin/compiler/TestCompilerMojoTest.java index 31a2e2a..a415b76 100644 --- a/src/test/java/org/apache/maven/plugin/compiler/TestCompilerMojoTest.java +++ b/src/test/java/org/apache/maven/plugin/compiler/TestCompilerMojoTest.java @@ -39,7 +39,9 @@ import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMavenSession import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMojoExecution; import static org.apache.maven.plugin.compiler.MojoTestUtils.getVariableValueFromObject; import static org.apache.maven.plugin.compiler.MojoTestUtils.setVariableValueToObject; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; @MojoTest class TestCompilerMojoTest {