org.freehep.maven.nar
Class AbstractNarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.freehep.maven.nar.AbstractNarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants
Direct Known Subclasses:
AbstractDependencyMojo

public abstract class AbstractNarMojo
extends org.apache.maven.plugin.AbstractMojo
implements NarConstants

Version:
$Id: AbstractNarMojo.java 12936 2007-07-05 21:26:30Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from interface org.freehep.maven.nar.NarConstants
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractNarMojo()
           
 
Method Summary
protected  String getAOL()
           
protected  String getAOLKey()
           
protected  String getArchitecture()
           
protected  String getFinalName()
           
protected  Linker getLinker()
           
protected  org.apache.maven.project.MavenProject getMavenProject()
           
protected  String getOS()
           
protected  File getOutputDirectory()
           
protected  File getTargetDirectory()
           
protected  boolean shouldSkip()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractNarMojo

public AbstractNarMojo()
Method Detail

shouldSkip

protected boolean shouldSkip()

getArchitecture

protected String getArchitecture()

getOS

protected String getOS()

getAOL

protected String getAOL()
                 throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getLinker

protected Linker getLinker()

getOutputDirectory

protected File getOutputDirectory()

getFinalName

protected String getFinalName()

getAOLKey

protected String getAOLKey()
                    throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getTargetDirectory

protected File getTargetDirectory()

getMavenProject

protected org.apache.maven.project.MavenProject getMavenProject()


Copyright 2000-2007 FreeHEP. All Rights Reserved.