@Mojo(name="sign-deployed",
requiresProject=false,
threadSafe=true)
public class SignDeployedMojo
extends AbstractGpgMojo
DEFAULT_ENV_MAVEN_GPG_FINGERPRINT, DEFAULT_ENV_MAVEN_GPG_KEY, DEFAULT_ENV_MAVEN_GPG_PASSPHRASE, session, settings, settingsDecrypter| Constructor and Description |
|---|
SignDeployedMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<org.eclipse.aether.artifact.Artifact> |
collectArtifacts(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository remoteRepository)
Returns a collection of remotely deployed artifacts that needs to be signed and have signatures deployed
next to them.
|
protected void |
doExecute() |
createSigner, enforceBestPractices, execute, getPassphrase, newSignerprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractGpgMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Collection<org.eclipse.aether.artifact.Artifact> collectArtifacts(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository remoteRepository) throws IOException
IOExceptionCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.