Package org.ikasan.archetype
Class MavenArchetypeCommand
java.lang.Object
org.ikasan.archetype.AbstractMavenCommand
org.ikasan.archetype.MavenArchetypeCommand
- All Implemented Interfaces:
MavenCommand
Maven Archetype Command implementation.
- Author:
- Ikasan Development Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Execute the Maven command.Getter for returning the mvn configuration as command propertiesvoidsetArchetypeArtifactId(String archetypeArtifactId) voidsetArchetypeGroupId(String archetypeGroupId) voidsetArchetypeVersion(String archetypeVersion) voidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetSourceFlowName(String sourceFlowName) voidsetTargetFlowName(String targetFlowName) voidsetVersion(String version) Methods inherited from class org.ikasan.archetype.AbstractMavenCommand
getGoals, getWorkingDir, isBatchMode, isDebug, setBatchMode, setDebug, setGoals, setWorkingDirMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ikasan.archetype.MavenCommand
setBatchMode, setDebug, setWorkingDir
-
Constructor Details
-
MavenArchetypeCommand
public MavenArchetypeCommand()
-
-
Method Details
-
getArchetypeGroupId
-
setArchetypeGroupId
-
getArchetypeArtifactId
-
setArchetypeArtifactId
-
getArchetypeVersion
-
setArchetypeVersion
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getSourceFlowName
-
setSourceFlowName
-
getTargetFlowName
-
setTargetFlowName
-
getCommandProperties
Description copied from class:AbstractMavenCommandGetter for returning the mvn configuration as command properties- Overrides:
getCommandPropertiesin classAbstractMavenCommand- Returns:
-
execute
public MavenProject execute() throws org.apache.maven.shared.invoker.MavenInvocationException, org.apache.maven.shared.utils.cli.CommandLineExceptionDescription copied from interface:MavenCommandExecute the Maven command.- Specified by:
executein interfaceMavenCommand- Overrides:
executein classAbstractMavenCommand- Returns:
- Throws:
org.apache.maven.shared.invoker.MavenInvocationExceptionorg.apache.maven.shared.utils.cli.CommandLineException
-