* Additonally, all dependencies are scanned for annotated classes.
*
* @parameter property="project.build.outputDirectory"
+ * @since 1.0
*/
private String outputDirectory;
* artifact will be scanned for hibernate-annotated classes additionally.
*
* @parameter property="hibernate.export.scan_testclasses" default-value="false"
+ * @since 1.0.1
*/
private boolean scanTestClasses;
* transitive dependency, you can simply add that dependency explicitly.
*
* @parameter property="hibernate.export.scan_dependencies" default-value="compile"
+ * @since 1.0.3
*/
private String scanDependencies;
* to <code>true</code>!
*
* @parameter property="project.build.testOutputDirectory"
+ * @since 1.0.2
*/
private String testOutputDirectory;
* annotated classes are found and the dialect was not changed.
*
* @parameter property="maven.test.skip" default-value="false"
+ * @since 1.0
*/
private boolean skip;
* <code>skip</code> takes precedence over <code>force</code>.
*
* @parameter property="hibernate.export.force" default-value="false"
+ * @since 1.0
*/
private boolean force;
* SQL-Driver name.
*
* @parameter property="hibernate.connection.driver_class"
+ * @since 1.0
*/
private String driverClassName;
* Database URL.
*
* @parameter property="hibernate.connection.url"
+ * @since 1.0
*/
private String url;
* Database username
*
* @parameter property="hibernate.connection.username"
+ * @since 1.0
*/
private String username;
* Database password
*
* @parameter property="hibernate.connection.password"
+ * @since 1.0
*/
private String password;
* Hibernate dialect.
*
* @parameter property="hibernate.dialect"
+ * @since 1.0
*/
private String hibernateDialect;
/**
* Hibernate Naming Strategy
+ *
* @parameter property="hibernate.ejb.naming_strategy"
+ * @since 1.0.2
*/
private String hibernateNamingStrategy;
* Path to Hibernate configuration file.
*
* @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
+ * @since 1.0
*/
private String hibernateProperties;
* Multiple files can be separated with white-spaces and/or commas.
*
* @parameter property="hibernate.mapping"
+ * @since 1.0.2
*/
private String hibernateMapping;
* Hibernate-Dialect must always be choosen.
*
* @parameter property="hibernate.export.target" default-value="EXPORT"
+ * @since 1.0
*/
private String target;
* If NONE is choosen, no databaseconnection is needed.
*
* @parameter property="hibernate.export.type" default-value="BOTH"
+ * @since 1.0
*/
private String type;
* Output file.
*
* @parameter property="hibernate.export.schema.filename" default-value="${project.build.directory}/schema.sql"
+ * @since 1.0
*/
private String outputFile;
* Delimiter in output-file.
*
* @parameter property="hibernate.export.schema.delimiter" default-value=";"
+ * @since 1.0
*/
private String delimiter;
* Format output-file.
*
* @parameter property="hibernate.export.schema.format" default-value="true"
+ * @since 1.0
*/
private boolean format;
* Generate envers schema for auditing tables.
*
* @parameter property="hibernate.export.envers" default-value="false"
+ * @since 1.0.3
*/
private boolean envers;
+
@Override
public void execute()
throws