org.codehaus.gmaven.plugin
Class AddSourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.gmaven.plugin.MojoSupport
org.codehaus.gmaven.plugin.AddSourceMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class AddSourceMojo
- extends MojoSupport
Add source directories to the Maven project.
- Since:
- 1.5
- Version:
- $Id$
- Author:
- Keegan Witt
|
Field Summary |
protected File |
defaultSourceDir
The default directory in which Groovy sources are found |
protected File |
defaultTestSourceDir
The default directory in which Groovy test sources are found |
protected org.apache.maven.shared.model.fileset.FileSet[] |
sources
Source files to be included. |
protected org.apache.maven.shared.model.fileset.FileSet[] |
testSources
Source files to be included. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
defaultSourceDir
protected File defaultSourceDir
- The default directory in which Groovy sources are found
defaultTestSourceDir
protected File defaultTestSourceDir
- The default directory in which Groovy test sources are found
sources
protected org.apache.maven.shared.model.fileset.FileSet[] sources
- Source files to be included. If not specified, then the default will be used.
testSources
protected org.apache.maven.shared.model.fileset.FileSet[] testSources
- Source files to be included. If not specified, then the default will be used.
AddSourceMojo
public AddSourceMojo()
doExecute
public void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
doExecute in class MojoSupport
- Throws:
org.apache.maven.plugin.MojoExecutionException
addSourcePath
protected void addSourcePath(String path)
addTestSourcePath
protected void addTestSourcePath(String path)
Copyright © 2006-2012 Codehaus. All Rights Reserved.