Refined reimplementation of the plugin for Hibernate 5.x
[hibernate4-maven-plugin] / src / it / schemaexport-example / schemaexport-example-persistence-impl / pom.xml
index e7c7419..1215a10 100644 (file)
                <plugins>\r
                        <plugin>\r
                                <groupId>de.juplo</groupId>\r
                <plugins>\r
                        <plugin>\r
                                <groupId>de.juplo</groupId>\r
-                               <artifactId>hibernate4-maven-plugin</artifactId>\r
+                               <artifactId>hibernate-maven-plugin</artifactId>\r
                                <version>@project.version@</version>\r
                                <configuration>\r
                                <version>@project.version@</version>\r
                                <configuration>\r
-                                       <target>SCRIPT</target>\r
-                                       <driverClassName>org.hsqldb.jdbcDriver</driverClassName>\r
-                                       <hibernateDialect>org.hibernate.dialect.HSQLDialect</hibernateDialect>\r
+                                       <driver>org.hsqldb.jdbcDriver</driver>\r
+                                       <dialect>org.hibernate.dialect.HSQLDialect</dialect>\r
                                        <!-- \r
                                        <!-- \r
-                                       <driverClassName>com.mysql.jdbc.Driver</driverClassName>\r
-                                       <hibernateDialect>org.hibernate.dialect.MySQLDialect</hibernateDialect>\r
+                                       <driver>com.mysql.jdbc.Driver</driver>\r
+                                       <dialect>org.hibernate.dialect.MySQLDialect</dialect>\r
                                        -->\r
                                </configuration>\r
                                <executions>\r
                                        <execution>\r
                                                <goals>\r
                                        -->\r
                                </configuration>\r
                                <executions>\r
                                        <execution>\r
                                                <goals>\r
-                                                       <goal>export</goal>\r
+                                                       <goal>create</goal>\r
                                                </goals>\r
                                        </execution>\r
                                </executions>\r
                        </plugin>\r
                </plugins>\r
        </build>\r
                                                </goals>\r
                                        </execution>\r
                                </executions>\r
                        </plugin>\r
                </plugins>\r
        </build>\r
-</project>
\ No newline at end of file
+</project>\r