org.codehaus.mojo.jasperreports
Class JasperReportsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jasperreports.JasperReportsMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- public class JasperReportsMojo
- extends AbstractMojo
Compiles JasperReports xml definition files.
Much of this was inspired by the JRAntCompileTask, while trying to make it slightly cleaner and
easier to use with Maven's mojo api.
- Author:
- gjoseph, Tom Schwenk
- Is defined by the goal name:
- compile-reports
- Is bound to the specified phase of the standard build lifecycle:
- generate-sources
- Requires the dependencies in this specified scope:
- compile
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
protected String |
buildClasspathString(List classpathElements,
String additionalClasspath)
|
protected void |
compile(Set files,
org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
|
void |
execute()
|
protected Set |
scanSrcDir(org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
Determines source files to be compiled, based on the SourceMapping. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JasperReportsMojo
public JasperReportsMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
compile
protected void compile(Set files,
org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
throws MojoFailureException,
MojoExecutionException
- Throws:
MojoFailureException
MojoExecutionException
scanSrcDir
protected Set scanSrcDir(org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
throws MojoExecutionException
- Determines source files to be compiled, based on the SourceMapping. No longer needs to be
recursive, since the SourceInclusionScanner handles that.
- Parameters:
mapping -
- Returns:
-
- Throws:
MojoExecutionException
buildClasspathString
protected String buildClasspathString(List classpathElements,
String additionalClasspath)
Copyright © 2009 Codehaus. All Rights Reserved.