@Mojo(name="upload",
defaultPhase=DEPLOY)
public class UploadMojo
extends AbstractHelmMojo
skip| Constructor and Description |
|---|
UploadMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected HttpURLConnection |
getConnectionForUploadToArtifactory(File file) |
protected HttpURLConnection |
getConnectionForUploadToChartmuseum() |
protected void |
uploadSingle(String file) |
getAppVersion, getChartDirectory, getChartVersion, getExcludes, getHelmDownloadUrl, getHelmExecutableDirectory, getHelmExtraRepos, getHelmSecurity, getOutputDirectory, getRegistryConfig, getRepositoryCache, getRepositoryConfig, getSecDispatcher, getSettings, getUploadRepoSnapshot, getUploadRepoStable, isAutoDetectLocalHelmBinary, isUseLocalHelmBinary, setAppVersion, setAutoDetectLocalHelmBinary, setChartDirectory, setChartVersion, setExcludes, setHelmDownloadUrl, setHelmExecutableDirectory, setHelmExtraRepos, setHelmSecurity, setOutputDirectory, setRegistryConfig, setRepositoryCache, setRepositoryConfig, setUploadRepoSnapshot, setUploadRepoStable, setUseLocalHelmBinarypublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void uploadSingle(String file) throws IOException, BadUploadException, org.apache.maven.plugin.MojoExecutionException
IOExceptionBadUploadExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected HttpURLConnection getConnectionForUploadToChartmuseum() throws IOException
IOExceptionprotected HttpURLConnection getConnectionForUploadToArtifactory(File file) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2019 Kiwigrid GmbH. All rights reserved.