Goals available for this plugin:
Goal | Description |
---|---|
native:compile | Compile source files into native object files |
native:compile-message | Compile Windows message files |
native:help | Display help information on native-maven-plugin. Call mvn native:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
native:inczip | Prepare include file bundle to be attached to maven for deployment purpose |
native:initialize | Initialize build lifecycle |
native:javah | Generate JNI include files based on a set of class names |
native:link | Link all previously built object and dependent library files into final build artifact |
native:manifest | Embeds a Visual Studio manifest file into a generated executable |
native:ranlib | ranlib a Unix linker output file |
native:resource-compile | Compile Windows resource files |
native:unzipinc | Unpack any .inczip dependencies to be included as system include path |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.7 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>native-maven-plugin</artifactId> <version>1.0-alpha-9</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>native-maven-plugin</artifactId> <version>1.0-alpha-9</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"