Package io.apicurio.registry.maven
Class DownloadRegistryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.apicurio.registry.maven.AbstractRegistryMojo
io.apicurio.registry.maven.DownloadRegistryMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Download artifacts.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidsetArtifacts(List<DownloadArtifact> artifacts) protected voidvalidate()Validate the configuration.Methods inherited from class io.apicurio.registry.maven.AbstractRegistryMojo
createClient, createVertx, execute, getContentTypeByExtension, logAndThrow, logAndThrow, logAndThrow, setAuthServerUrl, setClientId, setClientScope, setClientSecret, setPassword, setRegistryUrl, setUsernameMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DownloadRegistryMojo
public DownloadRegistryMojo()
-
-
Method Details
-
validate
protected void validate() throws org.apache.maven.plugin.MojoExecutionExceptionValidate the configuration.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
executeInternal
protected void executeInternal() throws org.apache.maven.plugin.MojoExecutionException, ExecutionException, InterruptedException- Specified by:
executeInternalin classAbstractRegistryMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionExecutionExceptionInterruptedException
-
setArtifacts
-