Class NativeManifestMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.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
  • Field Details

    • provider

      @Parameter(defaultValue="msvc", required=true) private String provider
      Manifest Provider.
    • manifestExtension

      @Parameter(defaultValue="manifest", required=true) private String manifestExtension
      Manifest extension
    • checkStaleLinkage

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

      @Component private ManifestManager manager
  • Constructor Details

    • NativeManifestMojo

      public NativeManifestMojo()
  • Method Details

    • 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