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

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.AbstractDeployableMojo
              extended by org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo
                  extended by org.apache.servicemix.maven.plugin.jbi.MakeServiceMixDirsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MakeServiceMixDirsMojo
extends JbiProjectDeployerMojo

Creates a binary servicemix install directory that can then be referenced by a spring.xml file for integration testing.

Version:
$Id: $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo
JbiProjectDeployerMojo.ArtifactDepthComparator, JbiProjectDeployerMojo.JbiDeployableArtifact
 
Field Summary
 
Fields inherited from class org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo
JBI_COMPONENT, JBI_SERVICE_ASSEMBLY, JBI_SHARED_LIBRARY
 
Fields inherited from class org.apache.servicemix.maven.plugin.jbi.AbstractDeployableMojo
containerName, host, jmxDomainName, jndiPath, password, port, serverProtocol, username
 
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
MakeServiceMixDirsMojo()
           
 
Method Summary
protected  void deployDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable, boolean doDeferExceptions)
           
 void execute()
           
protected  boolean isDeployed(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
           
protected  void startDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
           
protected  void stopDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
           
 
Methods inherited from class org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo
deployProject, getDeployablePackagingTypes, getExtension, resolveDeploymentPackage, undeployDependency
 
Methods inherited from class org.apache.servicemix.maven.plugin.jbi.AbstractDeployableMojo
initializeJbiTask
 
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
 

Constructor Detail

MakeServiceMixDirsMojo

public MakeServiceMixDirsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class JbiProjectDeployerMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

deployDependency

protected void deployDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable,
                                boolean doDeferExceptions)
                         throws org.apache.maven.plugin.MojoExecutionException
Overrides:
deployDependency in class JbiProjectDeployerMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

startDependency

protected void startDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
Overrides:
startDependency in class JbiProjectDeployerMojo

stopDependency

protected void stopDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
Overrides:
stopDependency in class JbiProjectDeployerMojo

isDeployed

protected boolean isDeployed(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
Overrides:
isDeployed in class JbiProjectDeployerMojo


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.