public class DependencyScanner extends Object
Constructor and Description |
---|
DependencyScanner(List<File> dependenciesToScan,
TestListResolver filter) |
Modifier and Type | Method and Description |
---|---|
static List<org.apache.maven.artifact.Artifact> |
filter(List<org.apache.maven.artifact.Artifact> artifacts,
List<String> artifactPatterns) |
DefaultScanResult |
scan() |
public DependencyScanner(List<File> dependenciesToScan, TestListResolver filter)
public DefaultScanResult scan() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public static List<org.apache.maven.artifact.Artifact> filter(List<org.apache.maven.artifact.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–2024 The Apache Software Foundation. All rights reserved.