Package org.apache.maven.plugins.invoker
Class InstallMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.invoker.InstallMojo
-
- All Implemented Interfaces:
ContextEnabled,Mojo
@Mojo(name="install", defaultPhase=PRE_INTEGRATION_TEST, requiresDependencyResolution=RUNTIME, threadSafe=true) public class InstallMojo extends AbstractMojo
Installs the project artifacts of the main build into the local repository as a preparation to run the sub projects. More precisely, all artifacts of the project itself, all its locally reachable parent POMs and all its dependencies from the reactor will be installed to the local repository.- Since:
- 1.2
- Author:
- Paul Gier, Benjamin Bentmann
-
-
Constructor Summary
Constructors Constructor Description InstallMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectAllProjectReferences(MavenProject project, java.util.Collection<java.lang.String> dependencyProjects)voidexecute()Performs this mojo's tasks.-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
execute
public void execute() throws MojoExecutionExceptionPerforms this mojo's tasks.- Throws:
MojoExecutionException- If the artifacts could not be installed.
-
collectAllProjectReferences
protected void collectAllProjectReferences(MavenProject project, java.util.Collection<java.lang.String> dependencyProjects)
-
-