public class DependencyScanner extends Object
Constructor and Description |
---|
DependencyScanner(List<File> dependenciesToScan,
org.apache.maven.surefire.api.testset.TestListResolver filter) |
Modifier and Type | Method and Description |
---|---|
static List<Artifact> |
filter(List<Artifact> artifacts,
List<String> artifactPatterns) |
org.apache.maven.surefire.api.util.DefaultScanResult |
scan() |
public DependencyScanner(List<File> dependenciesToScan, org.apache.maven.surefire.api.testset.TestListResolver filter)
public org.apache.maven.surefire.api.util.DefaultScanResult scan() throws MojoExecutionException
MojoExecutionException
public static List<Artifact> filter(List<Artifact> artifacts, List<String> artifactPatterns)
artifacts
- a list to filterartifactPatterns
- a list of strings in the form
groupId[:artifactId[:type[:classifier][:version]]]
artifacts
that match any of the filters in groupArtifactIds
,
empty if none matchCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.