Package ch.ivyteam.ivy.maven
Class InstallEngineMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.ivyteam.ivy.maven.AbstractEngineMojo
ch.ivyteam.ivy.maven.InstallEngineMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="installEngine",
requiresProject=false)
public class InstallEngineMojo
extends AbstractEngineMojo
Downloads an Axon Ivy Engine from the web if it does not yet exists in the
correct version.
Command line invocation is supported. E.g.
mvn com.axonivy.ivy.ci:project-build-plugin:11.2.0:installEngine -Divy.engine.directory=c:/axonviy/engine -Divy.engine.version=11.2.0 -Divy.engine.os.arch=Linux_x64
- Since:
- 6.0.0
- Author:
- Reguel Wermelinger
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
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:
-
ENGINE_LIST_URL_PROPERTY
- See Also:
-
DEFAULT_ARCH
- See Also:
-
-
Constructor Details
-
InstallEngineMojo
public InstallEngineMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getDownloader
- Throws:
org.apache.maven.plugin.MojoExecutionException
-