com.github.maven_nar
Class AbstractNarLayout
java.lang.Object
com.github.maven_nar.AbstractNarLayout
- All Implemented Interfaces:
- NarConstants, NarLayout
- Direct Known Subclasses:
- NarLayout20, NarLayout21
public abstract class AbstractNarLayout
- extends Object
- implements NarLayout, NarConstants
- Version:
- $Id$
- Author:
- Mark Donszelmann (Mark.Donszelmann@gmail.com)
| 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 |
protected |
AbstractNarLayout(org.apache.maven.plugin.logging.Log log)
|
|
Method Summary |
protected void |
attachNar(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project,
String classifier,
File dir,
String include)
|
static NarLayout |
getLayout(String layoutName,
org.apache.maven.plugin.logging.Log log)
|
protected org.apache.maven.plugin.logging.Log |
getLog()
|
protected void |
unpackNarAndProcess(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
File narLocation,
String os,
String linkerName,
AOL defaultAOL)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNarLayout
protected AbstractNarLayout(org.apache.maven.plugin.logging.Log log)
getLog
protected org.apache.maven.plugin.logging.Log getLog()
attachNar
protected final void attachNar(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.apache.maven.project.MavenProject project,
String classifier,
File dir,
String include)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
unpackNarAndProcess
protected void unpackNarAndProcess(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
File file,
File narLocation,
String os,
String linkerName,
AOL defaultAOL)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getLayout
public static NarLayout getLayout(String layoutName,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.