projects
/
hibernate-maven-plugin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refined reimplementation of the plugin for Hibernate 5.x
[hibernate-maven-plugin]
/
src
/
it
/
hib-test
/
pom.xml
diff --git
a/src/it/hib-test/pom.xml
b/src/it/hib-test/pom.xml
index
fe46e32
..
ba6f6b3
100644
(file)
--- a/
src/it/hib-test/pom.xml
+++ b/
src/it/hib-test/pom.xml
@@
-42,42
+42,40
@@
<!-- Generate database schema files -->
<plugin>
<groupId>de.juplo</groupId>
<!-- Generate database schema files -->
<plugin>
<groupId>de.juplo</groupId>
- <artifactId>hibernate
4
-maven-plugin</artifactId>
+ <artifactId>hibernate-maven-plugin</artifactId>
<version>@project.version@</version>
<configuration>
<version>@project.version@</version>
<configuration>
- <!-- Target of none generates schema only, no DB connection -->
- <target>none</target>
- <!-- Generate both CREATE and DROP statements in scripts -->
- <type>both</type>
+ <!-- Generat schema only, no DB connection needed -->
+ <export>false</export>
</configuration>
<executions>
<execution>
<id>create-h2-ddl</id>
<goals>
</configuration>
<executions>
<execution>
<id>create-h2-ddl</id>
<goals>
- <goal>
export
</goal>
+ <goal>
create
</goal>
</goals>
<configuration>
</goals>
<configuration>
- <
hibernateDialect>org.hibernate.dialect.H2Dialect</hibernateD
ialect>
+ <
dialect>org.hibernate.dialect.H2Dialect</d
ialect>
<outputFile>h2.sql</outputFile>
</configuration>
</execution>
<execution>
<id>create-postgres-ddl</id>
<goals>
<outputFile>h2.sql</outputFile>
</configuration>
</execution>
<execution>
<id>create-postgres-ddl</id>
<goals>
- <goal>
export
</goal>
+ <goal>
create
</goal>
</goals>
<configuration>
</goals>
<configuration>
- <
hibernateDialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernateD
ialect>
+ <
dialect>org.hibernate.dialect.PostgreSQL82Dialect</d
ialect>
<outputFile>postgres.sql</outputFile>
</configuration>
</execution>
<execution>
<id>create-oracle-ddl</id>
<goals>
<outputFile>postgres.sql</outputFile>
</configuration>
</execution>
<execution>
<id>create-oracle-ddl</id>
<goals>
- <goal>
export
</goal>
+ <goal>
create
</goal>
</goals>
<configuration>
</goals>
<configuration>
- <
hibernateDialect>org.hibernate.dialect.Oracle10gDialect</hibernateD
ialect>
+ <
dialect>org.hibernate.dialect.Oracle10gDialect</d
ialect>
<outputFile>oracle.sql</outputFile>
</configuration>
</execution>
<outputFile>oracle.sql</outputFile>
</configuration>
</execution>