| Goal | Description |
|---|---|
| hibernate:schma-export | ++ Creates SQL DDL file from set of *.hbm.xml files + | +
+ This plugin provides easy intergration with
+ Hiberante 2.x for your project.
+
+ For the moment the functionality is very limited.
+
| Property | Optional? | Description |
|---|---|---|
| maven.hibernate.properties | +No | +
+ The location of Hibernate configuration file
+ (Java properties file). This file is also se in the
+ runtime by Hibernate for confiuraing Hibernate Session,
+ so it's better to keep it separatly from project's
+ configuration files like
+ project.properties etc.
+ + For description of the properties take a look + at Hibernate User Guide + |
+
| maven.hibernate.quiet | +Yes | +
+ Controls verbosity of the plugin.
+ Default is set to yes
+ |
+
| maven.hibernate.text | +Yes | +
+ It defaults to no
+ |
+
| maven.hibernate.drop | +Yes | +
+ Indicates...
+ + It defaults to no
+ |
+
| maven.hibernate.output.dir | +Yes | +
+ The location of the directory where DDL SQL schema will
+ be generated by schema-export goal. It defaults to
+ ${maven.build.dir}/schema
+ |
+
| maven.hibernate.output.file | +Yes | +
+ The name of the file which will be created by schema-export
+ goal. It defaults to
+ ${maven.hibernate.output.dir}/${maven.final.name}-schema.sql.
+ |
+
| maven.hibernate.input.dir | +Yes | +
+ Used to generate the url value for Gump
+ Indicates base directory where mapping files. It defaults
+ to ${maven.build.dest}.
+ |
+
| maven.hibernate.input.includes | +Yes | +
+ Comma-separated list of patterns of Hiberante mapping files,
+ which will be included during generation process.
+ + Note: Files are relative to + ${maven.hibernate.input.dir}.
+ + By defaults all files are included: + **/*.hbm.xml.
+ |
+
| maven.hibernate.input.excludes | +Yes | +
+ Comma-separated list of patterns of Hiberante mapping files,
+ which will be excluded during generation process.
+ + Note: Files are relative to + ${maven.hibernate.input.dir}.
+ + By default no files are excluded. + |
+