Package org.codehaus.mojo.natives.plugin
Class NativeResourceCompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.NativeResourceCompileMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="resource-compile",
defaultPhase=GENERATE_RESOURCES)
public class NativeResourceCompileMojo
extends AbstractNativeMojo
Compile Windows resource files
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ResourceCompilerManager
Internalprivate String
Compiler Provider Typeprivate String
Use this field to override provider specific resource compiler executableResource compiler optionsprotected File
private NativeSources[]
Array of NativeSources containing include directories and source filesFields inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
dependencyIncludeDirectory, EMPTY_FILE_LIST, envFactoryManager, INCZIP_FOUND, INCZIP_TYPE, LINKER_INPUT_LIST_NAME, LINKER_OUTPUT_PATH, project, workingDirectory
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
provider
Compiler Provider Type- Since:
- 1.0-alpha-2
-
resourceCompilerExecutable
Use this field to override provider specific resource compiler executable- Since:
- 1.0-alpha-2
-
resourceCompilerOptions
Resource compiler options- Since:
- 1.0-alpha-2
-
resources
Array of NativeSources containing include directories and source files- Since:
- 1.0-alpha-8
-
resourceCompilerOutputDirectory
@Parameter(defaultValue="${project.build.directory}", required=true) protected File resourceCompilerOutputDirectory- Since:
- 1.0-alpha-2
-
manager
Internal- Since:
- 1.0-alpha-2
-
-
Constructor Details
-
NativeResourceCompileMojo
public NativeResourceCompileMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getResourceCompiler
private ResourceCompiler getResourceCompiler() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-