# hibernate-tools-maven-plugin **Repository Path**: liujifei/hibernate-tools-maven-plugin ## Basic Information - **Project Name**: hibernate-tools-maven-plugin - **Description**: forked from https://github.com/stadler/hibernate-tools-maven-plugin.git - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-05 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hibernate-tools-maven-plugin Maven Plugin to generate JPA Entities from an existing database using hibernate-tools. NOTE: As of hibernate-tools >= 5.3.0.Beta2 (https://github.com/hibernate/hibernate-tools/pull/838) this plugin has been integrated into hibernate-tools itself. Therefore further development of this project is discontinued in favor of the hibernate-tools version. ## Development status Currently the plugin allows database reverse engineering configurations (JDBCMetaDataConfiguration) to export JPA Entities (hbm2java) and Schema Files (hbm2ddl). ## Maven Plugin Site https://stadler.github.io/hibernate-tools-maven-plugin/ ## Hibernate Tools Documentation For details about the usage of hibernate-tools see: https://docs.jboss.org/tools/latest/en/hibernatetools/html_single/ ## Usage An example project using this plugin can be found here: https://github.com/stadler/hibernate-tools-maven-plugin-sample The plugin declaration may look as follows: ``` org.hibernate hibernate-tools-maven-plugin ${hibernate-tools-maven-plugin.version} Display Help validate help Entity generation generate-sources hbm2java ${project.basedir}/src/main/resources/templates/ ${project.build.directory}/generated-sources/ false false Schema generation generate-resources hbm2ddl SCRIPT STDOUT DATABASE ${project.build.directory}/generated-resources/ CREATE schema.ddl ; true true ${project.basedir}/src/main/hibernate/hibernate.reveng.xml ${project.basedir}/src/main/hibernate/hibernate.cfg.xml true true true true true com.h2database h2 ${h2.version} ```