org.apache.maven.plugin.nar
Class AbstractResourcesMojo

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

public abstract class AbstractResourcesMojo
extends AbstractCompileMojo

Keeps track of resources

Author:
Mark Donszelmann

Field Summary
 
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
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractResourcesMojo()
           
 
Method Summary
protected  int copyBinaries(java.io.File srcDir, java.lang.String aol)
           
protected  int copyIncludes(java.io.File srcDir)
           
protected  int copyLibraries(java.io.File srcDir, java.lang.String aol)
           
protected  void copyResources(java.io.File srcDir, java.lang.String aol)
           
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractCompileMojo
failOnError, getAntProject, getC, getCpp, getDependencyLibOrder, getFortran, getJava, getJavah, getJavaHome, getLibraries, getMaxCores, getNarInfo, getOutput, getRuntime, getTests, setDependencyLibOrder, useLibtool
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractDependencyMojo
getLocalRepository, getNarManager
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractNarMojo
execute, getAOL, getArchitecture, getBasedir, getFinalName, getLayout, getLinker, getMavenProject, getOS, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, narExecute, validate
 
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
 

Constructor Detail

AbstractResourcesMojo

public AbstractResourcesMojo()
Method Detail

copyIncludes

protected final int copyIncludes(java.io.File srcDir)
                          throws java.io.IOException,
                                 org.apache.maven.plugin.MojoExecutionException,
                                 org.apache.maven.plugin.MojoFailureException
Throws:
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

copyBinaries

protected final int copyBinaries(java.io.File srcDir,
                                 java.lang.String aol)
                          throws java.io.IOException,
                                 org.apache.maven.plugin.MojoExecutionException,
                                 org.apache.maven.plugin.MojoFailureException
Throws:
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

copyLibraries

protected final int copyLibraries(java.io.File srcDir,
                                  java.lang.String aol)
                           throws org.apache.maven.plugin.MojoFailureException,
                                  java.io.IOException,
                                  org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
java.io.IOException
org.apache.maven.plugin.MojoExecutionException

copyResources

protected final void copyResources(java.io.File srcDir,
                                   java.lang.String aol)
                            throws org.apache.maven.plugin.MojoExecutionException,
                                   org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.