|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.maven_nar.AbstractNarLayout
com.github.maven_nar.NarLayout21
public class NarLayout21
Layout which expands a nar file into:
nar/noarch/include nar/aol/This loayout has a one-to-one relation with the aol-type version of the nar.- /bin nar/aol/ - /lib
| Field Summary |
|---|
| Fields inherited from interface com.github.maven_nar.NarConstants |
|---|
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR, NAR_AOL, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE |
| Constructor Summary | |
|---|---|
NarLayout21(org.apache.maven.plugin.logging.Log log)
|
|
| 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 mojo)
Called to attach nars to main nar/jar file. |
void |
unpackNar(File unpackDirectory,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
String os,
String linkerName,
AOL defaultAOL)
Called to unpack a nar file |
| Methods inherited from class com.github.maven_nar.AbstractNarLayout |
|---|
attachNar, getLayout, getLog, unpackNarAndProcess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NarLayout21(org.apache.maven.plugin.logging.Log log)
| Method Detail |
|---|
public File getNoArchDirectory(File baseDir,
String artifactId,
String version)
NarLayout
public final File getIncludeDirectory(File baseDir,
String artifactId,
String version)
NarLayout
public final File getLibDirectory(File baseDir,
String artifactId,
String version,
String aol,
String type)
throws org.apache.maven.plugin.MojoExecutionException
NarLayout
org.apache.maven.plugin.MojoExecutionException
public final File getBinDirectory(File baseDir,
String artifactId,
String version,
String aol)
NarLayout
public final void prepareNarInfo(File baseDir,
org.apache.maven.project.MavenProject project,
NarInfo narInfo,
AbstractNarMojo mojo)
throws org.apache.maven.plugin.MojoExecutionException
NarLayout
org.apache.maven.plugin.MojoExecutionException
public final 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
NarLayout
org.apache.maven.plugin.MojoExecutionException
public void unpackNar(File unpackDirectory,
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
NarLayout
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public File getNarUnpackDirectory(File baseUnpackDirectory,
File narFile)
NarLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||