public abstract class AbstractJGitFlowMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowSnapshots
Whether to allow SNAPSHOT dependencies.
|
protected boolean |
allowUntracked |
protected boolean |
alwaysUpdateOrigin |
protected String |
defaultOriginUrl |
protected boolean |
enableSshAgent |
protected boolean |
localOnly |
protected boolean |
offline |
protected String |
password |
protected org.apache.maven.project.MavenProject |
project |
protected boolean |
pullDevelop |
protected boolean |
pullMaster |
protected String |
scmCommentPrefix |
protected String |
scmCommentSuffix |
protected org.apache.maven.execution.MavenSession |
session |
protected String |
username |
| Constructor and Description |
|---|
AbstractJGitFlowMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getBasedir() |
ClassLoader |
getClassloader(String classpath) |
protected String |
getClasspath() |
MavenJGitFlowExtension |
getExtensionInstance(String classname) |
FlowInitContext |
getFlowInitContext() |
List<org.apache.maven.project.MavenProject> |
getReactorProjects()
Gets the list of projects in the build reactor.
|
boolean |
isRemoteAllowed() |
void |
setBasedir(File basedir)
Sets the base directory of the build.
|
void |
setFlowInitContext(FlowInitContext flowInitContext) |
getLog, getPluginContext, setLog, setPluginContext@Component protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.execution.MavenSession session
@Parameter(defaultValue="false",
property="enableSshAgent")
protected boolean enableSshAgent
@Parameter(defaultValue="false",
property="allowSnapshots")
protected boolean allowSnapshots
@Parameter(defaultValue="false",
property="allowUntracked")
protected boolean allowUntracked
@Parameter(property="offline",
defaultValue="${settings.offline}")
protected boolean offline
@Parameter(property="localOnly",
defaultValue="false")
protected boolean localOnly
@Parameter(property="defaultOriginUrl",
defaultValue="")
protected String defaultOriginUrl
@Parameter(property="scmCommentPrefix",
defaultValue="")
protected String scmCommentPrefix
@Parameter(property="scmCommentSuffix",
defaultValue="")
protected String scmCommentSuffix
@Parameter(property="username",
defaultValue="")
protected String username
@Parameter(property="password",
defaultValue="")
protected String password
@Parameter(defaultValue="true",
property="alwaysUpdateOrigin")
protected boolean alwaysUpdateOrigin
@Parameter(defaultValue="false",
property="pullMaster")
protected boolean pullMaster
@Parameter(defaultValue="false",
property="pullDevelop")
protected boolean pullDevelop
protected final File getBasedir()
public void setBasedir(File basedir)
basedir - The build's base directory, must not be null.public List<org.apache.maven.project.MavenProject> getReactorProjects()
null.public FlowInitContext getFlowInitContext()
public void setFlowInitContext(FlowInitContext flowInitContext)
public boolean isRemoteAllowed()
public MavenJGitFlowExtension getExtensionInstance(String classname) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic ClassLoader getClassloader(String classpath)
protected String getClasspath() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2014 Atlassian. All rights reserved.