You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/04/28 23:37:03 UTC

svn commit: r1590812 - in /maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java: java/ org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java

Author: hboutemy
Date: Mon Apr 28 21:37:03 2014
New Revision: 1590812

URL: http://svn.apache.org/r1590812
Log:
[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)

Removed:
    maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/java/
Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java

Modified: maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java?rev=1590812&r1=1590811&r2=1590812&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-annotations/src/test/java/org/apache/maven/tools/plugin/annotations/TestAnnotationsReader.java Mon Apr 28 21:37:03 2014
@@ -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 );
-    }
 }