nar:nar-gnu-configure

Full name:

org.apache.maven.plugins:maven-nar-plugin:2.1-SNAPSHOT:nar-gnu-configure

Description:

Copies the GNU style source files to a target area, autogens and configures them.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: process-sources.

Required Parameters

Name Type Since 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.
gnuSourceDirectory File - Source directory for GNU style project
gnuTargetDirectory File - Directory in which gnu sources are copied and "configured"
gnuUseOnWindows boolean - Use GNU goals on Windows
Default value is: false.
layout String - Layout to be used for building and unpacking artifacts
Default value is: org.apache.maven.plugin.nar.NarLayout21.
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.
resourceBinDir String - Binary directory
resourceIncludeDir String - Include directory
resourceLibDir String - Library directory
runtime String - Sets the type of runtime library, possible values "dynamic", "static".
Default value is: dynamic.

Optional Parameters

Name Type Since Description
aol String - Architecture-OS-Linker name. Defaults to: arch-os-linker.
c C - C Compiler
cpp Cpp - C++ Compiler
fortran Fortran - Fortran Compiler
gnuAutogenSkip boolean - Skip running of autogen.sh.
Default value is: false.
gnuConfigureSkip boolean - Skip running of configure and therefore also autogen.sh
Default value is: false.
ignore boolean - Ignore errors and failures.
Default value is: false.
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
unpackDirectory File - Target directory for Nar file unpacking. Defaults to "${targetDirectory}/depenencies"

Parameter Details

aol:

Architecture-OS-Linker name. Defaults to: arch-os-linker.
  • Type: java.lang.String
  • Required: No

architecture:

The Architecture for the nar, Some choices are: "x86", "i386", "amd64", "ppc", "sparc", ... Defaults to a derived value from ${os.arch}
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${os.arch}

c:

C Compiler
  • Type: org.apache.maven.plugin.nar.C
  • Required: No

cpp:

C++ Compiler
  • Type: org.apache.maven.plugin.nar.Cpp
  • Required: No

failOnError:

Fail on compilation/linking error.
  • Type: boolean
  • Required: Yes
  • Default: true

fortran:

Fortran Compiler
  • Type: org.apache.maven.plugin.nar.Fortran
  • Required: No

gnuAutogenSkip:

Skip running of autogen.sh.
  • Type: boolean
  • Required: No
  • Expression: ${nar.gnu.autogen.skip}
  • Default: false

gnuConfigureSkip:

Skip running of configure and therefore also autogen.sh
  • Type: boolean
  • Required: No
  • Expression: ${nar.gnu.configure.skip}
  • Default: false

gnuSourceDirectory:

Source directory for GNU style project
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/gnu

gnuTargetDirectory:

Directory in which gnu sources are copied and "configured"
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/nar/gnu

gnuUseOnWindows:

Use GNU goals on Windows
  • Type: boolean
  • Required: Yes
  • Default: false

ignore:

Ignore errors and failures.
  • Type: boolean
  • Required: No
  • Expression: ${nar.ignore}
  • Default: false

java:

Java info for includes and linking
  • Type: org.apache.maven.plugin.nar.Java
  • Required: No

javah:

Javah info
  • Type: org.apache.maven.plugin.nar.Javah
  • Required: No

layout:

Layout to be used for building and unpacking artifacts
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${nar.layout}
  • Default: org.apache.maven.plugin.nar.NarLayout21

libraries:

List of libraries to create
  • Type: java.util.List
  • Required: No

libtool:

Set use of libtool. If set to true, the "libtool " will be prepended to the command line for compatible processors.
  • Type: boolean
  • Required: Yes
  • Default: false

linker:

Linker
  • Type: org.apache.maven.plugin.nar.Linker
  • Required: No

maxCores:

Maximum number of Cores/CPU's to use. 0 means unlimited.
  • Type: int
  • Required: No

os:

The Operating System for the nar. Some choices are: "Windows", "Linux", "MacOSX", "SunOS", ... Defaults to a derived value from ${os.name} FIXME table missing
  • Type: java.lang.String
  • Required: No

output:

Name of the output
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.artifactId}-${project.version}

resourceBinDir:

Binary directory
  • Type: java.lang.String
  • Required: Yes
  • Expression: bin

resourceIncludeDir:

Include directory
  • Type: java.lang.String
  • Required: Yes
  • Expression: include

resourceLibDir:

Library directory
  • Type: java.lang.String
  • Required: Yes
  • Expression: lib

runtime:

Sets the type of runtime library, possible values "dynamic", "static".
  • Type: java.lang.String
  • Required: Yes
  • Default: dynamic

skip:

Skip running of NAR plugins (any) altogether.
  • Type: boolean
  • Required: No
  • Expression: ${nar.skip}
  • Default: false

targetDirectory:

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
  • Type: java.io.File
  • Required: No

tests:

List of tests to create
  • Type: java.util.List
  • Required: No

unpackDirectory:

Target directory for Nar file unpacking. Defaults to "${targetDirectory}/depenencies"
  • Type: java.io.File
  • Required: No