org.apache.servicemix.maven.plugin.jbi
Class GenerateComponentDescriptorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.servicemix.maven.plugin.jbi.AbstractJbiMojo
          extended by org.apache.servicemix.maven.plugin.jbi.GenerateComponentDescriptorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateComponentDescriptorMojo
extends AbstractJbiMojo

A Mojo used to build the jbi.xml file.

Version:
$Id: GenerateComponentDescriptorMojo 314956 2005-10-12 16:27:15Z brett $
Author:
Guillaume Nodet

Field Summary
static java.lang.String UTF_8
           
 
Fields inherited from class org.apache.servicemix.maven.plugin.jbi.AbstractJbiMojo
artifactMetadataSource, collector, factory, JBI_DESCRIPTOR, LIB_DIRECTORY, localRepo, META_INF, project, projectBuilder, projectHelper, remoteRepos, resolver, workDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateComponentDescriptorMojo()
           
 
Method Summary
 void execute()
           
protected  void generateJbiDescriptor()
          Generates the deployment descriptor if necessary.
 
Methods inherited from class org.apache.servicemix.maven.plugin.jbi.AbstractJbiMojo
createManagedVersionMap, excludeBranch, getArtifacts, getClassLoader, getProject, getProjectHelper, getWorkDirectory, print, removeBranch, removeChildren, resolveProject, retainArtifacts
 
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
 

Field Detail

UTF_8

public static final java.lang.String UTF_8
See Also:
Constant Field Values
Constructor Detail

GenerateComponentDescriptorMojo

public GenerateComponentDescriptorMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

generateJbiDescriptor

protected void generateJbiDescriptor()
                              throws JbiPluginException
Generates the deployment descriptor if necessary.

Throws:
JbiPluginException


Copyright ? 2005-2007. All Rights Reserved.