Package org.apache.maven.plugins.gpg
Class FilesCollector
- java.lang.Object
 - 
- org.apache.maven.plugins.gpg.FilesCollector
 
 
- 
public class FilesCollector extends Object
Collects project artifact, the POM, and attached artifacts to be signed.- Since:
 - 3.1.0
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesCollector.Item 
- 
Constructor Summary
Constructors Constructor Description FilesCollector(org.apache.maven.project.MavenProject project, String[] excludes, org.apache.maven.plugin.logging.Log log) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FilesCollector.Item>collect()protected booleanisExcluded(org.apache.maven.artifact.Artifact artifact)Tests whether or not a name matches against at least one exclude pattern. 
 - 
 
- 
- 
Constructor Detail
- 
FilesCollector
public FilesCollector(org.apache.maven.project.MavenProject project, String[] excludes, org.apache.maven.plugin.logging.Log log) 
 - 
 
- 
Method Detail
- 
collect
public List<FilesCollector.Item> collect() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
 org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
 
- 
isExcluded
protected boolean isExcluded(org.apache.maven.artifact.Artifact artifact)
Tests whether or not a name matches against at least one exclude pattern.- Parameters:
 artifact- The artifact to match. Must not benull.- Returns:
 truewhen the name matches against at least one exclude pattern, orfalseotherwise.
 
 - 
 
 -