Now working with both hibernate and eclipselink
[utils] / security / jpatest / pom.xml
index 83b96e8f16914036364e0ba3d1738cd6bc8e9319..6fc29ff0550e9308b2b1809cf4451c9de86f1571 100644 (file)
@@ -1,64 +1,87 @@
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
 
-  <parent>
+    <parent>
+        <groupId>org.wamblee</groupId>
+        <artifactId>wamblee-utils</artifactId>
+        <version>0.2.3-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
     <groupId>org.wamblee</groupId>
-    <artifactId>wamblee-utils</artifactId>
-    <version>0.2.3-SNAPSHOT</version>
-  </parent>
+    <artifactId>wamblee-security-jpatest</artifactId>
+    <packaging>jar</packaging>
+    <name>/security/jpatest</name>
+    <url>http://wamblee.org</url>
+    <dependencies>
 
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.wamblee</groupId>
-  <artifactId>wamblee-security-jpatest</artifactId>
-  <packaging>jar</packaging>
-  <name>/security/jpatest</name>
-  <url>http://wamblee.org</url>
-  <dependencies>
+        <dependency>
+            <groupId>org.wamblee</groupId>
+            <artifactId>wamblee-security-impl</artifactId>
+            <version>0.2.3-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wamblee</groupId>
+            <artifactId>wamblee-security-impl</artifactId>
+            <version>0.2.3-SNAPSHOT</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
 
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-entitymanager</artifactId>
-      <version>3.5.0-Final</version>
-      <exclusions>
-        <exclusion>
-          <groupId>javax.transaction</groupId>
-          <artifactId>jta</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.wamblee</groupId>
-      <artifactId>wamblee-security-impl</artifactId>
-      <version>0.2.3-SNAPSHOT</version>
-    </dependency>
-    <dependency>
-      <groupId>org.wamblee</groupId>
-      <artifactId>wamblee-security-impl</artifactId>
-      <version>0.2.3-SNAPSHOT</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-   
-    <dependency>
-      <groupId>org.wamblee</groupId>
-      <artifactId>wamblee-test-enterprise</artifactId>
-      <version>0.2.3-SNAPSHOT</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.wamblee</groupId>
-      <artifactId>wamblee-test-hibernate</artifactId>
-      <version>0.2.3-SNAPSHOT</version>
-      <scope>test</scope>
-    </dependency>
-  
-  </dependencies>
+        <dependency>
+            <groupId>org.wamblee</groupId>
+            <artifactId>wamblee-test-enterprise</artifactId>
+            <version>0.2.3-SNAPSHOT</version>
+            <scope>test</scope>
+        </dependency>
 
-  <repositories>
-    <repository>
-      <id>jboss</id>
-      <name>JBoss Repo</name>
-      <url>http://repository.jboss.org/maven2</url>
-    </repository>
-  </repositories>
+    </dependencies>
+    <profiles>
+        <profile>
+            <id>eclipselink</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.wamblee</groupId>
+                    <artifactId>wamblee-test-eclipselink</artifactId>
+                    <version>0.2.3-SNAPSHOT</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <repositories>
+                <repository>
+                    <id>jboss</id>
+                    <name>JBoss Repo</name>
+                    <url>http://repository.jboss.org/maven2</url>
+                </repository>
+            </repositories>        
+        </profile>
+        <profile>
+            <id>hibernate</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.hibernate</groupId>
+                    <artifactId>hibernate-entitymanager</artifactId>
+                    <version>3.5.0-Final</version>
+                    <exclusions>
+                        <exclusion>
+                            <groupId>javax.transaction</groupId>
+                            <artifactId>jta</artifactId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
+                <dependency>
+                    <groupId>org.wamblee</groupId>
+                    <artifactId>wamblee-test-hibernate</artifactId>
+                    <version>0.2.3-SNAPSHOT</version>
+                    <scope>test</scope>
+                </dependency>                
+            </dependencies>
+        </profile>
+    </profiles>
+    
 
 </project>