public class NarLayout20 extends AbstractNarLayout
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.
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 and Description |
|---|
NarLayout20(org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
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 unpackDir,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
String os,
String linkerName,
AOL defaultAOL)
Called to unpack a nar file
|
attachNar, getLayout, getLog, unpackNarAndProcesspublic 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
NarLayoutorg.apache.maven.plugin.MojoExecutionExceptionpublic final File getBinDirectory(File baseDir, String artifactId, String version, String aol)
NarLayoutpublic final File getIncludeDirectory(File baseDir, String artifactId, String version)
NarLayoutpublic final File getLibDirectory(File baseDir, String artifactId, String version, String aol, String type) throws org.apache.maven.plugin.MojoFailureException
NarLayoutorg.apache.maven.plugin.MojoFailureExceptionpublic File getNarUnpackDirectory(File baseUnpackDirectory, File narFile)
NarLayoutpublic File getNoArchDirectory(File baseDir, String artifactId, String version) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
NarLayoutorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic final void prepareNarInfo(File baseDir, org.apache.maven.project.MavenProject project, NarInfo narInfo, AbstractNarMojo mojo) throws org.apache.maven.plugin.MojoExecutionException
NarLayoutorg.apache.maven.plugin.MojoExecutionExceptionpublic void unpackNar(File unpackDir, 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
NarLayoutorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.