org.ops4j.pax.construct.lifecycle
Class ProvisionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.ops4j.pax.construct.lifecycle.ProvisionMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- RunMojo
public class ProvisionMojo
- extends org.apache.maven.plugin.AbstractMojo
Provision all local and imported bundles onto the selected OSGi framework
mvn pax:provision [-Dframework=felix|equinox|kf|concierge] [-Dprofiles=minimal,log,war,...]
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
static boolean |
isProvisioningPom(org.apache.maven.project.MavenProject project)
Does this look like a provisioning POM? ie. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProvisionMojo
public ProvisionMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
isProvisioningPom
public static boolean isProvisioningPom(org.apache.maven.project.MavenProject project)
- Does this look like a provisioning POM? ie. artifactId of 'provision', packaging type 'pom', with dependencies
- Parameters:
project
- a Maven project
- Returns:
- true if this looks like a provisioning POM, otherwise false
Copyright © 2007-2008 OPS4J. All Rights Reserved.