Skip to content

Commit b194e7b

Browse files
committed
fix
1 parent 9064092 commit b194e7b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ under the License.
8484
<dependency>
8585
<groupId>org.apache.maven.plugin-tools</groupId>
8686
<artifactId>maven-plugin-annotations</artifactId>
87+
<version>3.15.1</version>
8788
<scope>provided</scope>
8889
</dependency>
8990
<!-- Maven -->

src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@
3737
import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMojoExecution;
3838
import static org.apache.maven.plugin.compiler.MojoTestUtils.getVariableValueFromObject;
3939
import static org.apache.maven.plugin.compiler.MojoTestUtils.setVariableValueToObject;
40-
import static org.junit.jupiter.api.Assertions.*;
40+
import static org.junit.jupiter.api.Assertions.assertEquals;
41+
import static org.junit.jupiter.api.Assertions.assertFalse;
42+
import static org.junit.jupiter.api.Assertions.assertNotNull;
43+
import static org.junit.jupiter.api.Assertions.assertNull;
44+
import static org.junit.jupiter.api.Assertions.assertTrue;
45+
import static org.junit.jupiter.api.Assertions.fail;
4146
import static org.mockito.ArgumentMatchers.startsWith;
4247
import static org.mockito.Mockito.mock;
4348
import static org.mockito.Mockito.never;

src/test/java/org/apache/maven/plugin/compiler/TestCompilerMojoTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
import static org.apache.maven.plugin.compiler.MojoTestUtils.getMockMojoExecution;
4040
import static org.apache.maven.plugin.compiler.MojoTestUtils.getVariableValueFromObject;
4141
import static org.apache.maven.plugin.compiler.MojoTestUtils.setVariableValueToObject;
42-
import static org.junit.jupiter.api.Assertions.*;
42+
import static org.junit.jupiter.api.Assertions.assertEquals;
43+
import static org.junit.jupiter.api.Assertions.assertFalse;
44+
import static org.junit.jupiter.api.Assertions.assertTrue;
4345

4446
@MojoTest
4547
class TestCompilerMojoTest {

0 commit comments

Comments
 (0)