Class 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
  • Field Details

  • 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