org.apache.torque.mojo
Class MetaInfMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.MetaInfMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Create a location listing file that describes resources inside of a jar file

Author:
Jeff Caddel

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MetaInfMojo()
           
 
Method Summary
 void execute()
           
 File getBaseDir()
           
 String getExclude()
           
 String getInclude()
           
protected  String getLocation(File baseDir, File file, String prefix)
           
protected  String getLocations(File baseDir, List<File> files, String prefix)
           
 File getOutputFile()
           
 String getPrefix()
           
 void setBaseDir(File baseDir)
           
 void setExclude(String exclude)
           
 void setInclude(String include)
           
 void setOutputFile(File outputFile)
           
 void setPrefix(String prefix)
           
 
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

MetaInfMojo

public MetaInfMojo()
Method Detail

execute

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

getLocations

protected String getLocations(File baseDir,
                              List<File> files,
                              String prefix)
                       throws IOException
Throws:
IOException

getLocation

protected String getLocation(File baseDir,
                             File file,
                             String prefix)
                      throws IOException
Throws:
IOException

getInclude

public String getInclude()

setInclude

public void setInclude(String include)

getExclude

public String getExclude()

setExclude

public void setExclude(String exclude)

getBaseDir

public File getBaseDir()

setBaseDir

public void setBaseDir(File baseDir)

getOutputFile

public File getOutputFile()

setOutputFile

public void setOutputFile(File outputFile)

getPrefix

public String getPrefix()

setPrefix

public void setPrefix(String prefix)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.