net.sourceforge.fluxion.maven.plugins
Class GenerateDatasourceMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
          extended by net.sourceforge.fluxion.maven.plugins.GenerateDatasourceMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateDatasourceMojo
extends org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo

A Maven plugin that extends CreateProjectFromArchetypeMojo allowing datasources to be generated with minimal configuration, substituting default configured parameters.

Author:
Tony Burdett

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateDatasourceMojo()
           
 
Method Summary
 void execute()
           
 
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.ContextEnabled
getPluginContext, setPluginContext
 

Constructor Detail

GenerateDatasourceMojo

public GenerateDatasourceMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2010. All Rights Reserved.