Class MojoPushDocker
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- br.com.c8tech.tools.maven.osgi.lib.mojo.AbstractCustomPackagingMojo
-
- br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiContainerPackMojo
-
- br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiDockerMojo
-
- br.com.c8tech.tools.maven.plugin.osgi.container.MojoPushDocker
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="pushDockerImage", defaultPhase=DEPLOY, requiresProject=true, threadSafe=true) public class MojoPushDocker extends AbstractOsgiDockerMojo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiDockerMojo
AbstractOsgiDockerMojo.Metadata
-
-
Field Summary
-
Fields inherited from class br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiDockerMojo
buildDocker, connectTimeoutMillis, dockerClassifier, dockerConfigFile, dockerInfoDirectory, password, readTimeoutMillis, retryCount, testOutputDirectory, useMavenSettingsForAuth, useProxy, username
-
Fields inherited from class br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiContainerPackMojo
DOWNLOAD_STATUS, EQUINOX_CONFIGURATION_NAME, EQUINOX_CONFIGURATION_PATH, FELIX_CONFIGURATION_NAME, FELIX_CONFIGURATION_PATH, PROPERTY_CACHE_DIR, PROPERTY_WORK_DIR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMojoPushDocker(org.apache.maven.project.MavenProject pProject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute(com.spotify.docker.client.DockerClient dockerClient)-
Methods inherited from class br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiDockerMojo
buildDockerInfoJar, ensureDockerInfoDirectory, ensureMetadataFile, executeMojo, formatImageName, readMetadata, writeImageInfo, writeMetadata, writeMetadata
-
Methods inherited from class br.com.c8tech.tools.maven.plugin.osgi.container.AbstractOsgiContainerPackMojo
addMavenArtifactSet, addScope, calculateContainerConfigurationFileOutputPath, createDefaultDirectories, doBeforeSkipMojo, executeExtraInitializationSteps, getBaseContainerConfigurationFileUrl, getBundleValidArtifactFilter, getCacheDirectory, getConfiguratorInitialFile, getContainer, getContainerCacheDirectory, getContainerPomDependenciesGAV, getContainerWorkDirectory, getDefaultSupportedPackagings, getEncoding, getExcludedArtifacts, getLocalRepositoryGAV, getLogbackConfigurationFile, getMavenArtifactSets, getMsgChoiceArtifact, getProjectBuilder, getScopes, isOptionalConsidered, isRunOnlyAtExecutionRoot, isSkip, isSkipConfigurationGen, isTransitiveConsidered, loadProperties, setBaseContainerConfigurationFileUrl, setConfiguratorInitialFile, setContainerPomDependenciesGAV, setEncoding, setLocalRepositoryGAV, setLogbackConfigurationFile, setScopes, setSkipConfigurationGen
-
Methods inherited from class br.com.c8tech.tools.maven.osgi.lib.mojo.AbstractCustomPackagingMojo
addExtraSupportedPackaging, cleanWorkDirectory, combineScopes, copyInternalFileToProjectDir, copyInternalFileToProjectDir, doInitialValidation, execute, getBasedir, getBuildDir, getCachedFileNamePattern, getCacheSubDirectory, getClassifier, getDependenciesHelper, getDirectoryHelper, getExtraSupportedPackagings, getFilterFactory, getFinalName, getGoalName, getLocalRepository, getMavenSession, getPluginDescriptor, getProject, getProjectHelper, getRemoteRepositories, getRepositorySystem, getRuntimeInformation, getSupportedPackagings, getWorkDirectory, getWorkSubDirectory, isAggregator, isVerbose, loadProject, loadProject, registerArtifactsIntoAggregatorBuildContext, setBuildDir, setClassifier, setExtraSupportedPackagings, setFinalName, setWorkDirectory
-
-
-
-
Method Detail
-
execute
protected void execute(com.spotify.docker.client.DockerClient dockerClient) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein classAbstractOsgiDockerMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-