org.fusesource.mvnplugins.fab
Class FabMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.fusesource.mvnplugins.fab.FabMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class FabMojo
- extends org.apache.maven.plugin.AbstractMojo
Generates a fabric module descriptor and attaches it to the project
so that it gets deployed to a maven repo.
- Author:
- Hiram Chirino
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
protected java.lang.String |
checksum(java.lang.String algorithm,
java.io.File file)
|
void |
execute()
|
| 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 |
FAB_MODULE_ID
public static final java.lang.String FAB_MODULE_ID
- See Also:
- Constant Field Values
FAB_MODULE_NAME
public static final java.lang.String FAB_MODULE_NAME
- See Also:
- Constant Field Values
FAB_MODULE_DESCRIPTION
public static final java.lang.String FAB_MODULE_DESCRIPTION
- See Also:
- Constant Field Values
FAB_MODULE_SHA1
public static final java.lang.String FAB_MODULE_SHA1
- See Also:
- Constant Field Values
project
protected org.apache.maven.project.MavenProject project
- Since:
- 1.0
target
protected java.io.File target
- The file name of the .
classifier
protected java.lang.String classifier
- The classifier to use.
enabled
protected boolean enabled
- If set to false, then it disables the plugin.
descriptor
protected java.util.Map<java.lang.String,java.lang.String> descriptor
- Descriptor settings.
FabMojo
public FabMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
checksum
protected java.lang.String checksum(java.lang.String algorithm,
java.io.File file)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009-2011 FuseSource. All Rights Reserved.