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

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.GenerateServiceUnitDescriptorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateServiceUnitDescriptorMojo
extends AbstractJbiMojo

A Mojo used to build the jbi.xml file for a service unit.

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

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
GenerateServiceUnitDescriptorMojo()
           
 
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

GenerateServiceUnitDescriptorMojo

public GenerateServiceUnitDescriptorMojo()
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-2009 Apache Software Foundation. All Rights Reserved.