Package org.codehaus.mojo.natives.plugin
Class NativeMessageCompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.NativeMessageCompileMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="compile-message",
defaultPhase=GENERATE_RESOURCES)
public class NativeMessageCompileMojo
extends AbstractNativeMojo
Compile Windows message files
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MessageCompilerManager
Internalprivate String
Use this field to override provider specific message compiler executableAdditional Compiler optionsprotected File
Where to place the compiler object filesprotected File[]
List of message files to compileprivate String
Compiler Provider TypeFields 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
-
messageCompilerExecutable
Use this field to override provider specific message compiler executable- Since:
- 1.0-alpha-2
-
messageCompilerOptions
Additional Compiler options- Since:
- 1.0-alpha-2
-
messageFiles
List of message files to compile- Since:
- 1.0-alpha-2
-
messageCompilerOutputDirectory
@Parameter(defaultValue="${project.build.directory}", required=true) protected File messageCompilerOutputDirectoryWhere to place the compiler object files- Since:
- 1.0-alpha-2
-
manager
Internal- Since:
- 1.0-alpha-2
-
-
Constructor Details
-
NativeMessageCompileMojo
public NativeMessageCompileMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getMessageCompiler
- Throws:
org.apache.maven.plugin.MojoExecutionException
-