|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.xebialabs.deployit.maven.AbstractDeployitMojo
public abstract class AbstractDeployitMojo
Provides common code for deployit mojos
| Field Summary | |
|---|---|
protected MavenCli |
client
|
protected boolean |
deletePreviouslyDeployedDar
Delete the previous deployed dar. |
protected List<Deployable> |
deployables
List of the deployables, including artifacts or middleware resource specification (eg Datasource) |
protected List<Deployed> |
deployeds
List of the deployeds: extensions or complete if you use explicitDeployeds options |
protected List<Container> |
environment
List of container in the target environment, if you want to create the environment through the Maven plugin. |
protected boolean |
explicitDeployeds
With explicitDeployeds true, the deployed are not generated but fully loaded from the pluging configuration. |
protected boolean |
failIfNoStepsAreGenerated
If a deployments leads no steps, fail the build. |
protected String |
mainArtifactName
|
protected ManifestPackager |
packager
|
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected boolean |
secured
If true the communication with the deployit server is secured (https). |
protected boolean |
skipMode
Activate the skip mode: generate the plan, skip all the steps, validate the task |
protected boolean |
testMode
Activate the test mode, generate the plan, display all the steps, validate the task |
protected boolean |
timestampedVersion
Use this attribute to add a timestamp to the version of the deployit package. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractDeployitMojo()
|
|
| Method Summary | |
|---|---|
protected void |
deploy()
|
protected com.xebialabs.deployit.core.api.dto.RepositoryObject |
fetchEnvironment()
|
protected MavenCli |
getClient()
|
protected com.xebialabs.deployit.core.api.dto.RepositoryObject |
importDar()
|
protected com.xebialabs.deployit.core.api.dto.RepositoryObject |
importDar(File darFile)
|
protected void |
undeploy()
|
| 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 |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected String mainArtifactName
protected boolean skipMode
protected boolean testMode
protected boolean failIfNoStepsAreGenerated
protected boolean secured
protected List<Deployed> deployeds
protected List<Deployable> deployables
protected List<Container> environment
protected boolean timestampedVersion
protected boolean deletePreviouslyDeployedDar
protected boolean explicitDeployeds
protected ManifestPackager packager
protected MavenCli client
| Constructor Detail |
|---|
public AbstractDeployitMojo()
| Method Detail |
|---|
protected MavenCli getClient()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void deploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.xebialabs.deployit.core.api.dto.RepositoryObject importDar()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void undeploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.xebialabs.deployit.core.api.dto.RepositoryObject importDar(File darFile)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.xebialabs.deployit.core.api.dto.RepositoryObject fetchEnvironment()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||