1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>de.juplo</groupId>
5 <artifactId>multiple-persistence-units</artifactId>
6 <name>Hibernate 4 Dependency-Test</name>
7 <version>1.0-SNAPSHOT</version>
10 <hibernate-maven-plugin.version>@project.version@</hibernate-maven-plugin.version>
15 <groupId>org.hibernate.javax.persistence</groupId>
16 <artifactId>hibernate-jpa-2.1-api</artifactId>
17 <version>1.0.0.Final</version>
24 <groupId>org.apache.maven.plugins</groupId>
25 <artifactId>maven-compiler-plugin</artifactId>
26 <version>3.3</version>
30 <encoding>utf8</encoding>
31 <showWarnings>true</showWarnings>
35 <groupId>de.juplo</groupId>
36 <artifactId>hibernate-maven-plugin</artifactId>
37 <version>${hibernate-maven-plugin.version}</version>
45 <persistenceUnit>A</persistenceUnit>
46 <outputFile>a-create.sql</outputFile>
55 <persistenceUnit>B</persistenceUnit>
56 <outputFile>b-drop.sql</outputFile>
65 <persistenceUnit>B</persistenceUnit>
66 <outputFile>b-create.sql</outputFile>
71 <export>false</export>