Class Hibernate52GenerateDdlMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="gen-ddl",
          defaultPhase=PROCESS_CLASSES,
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          threadSafe=true)
    public class Hibernate52GenerateDdlMojo
    extends GenerateDdlMojo
    Provides a goal which creates DDL SQL files for the JPA entities in the project (using the Hibernate 5 SchemaExport class}. The actual logic is in GenerateDdlMojo, but without this class Maven does not find the goal.
    Author:
    Jens Pelzetter
    • Constructor Detail

      • Hibernate52GenerateDdlMojo

        public Hibernate52GenerateDdlMojo()