|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NarLayout
Interface to define the layout of nar files (executables, libs, include dirs) in both the repository (local, unpacked) as well as in target.
| Method Summary | |
|---|---|
void |
attachNars(File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project)
Called to attach nars to main nar/jar file. |
File |
getBinDirectory(File baseDir,
String artifactId,
String version,
String aol)
Specifies where binaries are stored |
File |
getIncludeDirectory(File baseDir,
String artifactId,
String version)
Specifies where includes are stored |
File |
getLibDirectory(File baseDir,
String artifactId,
String version,
String aol,
String type)
Specifies where libraries are stored |
File |
getNarUnpackDirectory(File baseUnpackDirectory,
File narFile)
Returns the unpack directory of a specific nar file. |
File |
getNoArchDirectory(File baseDir,
String artifactId,
String version)
Specifies where all the "no architecture" specific files are stored |
void |
prepareNarInfo(File baseDir,
org.apache.maven.project.MavenProject project,
NarInfo narInfo,
AbstractNarMojo libraryName)
Called to attach nars to main nar/jar file. |
void |
unpackNar(File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
String os,
String linkerName,
AOL defaultAOL)
Called to unpack a nar file |
| Method Detail |
|---|
File getNoArchDirectory(File baseDir,
String artifactId,
String version)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
File getLibDirectory(File baseDir,
String artifactId,
String version,
String aol,
String type)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
MojoExecutionException, - MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
File getIncludeDirectory(File baseDir,
String artifactId,
String version)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
File getBinDirectory(File baseDir,
String artifactId,
String version,
String aol)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
void prepareNarInfo(File baseDir,
org.apache.maven.project.MavenProject project,
NarInfo narInfo,
AbstractNarMojo libraryName)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
void attachNars(File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
void unpackNar(File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
String os,
String linkerName,
AOL defaultAOL)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
defaultAOL - linkerName -
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
File getNarUnpackDirectory(File baseUnpackDirectory,
File narFile)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||