[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-ffa450edef68master
parent
6d936298d3
commit
b8b9a466aa
|
|
@ -1,5 +0,0 @@
|
|||
package java.lang;
|
||||
|
||||
public class Object
|
||||
{
|
||||
}
|
||||
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue