Class NativeManifestMojo

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

    @Mojo(name="manifest",
          defaultPhase=PACKAGE)
    public class NativeManifestMojo
    extends AbstractNativeMojo
    Embeds a Visual Studio manifest file into a generated executable
    Since:
    1.0-alpha4
    • Field Detail

      • provider

        @Parameter(defaultValue="msvc",
                   required=true)
        private java.lang.String provider
        Manifest Provider.
        Since:
        1.0-alpha4
      • manifestExtension

        @Parameter(defaultValue="manifest",
                   required=true)
        private java.lang.String manifestExtension
        Manifest extension
        Since:
        1.0-alpha-4
      • checkStaleLinkage

        @Parameter(defaultValue="false")
        private boolean checkStaleLinkage
        Enable this option to speed up linkage for large project with no dependencies changes
        Since:
        1.0-alpha-8
      • manager

        @Component
        private ManifestManager manager
        Internal - To look up manifest implementation
        Since:
        1.0-alpha-4
    • Constructor Detail

      • NativeManifestMojo

        public NativeManifestMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getManifest

        private Manifest getManifest()
                              throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException