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_SOURCES) public class NativeMessageCompileMojo extends AbstractNativeMojoCompile Windows message files
-
-
Field Summary
Fields Modifier and Type Field Description private MessageCompilerManagermanagerprivate java.lang.StringmessageCompilerExecutableUse this field to override provider specific message compiler executableprivate java.util.ListmessageCompilerOptionsAdditional Compiler optionsprotected java.io.FilemessageCompilerOutputDirectoryWhere to place the compiler object filesprotected java.io.File[]messageFilesList of message files to compileprivate java.lang.StringproviderCompiler Provider Type-
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 NativeMessageCompileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()private MessageCompilergetMessageCompiler()-
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
-
-
-
-
Field Detail
-
provider
@Parameter(defaultValue="msvc", required=true) private java.lang.String providerCompiler Provider Type
-
messageCompilerExecutable
@Parameter private java.lang.String messageCompilerExecutable
Use this field to override provider specific message compiler executable
-
messageCompilerOptions
@Parameter private java.util.List messageCompilerOptions
Additional Compiler options
-
messageFiles
@Parameter(required=true) protected java.io.File[] messageFiles
List of message files to compile
-
messageCompilerOutputDirectory
@Parameter(defaultValue="${project.build.directory}", required=true) protected java.io.File messageCompilerOutputDirectoryWhere to place the compiler object files
-
manager
@Component private MessageCompilerManager manager
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getMessageCompiler
private MessageCompiler getMessageCompiler() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-