File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
src/test/java/org/apache/maven/plugin/compiler Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ under the License.
23
23
<parent >
24
24
<groupId >org.apache.maven.plugins</groupId >
25
25
<artifactId >maven-plugins</artifactId >
26
- <version >43 </version >
26
+ <version >44 </version >
27
27
<relativePath />
28
28
</parent >
29
29
@@ -84,6 +84,7 @@ under the License.
84
84
<dependency >
85
85
<groupId >org.apache.maven.plugin-tools</groupId >
86
86
<artifactId >maven-plugin-annotations</artifactId >
87
+ <version >${version.maven-plugin-tools} </version >
87
88
<scope >provided</scope >
88
89
</dependency >
89
90
<!-- Maven -->
Original file line number Diff line number Diff line change 37
37
import static org .apache .maven .plugin .compiler .MojoTestUtils .getMockMojoExecution ;
38
38
import static org .apache .maven .plugin .compiler .MojoTestUtils .getVariableValueFromObject ;
39
39
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 ;
41
46
import static org .mockito .ArgumentMatchers .startsWith ;
42
47
import static org .mockito .Mockito .mock ;
43
48
import static org .mockito .Mockito .never ;
Original file line number Diff line number Diff line change 39
39
import static org .apache .maven .plugin .compiler .MojoTestUtils .getMockMojoExecution ;
40
40
import static org .apache .maven .plugin .compiler .MojoTestUtils .getVariableValueFromObject ;
41
41
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 ;
43
45
44
46
@ MojoTest
45
47
class TestCompilerMojoTest {
You can’t perform that action at this time.
0 commit comments