Package org.codehaus.mojo.natives.plugin
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 AbstractNativeMojoEmbeds a Visual Studio manifest file into a generated executable
-
-
Field Summary
Fields Modifier and Type Field Description private booleancheckStaleLinkageEnable this option to speed up linkage for large project with no dependencies changesprivate ManifestManagermanagerprivate java.lang.StringmanifestExtensionManifest extensionprivate java.lang.StringproviderManifest Provider.-
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 NativeManifestMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()private ManifestgetManifest()-
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 providerManifest Provider.
-
manifestExtension
@Parameter(defaultValue="manifest", required=true) private java.lang.String manifestExtensionManifest 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
-
-
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
-
-