org.codehaus.mojo.jasperreports
Class JasperReportsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jasperreports.JasperReportsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JasperReportsMojo
- extends org.apache.maven.plugin.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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected java.lang.String |
buildClasspathString(java.util.List classpathElements,
java.lang.String additionalClasspath)
|
protected void |
compile(java.util.Set files,
org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
|
void |
execute()
|
protected java.util.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 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 |
JasperReportsMojo
public JasperReportsMojo()
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
compile
protected void compile(java.util.Set files,
org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
scanSrcDir
protected java.util.Set scanSrcDir(org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping mapping)
throws org.apache.maven.plugin.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:
org.apache.maven.plugin.MojoExecutionException
buildClasspathString
protected java.lang.String buildClasspathString(java.util.List classpathElements,
java.lang.String additionalClasspath)
Copyright © 2009. All Rights Reserved.