public class FilesCollector extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FilesCollector.Item |
| Constructor and Description |
|---|
FilesCollector(org.apache.maven.project.MavenProject project,
String[] excludes,
org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
List<FilesCollector.Item> |
collect() |
protected boolean |
isExcluded(org.eclipse.aether.artifact.Artifact artifact)
Tests whether or not a name matches at least one exclude pattern.
|
public FilesCollector(org.apache.maven.project.MavenProject project,
String[] excludes,
org.apache.maven.plugin.logging.Log log)
public List<FilesCollector.Item> collect() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean isExcluded(org.eclipse.aether.artifact.Artifact artifact)
artifact - the artifact to match. Must not be null.true when the name matches at least one exclude pattern, or false
otherwise.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.