Class UploadMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="upload",
          defaultPhase=DEPLOY)
    public class UploadMojo
    extends AbstractHelmMojo
    Mojo for uploading to helm repo (e.g. chartmuseum)
    Since:
    02.01.18
    Author:
    Fabian Schlegel
    • Constructor Detail

      • UploadMojo

        public UploadMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getConnectionForUploadToArtifactory

        protected HttpURLConnection getConnectionForUploadToArtifactory​(File file)
                                                                 throws IOException,
                                                                        org.apache.maven.plugin.MojoExecutionException
        Throws:
        IOException
        org.apache.maven.plugin.MojoExecutionException