|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractMojo
org.fusesource.hawtjni.maven.BuildMojo
public class BuildMojo
This goal builds the JNI module which was previously generated with the generate goal. It adds the JNI module to the test resource path so that unit tests can load the freshly built JNI library.
Field Summary | |
---|---|
protected ArtifactFactory |
artifactFactory
Artifact factory, needed to download the package source file |
protected ArtifactResolver |
artifactResolver
Artifact resolver, needed to download the package source file |
protected ArtifactRepository |
localRepository
Local maven repository. |
protected MavenProject |
project
The maven project. |
protected java.util.List |
remoteArtifactRepositories
Remote repositories |
Constructor Summary | |
---|---|
BuildMojo()
|
Method Summary | |
---|---|
void |
downloadNativeSourcePackage(java.io.File buildDir)
|
void |
execute()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MavenProject project
protected java.util.List remoteArtifactRepositories
protected ArtifactRepository localRepository
protected ArtifactFactory artifactFactory
protected ArtifactResolver artifactResolver
Constructor Detail |
---|
public BuildMojo()
Method Detail |
---|
public void execute() throws MojoExecutionException
MojoExecutionException
public void downloadNativeSourcePackage(java.io.File buildDir) throws MojoExecutionException
MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |