Package ch.ivyteam.ivy.maven.deploy
Class DeployToEngineMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.ivyteam.ivy.maven.AbstractEngineMojo
ch.ivyteam.ivy.maven.test.AbstractIntegrationTestMojo
ch.ivyteam.ivy.maven.deploy.AbstractDeployMojo
ch.ivyteam.ivy.maven.deploy.DeployToEngineMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="deploy-to-engine",
requiresProject=false)
public class DeployToEngineMojo
extends AbstractDeployMojo
Deploys a single project (iar) or a full application (set of projects as zip) to a running Axon Ivy Engine.
Command line invocation is supported.
Local engine (using DIRECTORY deploy method):
mvn com.axonivy.ivy.ci:project-build-plugin:11.2.0:deploy-to-engine -Divy.deploy.file=myProject.iar -Divy.deploy.engine.dir=c:/axonivy/engine -Divy.deploy.engine.app=Portal
Remote Engine (using HTTP deploy method):
mvn com.axonivy.ivy.ci:project-build-plugin:11.2.0:deploy-to-engine -Divy.deploy.file=myProject.iar -Divy.deploy.method=HTTP -Divy.deploy.server.id=AxonIvyEngine -Divy.deploy.engine.url=http://ivyhost:8080/ivy -Divy.deploy.engine.app=portal
- Since:
- 7.1.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Fields inherited from class ch.ivyteam.ivy.maven.deploy.AbstractDeployMojo
deployFile, deployOptionsFile, deployTargetFileFormat, deployTargetState, deployTargetVersion, deployTestUsers, deployTimeoutInSeconds, project, skipDeploy
Fields inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
DEFAULT_VERSION, ENGINE_DIRECTORY_PROPERTY, engineCacheDirectory, engineDirectory, ivyVersion, MINIMAL_COMPATIBLE_VERSION
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.ivyteam.ivy.maven.deploy.AbstractDeployMojo
checkSkip, createDeployOptionsFile, deployToDirectory, removeTemporaryDeploymentOptionsFile
Methods inherited from class ch.ivyteam.ivy.maven.test.AbstractIntegrationTestMojo
engineToTarget, getEngineDir
Methods inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
findMatchingEngineInCacheDirectory, getInstalledEngineVersion, getIvyVersionRange, getRawEngineDirectory, identifyAndGetEngineDirectory, isEngineDirectoryIdentified
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
GOAL
- See Also:
-
-
Constructor Details
-
DeployToEngineMojo
public DeployToEngineMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-