freehep-nar:nar-download

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

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: runtime
  • Automatically executes within the lifecycle phase: generate-sources

Required Parameters

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}

Optional Parameters

Name Type Description
aol String Architecture-OS-Linker name. Defaults to: arch-os-linker.
artifactResolver ArtifactResolver Artifact resolver, needed to download source jars for inclusion in classpath.
classifiers List List of classifiers which you want download. Example ppc-MacOSX-g++, x86-Windows-msvc, i386-Linux-g++.
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

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}

artifactResolver Artifact resolver, needed to download source jars for inclusion in classpath.
  • Type: org.apache.maven.artifact.resolver.ArtifactResolver
  • Required: No

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

linker Linker
  • Type: org.freehep.maven.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