Package org.apache.maven.plugins.gpg
Interface ArtifactCollectorSPI
public interface ArtifactCollectorSPI
Artifact collector SPI, that collects artifacts in some way from given
RemoteRepository
.- Since:
- 3.2.3
-
Method Summary
Modifier and TypeMethodDescriptionCollection
<org.eclipse.aether.artifact.Artifact> collectArtifacts
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository remoteRepository) Returns collected artifacts ornull
if collection was not possible for any reason.
-
Method Details
-
collectArtifacts
Collection<org.eclipse.aether.artifact.Artifact> collectArtifacts(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository remoteRepository) throws IOException Returns collected artifacts ornull
if collection was not possible for any reason.Collector should collect only relevant artifacts, those that are subject to signing.
- Throws:
IOException
-