Fork me on GitHub

native:resource-compile

Full name:

org.codehaus.mojo:native-maven-plugin:1.0.0:resource-compile

Description:

Compile Windows resource files

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: generate-resources.

Required Parameters

Name Type Since Description
<provider> String 1.0-alpha-2 Compiler Provider Type
Default: msvc
<resourceCompilerOutputDirectory> File 1.0-alpha-2 No description.
Default: ${project.build.directory}
<workingDirectory> File - user directory when external tools( ie compiler/linker ) are invoked
Default: ${basedir}

Optional Parameters

Name Type Since Description
<dependencyIncludeDirectory> File - Directory to unpack .inczip dependency files to be included as system include path
Default: ${project.build.directory}/native/include
<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.
<resourceCompilerExecutable> String 1.0-alpha-2 Use this field to override provider specific resource compiler executable
<resourceCompilerOptions> List<String> 1.0-alpha-2 Resource compiler options
<resources> NativeSources[] 1.0-alpha-8 Array of NativeSources containing include directories and source files
<skip> boolean 1.0-M2 Set to true to skip the execution of native plugin mojos.
Default: false
User Property: native.skip

Parameter Details

<dependencyIncludeDirectory>

Directory to unpack .inczip dependency files to be included as system include path
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/native/include

<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

<provider>

Compiler Provider Type
  • Type: java.lang.String
  • Since: 1.0-alpha-2
  • Required: Yes
  • Default: msvc

<resourceCompilerExecutable>

Use this field to override provider specific resource compiler executable
  • Type: java.lang.String
  • Since: 1.0-alpha-2
  • Required: No

<resourceCompilerOptions>

Resource compiler options
  • Type: java.util.List<java.lang.String>
  • Since: 1.0-alpha-2
  • Required: No

<resourceCompilerOutputDirectory>

No description.
  • Type: java.io.File
  • Since: 1.0-alpha-2
  • Required: Yes
  • Default: ${project.build.directory}

<resources>

Array of NativeSources containing include directories and source files
  • Type: org.codehaus.mojo.natives.NativeSources[]
  • Since: 1.0-alpha-8
  • Required: No

<skip>

Set to true to skip the execution of native plugin mojos.
  • Type: boolean
  • Since: 1.0-M2
  • Required: No
  • User Property: native.skip
  • Default: false

<workingDirectory>

user directory when external tools( ie compiler/linker ) are invoked
  • Type: java.io.File
  • Required: Yes
  • Default: ${basedir}