Class AbstractInvokerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.invoker.AbstractInvokerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
InstallInvokerMojo,PackageInvokerMojo,ValidateInvokerMojo
public class AbstractInvokerMojo
extends org.apache.maven.plugin.AbstractMojo
Maven POM invoker plugin. This plugin is largely inspired by the maven-invoker plugin.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields Modifier and Type Field Description private booleandisableBuildprivate booleandisableJavaprivate booleandisablePythonprivate booleanenabledprivate java.util.List<java.lang.String>invokeGoalsprivate java.util.List<java.lang.String>invokeProfilesprivate org.apache.maven.shared.invoker.Invokerinvokerprivate java.io.FilejavaHomeTheJAVA_HOMEenvironment variable to use for forked Maven invocations.private java.io.FilelocalRepositoryPathThe local repository for caching artifacts.private java.io.FilemavenExecutablemavenExecutable can either be a file relative to${maven.home}/bin/, test project workspace or an absolute file.private java.io.FilemavenHomeThe home directory of the Maven installation to use for the forked builds.private booleanofflineprivate java.io.Filepomprivate org.apache.maven.project.MavenProjectprojectprivate booleanshowErrorsWhether to show errors in the build output.private booleanshowVersionFlag to enable show mvn version used for running its (cli option : -V,--show-version ).private java.util.List<SystemProperty>systemPropertiesprivate inttimeoutInSecondsprivate booleanunpackForce -
Constructor Summary
Constructors Constructor Description AbstractInvokerMojo() -
Method Summary
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true) private org.apache.maven.project.MavenProject project -
invokeGoals
@Parameter(required=true) private java.util.List<java.lang.String> invokeGoals -
invokeProfiles
@Parameter private java.util.List<java.lang.String> invokeProfiles -
systemProperties
-
localRepositoryPath
@Parameter(defaultValue="${settings.localRepository}") private java.io.File localRepositoryPathThe local repository for caching artifacts. -
showVersion
@Parameter(defaultValue="false") private boolean showVersionFlag to enable show mvn version used for running its (cli option : -V,--show-version ). -
showErrors
@Parameter(defaultValue="true") private boolean showErrorsWhether to show errors in the build output. -
javaHome
@Parameter private java.io.File javaHomeTheJAVA_HOMEenvironment variable to use for forked Maven invocations. Defaults to the current Java home directory. -
mavenHome
@Parameter private java.io.File mavenHomeThe home directory of the Maven installation to use for the forked builds. Defaults to the current Maven installation. -
mavenExecutable
@Parameter private java.io.File mavenExecutablemavenExecutable can either be a file relative to${maven.home}/bin/, test project workspace or an absolute file. -
timeoutInSeconds
@Parameter(defaultValue="0") private int timeoutInSeconds -
pom
@Parameter private java.io.File pom -
offline
@Parameter(defaultValue="false") private boolean offline -
unpackForce
@Parameter(property="unpack.force", required=false, defaultValue="false") private boolean unpackForce -
disableJava
@Parameter(defaultValue="false") private boolean disableJava -
disablePython
@Parameter(defaultValue="false") private boolean disablePython -
disableBuild
@Parameter(defaultValue="false") private boolean disableBuild -
invoker
@Component private org.apache.maven.shared.invoker.Invoker invoker -
enabled
private boolean enabled
-
-
Constructor Details
-
AbstractInvokerMojo
public AbstractInvokerMojo()
-
-
Method Details