org.codehaus.mojo.native2ascii
Class Native2AsciiMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.native2ascii.Native2AsciiMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Native2AsciiMojo
extends org.apache.maven.plugin.AbstractMojo

Author:
dtran
Is bound to the specified phase of the standard build lifecycle:
generate-resources
Is defined by the goal name:
native2ascii

Field Summary
protected  File dest
          The directory to output file to
protected  String encoding
          The native encoding the files are in (default is the default encoding for the JVM)
protected  String excludes
          comma- or space-separated list of patterns of files that must be excluded.
protected  String ext
          File extension to use in renaming output files
protected  String includes
          comma- or space-separated list of patterns of files that must be included.
protected  org.apache.maven.project.MavenProject project
           
protected  File src
          The directory to find files in (default is basedir)
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Native2AsciiMojo()
           
 
Method Summary
 void execute()
           
protected  void executeAnt()
           
 
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
 

Field Detail

src

protected File src
The directory to find files in (default is basedir)

Is defined by:
default-value:
${basedir}/src/main/native2ascii

dest

protected File dest
The directory to output file to

Is defined by:
default-value:
${project.build.directory}/native2ascii

ext

protected String ext
File extension to use in renaming output files

Is defined by:

encoding

protected String encoding
The native encoding the files are in (default is the default encoding for the JVM)

Is defined by:

includes

protected String includes
comma- or space-separated list of patterns of files that must be included. All files are included when omitted

Is defined by:

excludes

protected String excludes
comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted.

Is defined by:

project

protected org.apache.maven.project.MavenProject project
Is defined by:
expression:
${project}
Is readonly.
Constructor Detail

Native2AsciiMojo

public Native2AsciiMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

executeAnt

protected void executeAnt()


Copyright © 2011 Codehaus. All Rights Reserved.