Compiles class files into c/c++ headers using "javah". Any class file that contains methods that were declared "native" will be run through javah.
Mojo Attributes:
compile| Name | Type | Description |
|---|---|---|
| architecture | String |
The Architecture for the nar, Some choices are: "x86", "i386", "amd64", "ppc", "sparc", ... Defaults to a derived value from ${os.arch} |
| failOnError | boolean |
Fail on compilation/linking error. Default value is true. |
| libtool | boolean |
Set use of libtool. If set to true, the "libtool " will be prepended to the command line for compatible processors. Default value is false. |
| runtime | String |
Sets the type of runtime library, possible values "dynamic", "static". Default value is dynamic. |
| Name | Type | Description |
|---|---|---|
| aol | String |
Architecture-OS-Linker name. Defaults to: arch-os-linker. |
| c | C |
C Compiler |
| cpp | Cpp |
C++ Compiler |
| fortran | Fortran |
Fortran Compiler |
| java | Java |
Java info for includes and linking |
| javah | Javah |
Javah info |
| libraries | List |
List of libraries to create |
| linker | Linker |
Linker |
| maxCores | int |
Maximum number of Cores/CPU's to use. 0 means unlimited. |
| os | String |
The Operating System for the nar. Some choices are: "Windows", "Linux", "MacOSX", "SunOS", ... Defaults to a derived value from ${os.name} FIXME table missing |
| output | String |
Name of the output |
| skip | boolean |
Skip running of NAR plugins (any) altogether. Default value is false. |
| targetDirectory | File |
Target directory for Nar file construction Defaults to "${project.build.directory}/nar" for "nar-compile" goal Defaults to "${project.build.directory}/test-nar" for "nar-testCompile" goal |
| tests | List |
List of tests to create |
Architecture-OS-Linker name. Defaults to: arch-os-linker.
java.lang.StringNojava.lang.StringYes${os.arch}org.freehep.maven.nar.CNoorg.freehep.maven.nar.CppNobooleanYestrueorg.freehep.maven.nar.FortranNoorg.freehep.maven.nar.JavaNoorg.freehep.maven.nar.JavahNojava.util.ListNobooleanYesfalseorg.freehep.maven.nar.LinkerNointNojava.lang.StringNojava.lang.StringNo${project.artifactId}-${project.version}java.lang.StringYesdynamicbooleanNo${nar.skip}falsejava.io.FileNojava.util.ListNo