org.apache.servicemix.maven.plugin.jbi
Class JbiProjectDeployerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.servicemix.maven.plugin.jbi.AbstractJbiMojo
org.apache.servicemix.maven.plugin.jbi.AbstractDeployableMojo
org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- MakeServiceMixDirsMojo, ServiceMixMojo
public class JbiProjectDeployerMojo
- extends AbstractDeployableMojo
A Mojo that can take any project and determine its JBI dependencies and then
install it and its dependencies using the JBI deployment tasks
- Version:
- $Id: GenerateComponentDescriptorMojo 314956 2005-10-12 16:27:15Z
brett $
- Author:
- Philip Dodds
| 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 |
| 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 |
JBI_SHARED_LIBRARY
public static final java.lang.String JBI_SHARED_LIBRARY
- See Also:
- Constant Field Values
JBI_COMPONENT
public static final java.lang.String JBI_COMPONENT
- See Also:
- Constant Field Values
JBI_SERVICE_ASSEMBLY
public static final java.lang.String JBI_SERVICE_ASSEMBLY
- See Also:
- Constant Field Values
JbiProjectDeployerMojo
public JbiProjectDeployerMojo()
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
deployProject
protected void deployProject()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
startDependency
protected void startDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
undeployDependency
protected void undeployDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
isDeployed
protected boolean isDeployed(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
stopDependency
protected void stopDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable)
deployDependency
protected void deployDependency(JbiProjectDeployerMojo.JbiDeployableArtifact jbiDeployable,
boolean doDeferExceptions)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getDeployablePackagingTypes
protected java.util.List getDeployablePackagingTypes()
resolveDeploymentPackage
protected JbiProjectDeployerMojo.JbiDeployableArtifact resolveDeploymentPackage(org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.Artifact artifact)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
getExtension
protected java.lang.String getExtension(org.apache.maven.project.MavenProject project2)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.