Package org.codehaus.mojo.natives.plugin
Class NativeBundleIncludeFilesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.NativeBundleIncludeFilesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="inczip",
defaultPhase=PACKAGE)
public class NativeBundleIncludeFilesMojo
extends AbstractNativeMojo
Prepare include file bundle to be attached to maven for deployment purpose
- Since:
- 1.0-alpha-4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File
Archive file to bundle all enable NativeSourcesprivate org.apache.maven.project.MavenProjectHelper
Maven ProjectHelper.private boolean
Option to skip include source bundle deploymentprivate NativeSources[]
Array of NativeSources containing include directories and source files.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
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
sources
Array of NativeSources containing include directories and source files.- Since:
- 1.0-alpha-4
-
incZipFile
@Parameter(defaultValue="${project.build.directory}/${project.build.finalName}.inczip", required=true) private File incZipFileArchive file to bundle all enable NativeSources- Since:
- 1.0-alpha-4
-
skipIncludeDeployment
@Parameter(defaultValue="false") private boolean skipIncludeDeploymentOption to skip include source bundle deployment- Since:
- 1.0-alpha-4
-
projectHelper
@Component private org.apache.maven.project.MavenProjectHelper projectHelperMaven ProjectHelper.- Since:
- 1.0-alpha-4
-
-
Constructor Details
-
NativeBundleIncludeFilesMojo
public NativeBundleIncludeFilesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-