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.String
No
java.lang.String
Yes
${os.arch}
org.freehep.maven.nar.C
No
org.freehep.maven.nar.Cpp
No
boolean
Yes
true
org.freehep.maven.nar.Fortran
No
org.freehep.maven.nar.Java
No
org.freehep.maven.nar.Javah
No
java.util.List
No
boolean
Yes
false
org.freehep.maven.nar.Linker
No
int
No
java.lang.String
No
java.lang.String
No
${project.artifactId}-${project.version}
java.lang.String
Yes
dynamic
boolean
No
${nar.skip}
false
java.io.File
No
java.util.List
No