Package org.jboss.galleon.maven.plugin
Class ProvisionStateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jboss.galleon.maven.plugin.ProvisionStateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="provision", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PROCESS_TEST_RESOURCES) public class ProvisionStateMojo extends org.apache.maven.plugin.AbstractMojoThis maven plugin provisions an installation that consists of one or more feature-packs. If the target installation directory already contains an installation, the existing installation will be fully replaced with the newly provisioned one.In other words, the configuration provided for this goal fully describes the state of the final installation.
- Author:
- Emmanuel Hugonnet (c) 2017 Red Hat, inc., Alexey Loubyansky (c) 2017 Red Hat, inc.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProjectprojectprotected org.eclipse.aether.RepositorySystemSessionrepoSessionprotected org.eclipse.aether.RepositorySystemrepoSystemprotected org.apache.maven.execution.MavenSessionsession
-
Constructor Summary
Constructors Constructor Description ProvisionStateMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
repoSystem
@Component protected org.eclipse.aether.RepositorySystem repoSystem
-
repoSession
@Parameter(defaultValue="${repositorySystemSession}", readonly=true) protected org.eclipse.aether.RepositorySystemSession repoSession
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
-
session
@Parameter(defaultValue="${session}", readonly=true, required=true) protected org.apache.maven.execution.MavenSession session
-
-