From: Kai Moritz
Date: Mon, 7 Mar 2016 15:01:59 +0000 (+0100)
Subject: Updated documentation
X-Git-Tag: hibernate-maven-plugin-2.0.0~3
X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0611db682bc69b80d8567bf9316668a1b6161725;p=hibernate-maven-plugin
Updated documentation
---
diff --git a/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java b/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
index f6e18ea4..d4386ebe 100644
--- a/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
+++ b/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
@@ -136,7 +136,7 @@ public abstract class AbstractSchemaMojo extends AbstractMojo
* If set to true
, the execution is skipped.
*
* A skipped execution is signaled via the maven-property
- * ${hibernate.export.skipped}
.
+ * ${hibernate.schema.skipped}
.
*
* The execution is skipped automatically, if no modified or newly added
* annotated classes are found and the dialect was not changed.
diff --git a/src/site/site.xml b/src/site/site.xml
index 7c28ac28..111fb6b4 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -3,7 +3,8 @@
-mvn hibernate:export -Dhibernate.export.force=true
- The hibernate:export goal is not executed, when tests are skipped
+mvn hibernate:create -Dhibernate.schema.force=true
+ The hibernate:create goal is not executed, when tests are skipped
The hibernate-maven-plugin automatically skips its execution, when
maven.test.skip
is set to true
. If you need it to be always
@@ -166,7 +184,7 @@ mvn hibernate:export -Dhibernate.export.force=true
I do not want my dependencies to be scanned for hibernate annotations
If you do not want your dependencies to be scanned for hibernate annotations,
- you can pass -Dhibernate.export.scan_dependencies=none
to maven
+ you can pass -Dhibernate.schema.scan.dependencies=none
to maven
or set scanDependencies
to none
in the configuration
of the plugin like this:
@@ -189,7 +207,7 @@ mvn hibernate:export -Dhibernate.export.force=true
- You should consider to upgrade to that version of the plugin.
+ You should consider to upgrade to the latest version of the plugin.
diff --git a/src/site/xhtml/skip.xhtml b/src/site/xhtml/skip.xhtml
index 5f893b82..e25ed0ed 100644
--- a/src/site/xhtml/skip.xhtml
+++ b/src/site/xhtml/skip.xhtml
@@ -13,7 +13,7 @@
the production-database, in order to run other tests, like starting a
local webserver with the
jetty-maven-plugin.
- If the export-goal would be executed in such a scenario, it might erase the
+ If the drop-goal would be executed in such a scenario, it might erase the
hole production-database, which is not very desireable.
@@ -23,8 +23,8 @@
skipped. Think of it as a build-in security-belt.
- If you do not like that, because you need the plugin to always execute the
- export-goal, even if the tests are skipped you can configure that explicitly,
+ If you do not like that, because you need the plugin to always,
+ even if the tests are skipped you can configure that explicitly,
by setting the configuration-parameter skip
to false:
@@ -37,7 +37,7 @@
</configuration>
</plugin>
- Or, if you want the export-goal to be executed by default and to be skipped
+ Or, if you want the plugin to be executed by default and to be skipped
if you say so, you can bind the value of the configuration-parameter
skip
to a custom property. For example:
@@ -51,7 +51,7 @@
</configuration>
</plugin>
- This way, the export-goal would be skipped, if you set the property
+ This way, the plugin would be skipped, if you set the property
foo.bar
to true
. For example, if you specify -Dfoo.bar=true
on the command-line.