File tree Expand file tree Collapse file tree 11 files changed +19
-14
lines changed
maven-plugin-testing-harness/src
main/java/org/apache/maven
test/java/org/apache/maven/plugin/testing Expand file tree Collapse file tree 11 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19- package org .apache .maven .plugin .testing . junit5 ;
19+ package org .apache .maven .api . plugin .testing ;
2020
2121import java .lang .annotation .Retention ;
2222import java .lang .annotation .RetentionPolicy ;
Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19- package org .apache .maven .plugin .testing . junit5 ;
19+ package org .apache .maven .api . plugin .testing ;
2020
2121import java .io .BufferedReader ;
2222import java .io .File ;
Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19- package org .apache .maven .plugin .testing . junit5 ;
19+ package org .apache .maven .api . plugin .testing ;
2020
2121import java .lang .annotation .Repeatable ;
2222import java .lang .annotation .Retention ;
Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19- package org .apache .maven .plugin .testing . junit5 ;
19+ package org .apache .maven .api . plugin .testing ;
2020
2121import java .lang .annotation .Retention ;
2222import java .lang .annotation .RetentionPolicy ;
Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19- package org .apache .maven .plugin .testing . junit5 ;
19+ package org .apache .maven .api . plugin .testing ;
2020
2121import java .lang .annotation .ElementType ;
2222import java .lang .annotation .Retention ;
Original file line number Diff line number Diff line change 3636import java .util .Properties ;
3737
3838import com .google .inject .Module ;
39+ import org .apache .maven .api .plugin .testing .MojoTest ;
3940import org .apache .maven .artifact .Artifact ;
4041import org .apache .maven .artifact .DefaultArtifact ;
4142import org .apache .maven .artifact .handler .DefaultArtifactHandler ;
8990 * descriptor and make this entirely declarative!
9091 *
9192 * @deprected As of version 3.4.0, it is advised to work with JUnit5 tests which do not
92- * use this class but {@link org.apache.maven.plugin.testing.junit5. MojoTest}
93+ * use this class but {@link MojoTest}
9394 * instead.
9495 *
9596 * @author jesse
Original file line number Diff line number Diff line change 2222import java .io .InputStream ;
2323import java .util .Map ;
2424
25+ import org .apache .maven .api .plugin .testing .MojoExtension ;
2526import org .apache .maven .execution .DefaultMavenExecutionRequest ;
2627import org .apache .maven .execution .MavenExecutionRequest ;
2728import org .apache .maven .execution .MavenSession ;
5354 * {@link WithoutMojo} to prevent the rule from firing.
5455 *
5556 * @deprected As of version 3.4.0, it is advised to work with JUnit5 tests which do not
56- * use rules but extensions {@link org.apache.maven.plugin.testing.junit5. MojoExtension}
57+ * use rules but extensions {@link MojoExtension}
5758 * instead.
5859 *
5960 * @author Mirko Friedenhagen
Original file line number Diff line number Diff line change 2222import java .lang .annotation .Retention ;
2323import java .lang .annotation .Target ;
2424
25+ import org .apache .maven .api .plugin .testing .MojoExtension ;
26+
2527import static java .lang .annotation .ElementType .METHOD ;
2628import static java .lang .annotation .RetentionPolicy .RUNTIME ;
2729
3032 * An annotation for test methods that do not require the {@link MojoRule} to create and tear down the instance.
3133 *
3234 * @deprected As of version 3.4.0, it is advised to work with JUnit5 tests which do not
33- * use rules but extensions {@link org.apache.maven.plugin.testing.junit5. MojoExtension}
35+ * use rules but extensions {@link MojoExtension}
3436 * instead.
3537 *
3638 * @author Mirko Friedenhagen
Original file line number Diff line number Diff line change 2424import java .util .Set ;
2525import java .util .TreeSet ;
2626
27+ import org .apache .maven .api .plugin .testing .MojoExtension ;
2728import org .codehaus .plexus .util .DirectoryScanner ;
2829import org .codehaus .plexus .util .FileUtils ;
2930import org .junit .Assert ;
3536 * Junit4 test {@link Rule} to extract and assert test resources.
3637 *
3738 * @deprected As of version 3.4.0, it is advised to work with JUnit5 tests which do not
38- * use rules but extensions {@link org.apache.maven.plugin.testing.junit5. MojoExtension}
39+ * use rules but extensions {@link MojoExtension}
3940 * instead.
4041 *
4142 * @since 3.1.0
Original file line number Diff line number Diff line change 2121import java .io .StringReader ;
2222import java .util .Map ;
2323
24- import org .apache .maven .plugin .testing . junit5 .MojoTest ;
24+ import org .apache .maven .api . plugin .testing .MojoTest ;
2525import org .codehaus .plexus .configuration .PlexusConfiguration ;
2626import org .codehaus .plexus .util .xml .Xpp3Dom ;
2727import org .codehaus .plexus .util .xml .Xpp3DomBuilder ;
You can’t perform that action at this time.
0 commit comments