jade-native:test-link

missing dscription

Mojo Attributes:

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

Required Parameters

Name Type Description
compilerProvider String Compiler Provider Type Default value is generic.

Optional Parameters

Name Type Description
projectHelper MavenProjectHelper project-helper instance, used to make addition of resources simpler
artifactResolver ArtifactResolver Used to look up Artifacts in the local or remote repository.
artifactFactory ArtifactFactory Used to look up Artifacts in the local or remote repository.
localRepository ArtifactRepository The local repository
pluginArtifacts Artifact> The plugin dependency artifacts
maven2AntManager Maven2AntManager The manager to link maven project with an Ant project.
nameProvider ProjectNameProvider No description.
envFactoryName String Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface. The class creates a set environment variables to be used with the command line.
versionNameNoSnapshot boolean Flag to tell if the "-SNAPSHOT" in library name should be removed. True by default Default value is true.
skipTest boolean Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
sharedOptions String A flag to use the shared options during compilation and link. If left null, the automatic behavior is based on the packaging type. It means all library modules (.a, .so, .dll) will return true. If set to true the plugin will always inlcude the shared options.
includePackagingTypes String> List of packaging types you want the plugin to work on. If a module (project POM) has a packaging that is not listed here, the plugin will do nothing (skip all phases). This is very useful for RPM pack, static analysis and other tools.
excludePackagingTypes String> List of packaging types you DON'T want the plugin to work on. If a module (project POM) has a packaging that is listed here, the plugin will do nothing (skip all phases). This is very useful for RPM pack, static analysis and other tools.
groupDefinitions GroupDefinition> Definition of group to name mapping.
linkerProvider String Default value is ${compilerProvider}
linkerExecutable String default to compilerType if not provided
linkerSharedOptions String> Compiler options to produce shared libraries. Activated when shared flag is on.
linkerStartOptions String> List of options that will placed at the beginning of the link command. It should be declared the following way: ...
linkerMiddleOptions String> List of options that will placed just before the list of libraries of the link command. It should be declared the following way: ...
linkerEndOptions String> List of options that will placed after the list of libraries of the link command. It should be declared the following way: ...
linkingOrderLibs String> Option to reorder dependency list, each item has the format of ${groupId}:${artifactId}
linkerSecondaryOutputExtensions String Comma separated extension type to be installed/deployed. Use this option to deploy library file produced by dll build on windows
linkSystemProperties String> Additional environments values used before execution of the link Command.
useLinksForLibs boolean Flag set to true to use symbolic links in target/lib that will link to libraries in the maven local repository
testLinkerExecutable String Use this field to override provider specific linker executable for test
testLinkerOptions String> Special lists of options for linker test

Parameter Details

projectHelper project-helper instance, used to make addition of resources simpler
  • Type: org.apache.maven.project.MavenProjectHelper
  • Required: No

artifactResolver Used to look up Artifacts in the local or remote repository.
  • Type: org.apache.maven.artifact.resolver.ArtifactResolver
  • Required: No

artifactFactory Used to look up Artifacts in the local or remote repository.
  • Type: org.apache.maven.artifact.factory.ArtifactFactory
  • Required: No

localRepository The local repository
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Expression: ${localRepository}

pluginArtifacts The plugin dependency artifacts
  • Type: java.util.List<org.apache.maven.artifact.Artifact>
  • Required: No
  • Expression: ${plugin.artifacts}

maven2AntManager The manager to link maven project with an Ant project.
  • Type: org.jfrog.jade.plugins.common.ant.Maven2AntManager
  • Required: No

nameProvider No Description.
  • Type: org.jfrog.jade.plugins.common.naming.ProjectNameProvider
  • Required: No

envFactoryName Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface. The class creates a set environment variables to be used with the command line.
  • Type: java.lang.String
  • Required: No

versionNameNoSnapshot Flag to tell if the "-SNAPSHOT" in library name should be removed. True by default
  • Type: boolean
  • Required: No
  • Default: true

compilerProvider Compiler Provider Type
  • Type: java.lang.String
  • Required: Yes
  • Default: generic

skipTest Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Required: No
  • Expression: ${maven.test.skip}

sharedOptions A flag to use the shared options during compilation and link. If left null, the automatic behavior is based on the packaging type. It means all library modules (.a, .so, .dll) will return true. If set to true the plugin will always inlcude the shared options.
  • Type: java.lang.String
  • Required: No

includePackagingTypes List of packaging types you want the plugin to work on. If a module (project POM) has a packaging that is not listed here, the plugin will do nothing (skip all phases). This is very useful for RPM pack, static analysis and other tools.
  • Type: java.util.List<java.lang.String>
  • Required: No

excludePackagingTypes List of packaging types you DON'T want the plugin to work on. If a module (project POM) has a packaging that is listed here, the plugin will do nothing (skip all phases). This is very useful for RPM pack, static analysis and other tools.
  • Type: java.util.List<java.lang.String>
  • Required: No

groupDefinitions Definition of group to name mapping.
  • Type: java.util.Set<org.jfrog.jade.plugins.common.naming.GroupDefinition>
  • Required: No

linkerProvider Default value is ${compilerProvider}
  • Type: java.lang.String
  • Required: No

linkerExecutable default to compilerType if not provided
  • Type: java.lang.String
  • Required: No

linkerSharedOptions Compiler options to produce shared libraries. Activated when shared flag is on.
  • Type: java.util.List<java.lang.String>
  • Required: No

linkerStartOptions List of options that will placed at the beginning of the link command. It should be declared the following way: ...
  • Type: java.util.List<java.lang.String>
  • Required: No

linkerMiddleOptions List of options that will placed just before the list of libraries of the link command. It should be declared the following way: ...
  • Type: java.util.List<java.lang.String>
  • Required: No

linkerEndOptions List of options that will placed after the list of libraries of the link command. It should be declared the following way: ...
  • Type: java.util.List<java.lang.String>
  • Required: No

linkingOrderLibs Option to reorder dependency list, each item has the format of ${groupId}:${artifactId}
  • Type: java.util.List<java.lang.String>
  • Required: No

linkerSecondaryOutputExtensions Comma separated extension type to be installed/deployed. Use this option to deploy library file produced by dll build on windows
  • Type: java.lang.String
  • Required: No

linkSystemProperties Additional environments values used before execution of the link Command.
  • Type: java.util.Map<java.lang.String,java.lang.String>
  • Required: No

useLinksForLibs Flag set to true to use symbolic links in target/lib that will link to libraries in the maven local repository
  • Type: boolean
  • Required: No

testLinkerExecutable Use this field to override provider specific linker executable for test
  • Type: java.lang.String
  • Required: No

testLinkerOptions Special lists of options for linker test
  • Type: java.util.List<java.lang.String>
  • Required: No