formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337705 13f79535-47bb-0310-9956-ffa450edef68master
parent
b08d45c9d8
commit
b7864f235b
|
|
@ -72,7 +72,7 @@ import java.util.TreeSet;
|
||||||
* @author Olivier Lamy
|
* @author Olivier Lamy
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@Component(role = MojoDescriptorExtractor.class, hint = "java-annotations")
|
@Component( role = MojoDescriptorExtractor.class, hint = "java-annotations" )
|
||||||
public class JavaAnnotationsMojoDescriptorExtractor
|
public class JavaAnnotationsMojoDescriptorExtractor
|
||||||
extends AbstractLogEnabled
|
extends AbstractLogEnabled
|
||||||
implements MojoDescriptorExtractor
|
implements MojoDescriptorExtractor
|
||||||
|
|
@ -376,6 +376,7 @@ public class JavaAnnotationsMojoDescriptorExtractor
|
||||||
return discoverClasses( request.getEncoding(), request.getProject() );
|
return discoverClasses( request.getEncoding(), request.getProject() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings( "unchecked" )
|
||||||
protected Map<String, JavaClass> discoverClasses( final String encoding, final MavenProject project )
|
protected Map<String, JavaClass> discoverClasses( final String encoding, final MavenProject project )
|
||||||
{
|
{
|
||||||
List<File> sources = new ArrayList<File>();
|
List<File> sources = new ArrayList<File>();
|
||||||
|
|
@ -633,6 +634,7 @@ public class JavaAnnotationsMojoDescriptorExtractor
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@SuppressWarnings( "unchecked" )
|
||||||
Collection<MavenProject> mavenProjects = project.getProjectReferences().values();
|
Collection<MavenProject> mavenProjects = project.getProjectReferences().values();
|
||||||
for ( MavenProject mavenProject : mavenProjects )
|
for ( MavenProject mavenProject : mavenProjects )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue