Class MojoGenerate

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.fugerit.java.daogen.maven.AbstractMojoGenerate
org.fugerit.java.daogen.maven.MojoGenerate
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate") public class MojoGenerate extends AbstractMojoGenerate

Convenience plugin for the DaogenFacade.generate() method in module 'fj-daogen-base'.

Required parameter are 'daogenConfig' and 'genBaseDir'.

Many parameters override 'daogen-config.xml' general properties (in this case they always have an alias with the same name of the property they override.

NOTE: if using eclipse and the build are too slow, considering using the MojoGenerateLazy plugin, it is the same as this plugin bug run on goal generate-lazy and m2e lifecycle is configured to run only on full builds.

  • Constructor Details

    • MojoGenerate

      public MojoGenerate()