org.ops4j.pax.construct.lifecycle
Class ProvisionMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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,...]
 


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ProvisionMojo()
           
 
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
 

Constructor Detail

ProvisionMojo

public ProvisionMojo()
Method Detail

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.