Fork me on GitHub

native:resource-compile

Full name:

org.codehaus.mojo:native-maven-plugin:1.0-alpha-9:resource-compile

Description:

Compile Windows resource files

Attributes:

  • Requires a Maven project to be executed.
  • 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 value is: msvc.
resourceCompilerOutputDirectory File 1.0-alpha-2 (no description)
Default value is: ${project.build.directory}.
workingDirectory File - user directory when external tools( ie compiler/linker ) are invoked
Default value is: ${basedir}.

Optional Parameters

Name Type Since Description
dependencyIncludeDirectory File - Directory to unpack .inczip dependency files to be included as system include path
Default value is: ${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 1.0-alpha-2 Resource compiler options
resources NativeSources[] 1.0-alpha-8 Array of NativeSources containing include directories and source files

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
  • 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

workingDirectory:

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