com.atlassian.maven.plugins.sandbox
Class AbstractSandboxMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugins.sandbox.AbstractSandboxMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- DeleteMojo, ListMojo, ListPropertiesMojo, PromoteMojo, ReleaseMojo, RollbackMojo, SandboxMojo
public abstract class AbstractSandboxMojo
- extends org.apache.maven.plugin.AbstractMojo
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
RELEASE_PLUGIN
protected static final org.apache.maven.model.Plugin RELEASE_PLUGIN
sandbox2releaseTags
protected final com.atlassian.util.concurrent.Supplier<Map<String,String>> sandbox2releaseTags
AbstractSandboxMojo
public AbstractSandboxMojo()
isEnabled
protected boolean isEnabled()
getProject
protected org.apache.maven.project.MavenProject getProject()
getSession
protected org.apache.maven.execution.MavenSession getSession()
getBuildPluginManager
protected org.apache.maven.plugin.BuildPluginManager getBuildPluginManager()
getSettings
protected org.apache.maven.settings.Settings getSettings()
getSandboxRepositoryRootUrl
protected String getSandboxRepositoryRootUrl()
getRepositorySandboxUrl
protected String getRepositorySandboxUrl()
getSandboxRepositoryUrl
protected String getSandboxRepositoryUrl()
getSandboxKey
protected String getSandboxKey()
getMavenRepositoryBaseUrl
protected String getMavenRepositoryBaseUrl()
getPromoterUrl
protected String getPromoterUrl()
getServer
protected org.apache.maven.settings.Server getServer()
getSandboxSettingsFilename
protected String getSandboxSettingsFilename()
setProperty
protected void setProperty(String propertyKey,
String propertyValue)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
getProperty
protected String getProperty(String propertyKey)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
setPropertyIfNotBlank
protected void setPropertyIfNotBlank(String propertyKey,
String propertyValue)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
getProperties
protected Map<String,String> getProperties()
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
getCustomSettingsArgument
protected String getCustomSettingsArgument()
getSandboxService
protected SandboxService getSandboxService()
checkSandboxKeySpecified
protected void checkSandboxKeySpecified()
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
makeSessionNonInteractive
protected void makeSessionNonInteractive()
decryptPasswordIfNecessary
protected String decryptPasswordIfNecessary(String password)
Copyright © 2015 Atlassian. All rights reserved.