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
public class NativeResourceCompileMojo extends AbstractNativeMojo
Compile Windows resource files
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceCompilerManager
manager
Internalprivate java.lang.String
provider
Compiler Provider Typeprivate java.lang.String
resourceCompilerExecutable
Use this field to override provider specific resource compiler executableprivate java.util.List
resourceCompilerOptions
Resource compiler optionsprotected java.io.File
resourceCompilerOutputDirectory
private NativeSources[]
resources
Array of NativeSources containing include directories and source files-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description NativeResourceCompileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
private ResourceCompiler
getResourceCompiler()
-
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
-
-
-
-
Field Detail
-
provider
private java.lang.String provider
Compiler Provider Type- Since:
- 1.0-alpha-2
-
resourceCompilerExecutable
private java.lang.String resourceCompilerExecutable
Use this field to override provider specific resource compiler executable- Since:
- 1.0-alpha-2
-
resourceCompilerOptions
private java.util.List resourceCompilerOptions
Resource compiler options- Since:
- 1.0-alpha-2
-
resources
private NativeSources[] resources
Array of NativeSources containing include directories and source files- Since:
- 1.0-alpha-8
-
resourceCompilerOutputDirectory
protected java.io.File resourceCompilerOutputDirectory
- Since:
- 1.0-alpha-2
-
manager
private ResourceCompilerManager manager
Internal- Since:
- 1.0-alpha-2
-
-
Method Detail
-
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
-
-