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:9.1.0:installEngine -Divy.engine.directory=c:/axonviy/engine -Divy.engine.version=9.1.0 -Divy.engine.os.arch=Linux_x64
- Since:
- 6.0.0
- Author:
- Reguel Wermelinger
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ARCH
static String
ENGINE_LIST_URL_PROPERTY
static String
GOAL
-
Fields inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
DEFAULT_VERSION, ENGINE_DIRECTORY_PROPERTY, engineCacheDirectory, engineDirectory, ivyVersion, MINIMAL_COMPATIBLE_VERSION
-
-
Constructor Summary
Constructors Constructor Description InstallEngineMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
EngineDownloader
getDownloader()
-
Methods inherited from class ch.ivyteam.ivy.maven.AbstractEngineMojo
findMatchingEngineInCacheDirectory, getInstalledEngineVersion, getIvyVersionRange, getRawEngineDirectory, identifyAndGetEngineDirectory, isEngineDirectoryIdentified
-
-
-
-
Field Detail
-
GOAL
public static final String GOAL
- See Also:
- Constant Field Values
-
ENGINE_LIST_URL_PROPERTY
public static final String ENGINE_LIST_URL_PROPERTY
- See Also:
- Constant Field Values
-
DEFAULT_ARCH
public static final String DEFAULT_ARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getDownloader
public EngineDownloader getDownloader() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-