org.apache.maven.plugin.nar
Class AbstractNarLayout
java.lang.Object
org.apache.maven.plugin.nar.AbstractNarLayout
- All Implemented Interfaces:
- NarConstants, NarLayout
- Direct Known Subclasses:
- NarLayout20, NarLayout21
public abstract class AbstractNarLayout
- extends java.lang.Object
- implements NarLayout, NarConstants
- Version:
- $Id$
- Author:
- Mark Donszelmann (Mark.Donszelmann@gmail.com)
| 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 |
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,
java.lang.String classifier,
java.io.File dir,
java.lang.String include)
|
static NarLayout |
getLayout(java.lang.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,
java.io.File file,
java.io.File narLocation,
java.lang.String os,
java.lang.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,
java.lang.String classifier,
java.io.File dir,
java.lang.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,
java.io.File file,
java.io.File narLocation,
java.lang.String os,
java.lang.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(java.lang.String layoutName,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.