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

@Mojo(name="register") public class RegisterRegistryMojo extends AbstractRegistryMojo
Register artifacts against registry.
  • Constructor Details

    • RegisterRegistryMojo

      public RegisterRegistryMojo()
  • Method Details

    • validate

      protected boolean validate() throws org.apache.maven.plugin.MojoExecutionException
      Validate the configuration.
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • executeInternal

      protected void executeInternal() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      executeInternal in class AbstractRegistryMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • setArtifacts

      public void setArtifacts(List<RegisterArtifact> artifacts)
    • setSkip

      public void setSkip(boolean skip)
    • readContent

      protected static io.apicurio.registry.content.ContentHandle readContent(File file)
    • buildFromRoot

      protected static RegisterArtifact buildFromRoot(RegisterArtifact rootArtifact, String artifactId)