public class NarLayout21 extends AbstractNarLayout
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
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, REPLAY_COMPILE_NAME, REPLAY_LINK_NAME, REPLAY_TEST_COMPILE_NAME, REPLAY_TEST_LINK_NAME| Constructor and Description |
|---|
NarLayout21(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 |
getNarInfoDirectory(File baseDir,
String groupId,
String artifactId,
String version,
String aol,
String type)
Specifies where aol specific nar properties 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,
AbstractCompileMojo 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,
boolean skipRanlib)
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.MojoExecutionException
NarLayoutorg.apache.maven.plugin.MojoExecutionException - , MojoFailureExceptionpublic final File getNarInfoDirectory(File baseDir, String groupId, String artifactId, String version, String aol, String type) throws org.apache.maven.plugin.MojoExecutionException
NarLayoutorg.apache.maven.plugin.MojoExecutionException - , MojoFailureExceptionpublic File getNarUnpackDirectory(File baseUnpackDirectory, File narFile)
NarLayoutpublic File getNoArchDirectory(File baseDir, String artifactId, String version)
NarLayoutpublic final void prepareNarInfo(File baseDir, org.apache.maven.project.MavenProject project, NarInfo narInfo, AbstractCompileMojo mojo) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
NarLayoutorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic void unpackNar(File unpackDirectory, org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager, File file, String os, String linkerName, AOL defaultAOL, boolean skipRanlib) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
NarLayoutorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2005–2020 NAR Maven Plugin developers. All rights reserved.