X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Fxhtml%2Fconfiguration.xhtml;h=e8c5afd592af9b47d6386318ab06904108bcf02c;hb=9d6e06c972ddda45bf0cd2e6a5e11d8fa319c290;hp=e3ce8bcfcee0da50aa942317d0fff8c849c7362c;hpb=856dd31c9b90708e841163c91261a865f9efd224;p=hibernate-maven-plugin diff --git a/src/site/xhtml/configuration.xhtml b/src/site/xhtml/configuration.xhtml index e3ce8bcf..e8c5afd5 100644 --- a/src/site/xhtml/configuration.xhtml +++ b/src/site/xhtml/configuration.xhtml @@ -19,7 +19,7 @@
<plugin> <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + <artifactId>hibernate-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> @@ -46,7 +46,7 @@<plugin> <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + <artifactId>hibernate-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> @@ -109,7 +109,7 @@ <plugin> <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + <artifactId>hibernate-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> @@ -130,8 +130,8 @@ The relevant configuration-parameters are:
driverClassName
hibernateDialect
driver
dialect
url
username
password
<plugin> <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + <artifactId>hibernate-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> @@ -153,8 +153,8 @@ </execution> </executions> <configuration> - <driverClassName>org.hsqldb.jdbcDriver</driverClassName> - <hibernateDialect>org.hibernate.dialect.HSQLDialect</hibernateDialect> + <driver>org.hsqldb.jdbcDriver</driver> + <dialect>org.hibernate.dialect.HSQLDialect</dialect> <url><![CDATA[jdbc:hsqldb:target/db/fotos;shutdown=true]]></url> <username>sa</username> <password></password> @@ -175,12 +175,14 @@
- +
hibernate.properties
- +
hibernate.cfg.xml
persistence.xml
- maven-properties
- plugin-configuration
If you are in doubt about where a configuration-value comes from, run - maven with the debug-output enabled:
@@ -197,7 +199,7 @@mvn -X hibernate4:export
+ maven with the debug-output enabled:mvn -X hibernate:export
and be aware, that maven-properties can be overwitten on the command-line, in your~/.m2/settings.xml
and in a profile.<plugin> <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + <artifactId>hibernate-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution>