Package io.apicurio.registry.maven
Class RegisterRegistryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.apicurio.registry.maven.AbstractRegistryMojo
io.apicurio.registry.maven.RegisterRegistryMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Register artifacts against registry.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static RegisterArtifactbuildFromRoot(RegisterArtifact rootArtifact, String artifactId) protected voidprotected static io.apicurio.registry.content.ContentHandlereadContent(File file) voidsetArtifacts(List<RegisterArtifact> artifacts) voidsetSkip(boolean skip) protected booleanvalidate()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
-
RegisterRegistryMojo
public RegisterRegistryMojo()
-
-
Method Details
-
validate
protected boolean 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- Specified by:
executeInternalin classAbstractRegistryMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setArtifacts
-
setSkip
public void setSkip(boolean skip) -
readContent
-
buildFromRoot
-