Package org.codehaus.mojo.natives.plugin
Class NativeRanlibMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.natives.plugin.AbstractNativeMojo
-
- org.codehaus.mojo.natives.plugin.NativeRanlibMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="ranlib", defaultPhase=PACKAGE) public class NativeRanlibMojo extends AbstractNativeMojo
ranlib a Unix linker output file
-
-
Field Summary
Fields Modifier and Type Field Description private RanlibManager
manager
To look up ranlib implementationprivate java.lang.String
provider
Ranlib Provider.protected java.io.File
ranlibOutputDirectory
Where to place the final packaging-
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 NativeRanlibMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
private Ranlib
getRanlib()
-
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
-
-
-
-
Field Detail
-
ranlibOutputDirectory
@Parameter(defaultValue="${project.build.directory}", required=true) protected java.io.File ranlibOutputDirectory
Where to place the final packaging- Since:
- 1.0-alpha-2
-
provider
@Parameter(defaultValue="default", required=true) private java.lang.String provider
Ranlib Provider.- Since:
- 1.0-alpha-2
-
manager
@Component private RanlibManager manager
To look up ranlib implementation- Since:
- 1.0-alpha-2
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getRanlib
private Ranlib getRanlib() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-