nar:nar-download

Full name:

org.apache.maven.plugins:maven-nar-plugin:2.1-SNAPSHOT:nar-download

Description:

Downloads any dependent NAR files. This includes the noarch and aol type NAR files.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: generate-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}

Optional Parameters

Name Type Since Description
aol String - Architecture-OS-Linker name. Defaults to: arch-os-linker.
classifiers List - List of classifiers which you want download. Example ppc-MacOSX-g++, x86-Windows-msvc, i386-Linux-g++.
ignore boolean - Ignore errors and failures.
Default value is: false.
linker Linker - Linker
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
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
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}

classifiers:

List of classifiers which you want download. Example ppc-MacOSX-g++, x86-Windows-msvc, i386-Linux-g++.
  • Type: java.util.List
  • Required: No

ignore:

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

linker:

Linker
  • Type: org.apache.maven.plugin.nar.Linker
  • 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

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

unpackDirectory:

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