org.fusesource.hawtjni.maven
Class PackageJarMojo
java.lang.Object
AbstractMojo
org.fusesource.hawtjni.maven.PackageJarMojo
public class PackageJarMojo
- extends AbstractMojo
This goal allows allows you to package the JNI library created by build goal
in a JAR which the HawtJNI runtime can unpack when the library needs to be
loaded.
This platform specific jar is attached with a classifier which matches the
current platform.
- Author:
- Hiram Chirino
Field Summary |
protected MavenProject |
project
The maven project. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected MavenProject project
- The maven project.
PackageJarMojo
public PackageJarMojo()
execute
public void execute()
throws MojoExecutionException
- Throws:
MojoExecutionException
getNativeCodeValue
public java.lang.String getNativeCodeValue(Library library)
getOsgiOSName
public java.lang.String getOsgiOSName()
getOsgiProcessor
public java.lang.String getOsgiProcessor()
Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.