Class NativeResourceCompileMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    public class NativeResourceCompileMojo
    extends AbstractNativeMojo
    Compile Windows resource files
    • 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
    • Constructor Detail

      • NativeResourceCompileMojo

        public NativeResourceCompileMojo()
    • 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