Fixed the akquisition of a database-connection, if one is needed
[hibernate4-maven-plugin] / src / it / hibernate-lob-converter-bug / pom.xml
index 3d1eefd..c98a1cb 100644 (file)
             <artifactId>h2</artifactId>
             <version>1.3.168</version>
         </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.11</version>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-entitymanager</artifactId>
             <version>5.1.0.Final</version>
         </dependency>
-
     </dependencies>
 
 
           <showWarnings>true</showWarnings>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>de.juplo</groupId>
+        <artifactId>hibernate-maven-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <execute>false</execute>
+          <format>true</format>
+          <scanTestClasses>true</scanTestClasses>
+        </configuration>
+        <executions>
+          <execution>
+            <id>create</id>
+            <goals>
+              <goal>create</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>