org.apache.maven.plugin.surefire.util
Class DependencyScanner

java.lang.Object
  extended by org.apache.maven.plugin.surefire.util.DependencyScanner

public class DependencyScanner
extends Object

Scans dependencies looking for tests.

Author:
Aslak Knutsen

Field Summary
protected  List<String> excludes
           
protected  List<String> includes
           
protected  List<String> specificTests
           
 
Constructor Summary
DependencyScanner(List<File> dependenciesToScan, List<String> includes, List<String> excludes, List<String> specificTests)
           
 
Method Summary
static List<File> filter(List<Artifact> artifacts, List<String> groupArtifactIds)
           
 DefaultScanResult scan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includes

protected final List<String> includes

excludes

@Nonnull
protected final List<String> excludes

specificTests

protected final List<String> specificTests
Constructor Detail

DependencyScanner

public DependencyScanner(List<File> dependenciesToScan,
                         List<String> includes,
                         @Nonnull
                         List<String> excludes,
                         List<String> specificTests)
Method Detail

scan

public DefaultScanResult scan()
                       throws MojoExecutionException
Throws:
MojoExecutionException

filter

public static List<File> filter(List<Artifact> artifacts,
                                List<String> groupArtifactIds)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.