You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin used a lot of legacy code, misused Mojo test case
and used old Junit 3.x TestCase, and missed some
dependencies (junit mostly).
Changes:
* drop use of Junit 3 TestCase, use Junit4 everywhere
* fix misuses of AbstractMojoTestCase when it is NOT mojo being tested
* add missing junit test dep where missing
* drop legacy p-c-d, sisu using exclusions/replacements
* align JavaMojoDescriptorExtractorTest.java for semantic difference: current Shim returns empty list instead of null when no components (for null safety). Assers updated but semantic is same: "there are no components discovered".
Copy file name to clipboardExpand all lines: maven-plugin-tools-generators/src/test/java/org/apache/maven/tools/plugin/generator/GeneratorUtilsTest.java
Copy file name to clipboardExpand all lines: maven-plugin-tools-java/src/test/java/org/apache/maven/tools/plugin/extractor/javadoc/JavaMojoDescriptorExtractorTest.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ public void testAnnotationInPlugin()
0 commit comments