Package org.fusesource.hawtjni.maven
Class PackageSourceMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.fusesource.hawtjni.maven.PackageSourceMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="package-source", defaultPhase=PACKAGE) public class PackageSourceMojo extends org.apache.maven.plugin.AbstractMojo
This goal creates a source zip file of the native build module and attaches it to the build so that it can get deployed.- Author:
- Hiram Chirino
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProject
project
The maven project.
-
Constructor Summary
Constructors Constructor Description PackageSourceMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
The maven project.
-
-
Constructor Detail
-
PackageSourceMojo
public PackageSourceMojo()
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-