public abstract class HerokuMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
appName
The name of the Heroku app.
|
protected String |
buildFilename
A filename where the slug is stored at, inside the heroku-target directory
|
protected String[] |
buildpacks
The buildpacks to run against the partial build
|
protected Map<String,String> |
configVars
Configuration variables that will be set on the Heroku app.
|
protected boolean |
includeTarget
If the target directory should also be included.
|
protected String |
jdkVersion
The major version of the JDK Heroku with run the app with.
|
protected boolean |
logProgess
If upload progress should be logged to debug.
|
protected org.apache.maven.project.MavenProject |
mavenProject
The project currently being build.
|
protected org.apache.maven.execution.MavenSession |
mavenSession
The current Maven session.
|
protected String[] |
mIncludes
A set of file patterns to include in the zip.
|
protected org.apache.maven.plugin.BuildPluginManager |
pluginManager
The Maven BuildPluginManager component.
|
| Constructor and Description |
|---|
HerokuMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected Map<String,String> |
getConfigVars() |
protected List<File> |
getIncludes() |
String |
getSlugFilename() |
protected File |
getTargetDir() |
boolean |
isIncludeTarget() |
void |
setIncludes(String[] includes) |
void |
setIncludeTarget(boolean includeTarget) |
protected org.apache.maven.execution.MavenSession mavenSession
protected org.apache.maven.plugin.BuildPluginManager pluginManager
protected org.apache.maven.project.MavenProject mavenProject
protected String appName
protected String jdkVersion
protected Map<String,String> configVars
protected String[] mIncludes
protected boolean includeTarget
protected String buildFilename
protected boolean logProgess
protected String[] buildpacks
protected File getTargetDir()
public void setIncludes(String[] includes)
public boolean isIncludeTarget()
public void setIncludeTarget(boolean includeTarget)
public String getSlugFilename()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2019. All rights reserved.