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

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

public class GenerateServiceAssemblyDescriptorMojo
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

Nested Class Summary
 class GenerateServiceAssemblyDescriptorMojo.Connection
           
 
Field Summary
static java.lang.String JBI_NAMESPACE
           
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
GenerateServiceAssemblyDescriptorMojo()
           
 
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

JBI_NAMESPACE

public static final java.lang.String JBI_NAMESPACE
See Also:
Constant Field Values

UTF_8

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

GenerateServiceAssemblyDescriptorMojo

public GenerateServiceAssemblyDescriptorMojo()
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,
                                     org.apache.maven.plugin.MojoExecutionException
Generates the deployment descriptor if necessary.

Throws:
org.apache.maven.plugin.MojoExecutionException
JbiPluginException


Copyright © 2005-2008. All Rights Reserved.