From b8b9a466aa6dbbb0c8b0f4f602f07382c7c8693e Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Mon, 28 Apr 2014 21:37:03 +0000 Subject: [PATCH] [MPLUGIN-242] reverted unit test in r1590803 since it breaks actual maven-plugin-plugin build which is using plugin-tools 3.2 (affected by the bug) git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590812 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/java/lang/Object.java | 5 ----- .../plugin/annotations/TestAnnotationsReader.java | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100644 maven-plugin-tools-annotations/src/test/java/java/lang/Object.java diff --git a/maven-plugin-tools-annotations/src/test/java/java/lang/Object.java b/maven-plugin-tools-annotations/src/test/java/java/lang/Object.java deleted file mode 100644 index 4fd90bc..0000000 --- a/maven-plugin-tools-annotations/src/test/java/java/lang/Object.java +++ /dev/null @@ -1,5 +0,0 @@ -package java.lang; - -public class Object -{ -} diff --git a/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java b/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java index ac77edd..a4738bd 100644 --- a/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java +++ b/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java @@ -87,16 +87,4 @@ public class TestAnnotationsReader new ParameterAnnotationContent( "beer", null, "thebeer", "coolbeer", false, false, String.class.getName() ) ); } - - public void testReadingJavaLangObject() - throws Exception - { - MojoAnnotationsScannerRequest request = new MojoAnnotationsScannerRequest(); - request.setClassesDirectories( Collections.singletonList( new File( "target/test-classes" ) ) ); - request.setIncludePatterns( Collections.singletonList( "java/lang/Object.class" ) ); - request.setProject( new MavenProject() ); - - MojoAnnotationsScanner scanner = (MojoAnnotationsScanner) lookup( MojoAnnotationsScanner.ROLE ); - scanner.scan( request ); - } }