|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.nar.AbstractNarLayout
org.apache.maven.plugin.nar.NarLayout20
public class NarLayout20
Initial layout which expands a nar file into:
nar/includue nar/bin nar/libthis layout was abandoned because there is no one-to-one relation between the nar file and its directory structure. Therefore SNAPSHOTS could not be fully deleted when replaced.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.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 | |
|---|---|
NarLayout20(org.apache.maven.plugin.logging.Log log)
|
|
| Method Summary | |
|---|---|
void |
attachNars(java.io.File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project,
NarInfo narInfo)
Called to attach nars to main nar/jar file. |
java.io.File |
getBinDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version,
java.lang.String aol)
Specifies where binaries are stored |
java.io.File |
getIncludeDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version)
Specifies where includes are stored |
java.io.File |
getLibDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version,
java.lang.String aol,
java.lang.String type)
Specifies where libraries are stored |
java.io.File |
getNarUnpackDirectory(java.io.File baseUnpackDirectory,
java.io.File narFile)
Returns the unpack directory of a specific nar file. |
java.io.File |
getNoArchDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version)
Specifies where all the "no architecture" specific files are stored |
void |
unpackNar(java.io.File unpackDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
java.io.File file,
java.lang.String os,
java.lang.String linkerName,
AOL defaultAOL)
Called to unpack a nar file |
| Methods inherited from class org.apache.maven.plugin.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 NarLayout20(org.apache.maven.plugin.logging.Log log)
| Method Detail |
|---|
public java.io.File getNoArchDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
NarLayout
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public final java.io.File getIncludeDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version)
NarLayout
public final java.io.File getLibDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version,
java.lang.String aol,
java.lang.String type)
throws org.apache.maven.plugin.MojoFailureException
NarLayout
org.apache.maven.plugin.MojoFailureException
public final java.io.File getBinDirectory(java.io.File baseDir,
java.lang.String artifactId,
java.lang.String version,
java.lang.String aol)
NarLayout
public final void attachNars(java.io.File baseDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project,
NarInfo narInfo)
throws org.apache.maven.plugin.MojoExecutionException
NarLayout
org.apache.maven.plugin.MojoExecutionException
public void unpackNar(java.io.File unpackDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
java.io.File file,
java.lang.String os,
java.lang.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 java.io.File getNarUnpackDirectory(java.io.File baseUnpackDirectory,
java.io.File narFile)
NarLayout
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||