org.databene.benerator.maven
Class AbstractBeneratorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.databene.benerator.maven.AbstractBeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AssemblyMojo, BeneratorMojo, CreateXMLMojo, DBSnapshotMojo

public abstract class AbstractBeneratorMojo
extends org.apache.maven.plugin.AbstractMojo

Common parent class for all Benerator Mojos.
Created: 10.07.2008 16:21:23

Since:
0.5.4
Author:
Volker Bergmann

Field Summary
protected  java.lang.String encoding
          The file encoding to use as default for all file I/O.
protected  java.util.List<java.lang.String> runtimeClasspathElements
          Runtime classpath elements.
protected  java.lang.String scope
          The scope of which dependencies should be resolved.
protected  java.util.List<java.lang.String> testClasspathElements
          Test classpath elements.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractBeneratorMojo()
           
 
Method Summary
protected  java.util.List<java.lang.String> getClasspathElements()
           
protected  java.net.URL[] getClasspathURLs()
           
protected  void setSystemProperties()
          Maps all attributes to System properties of the same name.
protected  void setSystemProperty(java.lang.String name, java.lang.String value)
          Sets a single System property.
protected  void setupClasspath()
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

encoding

protected java.lang.String encoding
The file encoding to use as default for all file I/O. It defaults to the system's encoding.


scope

protected java.lang.String scope
The scope of which dependencies should be resolved.


runtimeClasspathElements

protected java.util.List<java.lang.String> runtimeClasspathElements
Runtime classpath elements.


testClasspathElements

protected java.util.List<java.lang.String> testClasspathElements
Test classpath elements.

Constructor Detail

AbstractBeneratorMojo

public AbstractBeneratorMojo()
Method Detail

setSystemProperties

protected void setSystemProperties()
Maps all attributes to System properties of the same name.


setSystemProperty

protected void setSystemProperty(java.lang.String name,
                                 java.lang.String value)
Sets a single System property.


setupClasspath

protected void setupClasspath()
                       throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getClasspathElements

protected java.util.List<java.lang.String> getClasspathElements()

getClasspathURLs

protected java.net.URL[] getClasspathURLs()
                                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


Copyright © 2010. All Rights Reserved.