Package org.apache.maven.plugins.gpg
Class FilesCollector
java.lang.Object
org.apache.maven.plugins.gpg.FilesCollector
Collects project artifact, the POM, and attached artifacts to be signed.
- Since:
- 3.1.0
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionFilesCollector(org.apache.maven.project.MavenProject project, String[] excludes, org.apache.maven.plugin.logging.Log log) 
- 
Method SummaryModifier and TypeMethodDescriptioncollect()protected booleanisExcluded(org.eclipse.aether.artifact.Artifact artifact) Tests whether or not a name matches at least one exclude pattern.
- 
Constructor Details- 
FilesCollectorpublic FilesCollector(org.apache.maven.project.MavenProject project, String[] excludes, org.apache.maven.plugin.logging.Log log) 
 
- 
- 
Method Details- 
collectpublic List<FilesCollector.Item> collect() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
- 
isExcludedprotected boolean isExcluded(org.eclipse.aether.artifact.Artifact artifact) Tests whether or not a name matches at least one exclude pattern.- Parameters:
- artifact- the artifact to match. Must not be- null.
- Returns:
- truewhen the name matches at least one exclude pattern, or- falseotherwise.
 
 
-