From b75cfe14df09be57a7d31c72b5f8d672fc2265c9 Mon Sep 17 00:00:00 2001
From: Kai Moritz
-<properties> - <hibernate.connection.driver_class>org.hsqldb.jdbcDriver</hibernate.connection.driver_class> - <hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect> - <hibernate.connection.url><![CDATA[jdbc:hsqldb:res:org.my.path.production_db]]></hibernate.connection.url> - <hibernate.connection.username>sa</hibernate.connection.username> - <hibernate.connection.password></hibernate.connection.password> -</properties> +``` ++ ... -<plugins> +org.hsqldb.jdbcDriver +org.hibernate.dialect.HSQLDialect ++ sa ++ ... - <plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate-maven-plugin</artifactId> - <version>${project.version}</version> - <executions> - <execution> - <goals> - <goal>drop</goal> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url> - </configuration> - </plugin> + + -<plugins> +de.juplo +hibernate-maven-plugin +${project.version} ++ ++ ++ +drop +create ++ ++ +``` -
This way, you can reuse the same properties to provide a default-configurationthe, that is build into your application, and -- 2.39.5