Separating the test code for the JPA projects in a separate directory so
[utils] / security / jpatest / pom.xml
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/maven-v4_0_0.xsd">
2
3     <parent>
4         <groupId>org.wamblee</groupId>
5         <artifactId>wamblee-utils</artifactId>
6         <version>0.2.4-SNAPSHOT</version>
7     </parent>
8
9     <modelVersion>4.0.0</modelVersion>
10     <groupId>org.wamblee</groupId>
11     <artifactId>wamblee-security-jpatest</artifactId>
12     <packaging>jar</packaging>
13     <name>/security/jpatest</name>
14     <url>http://wamblee.org</url>
15     <dependencies>
16
17         <dependency>
18             <groupId>org.wamblee</groupId>
19             <artifactId>wamblee-security-impl</artifactId>
20             <version>0.2.4-SNAPSHOT</version>
21         </dependency>
22         <dependency>
23             <groupId>org.wamblee</groupId>
24             <artifactId>wamblee-security-impl</artifactId>
25             <version>0.2.4-SNAPSHOT</version>
26             <type>test-jar</type>
27             <scope>test</scope>
28         </dependency>
29        
30         <dependency>
31             <groupId>org.wamblee</groupId>
32             <artifactId>wamblee-test-enterprise</artifactId>
33             <version>0.2.4-SNAPSHOT</version>
34             <scope>test</scope>
35         </dependency>
36
37     </dependencies>
38     <profiles>
39         <profile>
40             <id>eclipselink</id>
41             <activation>
42                 <activeByDefault>true</activeByDefault>
43             </activation>
44             <dependencies>
45                 <dependency>
46                     <groupId>org.wamblee</groupId>
47                     <artifactId>wamblee-test-eclipselink</artifactId>
48                     <version>0.2.4-SNAPSHOT</version>
49                     <scope>test</scope>
50                 </dependency>
51                         <dependency>
52                         <groupId>org.eclipse.persistence</groupId>
53                         <artifactId>javax.persistence</artifactId>
54                         <version>2.0.0</version>
55                 </dependency>
56
57                 <dependency>
58                         <groupId>javax.persistence</groupId>
59                         <artifactId>persistence-api</artifactId>
60                 </dependency>
61
62                 <dependency>
63                         <groupId>org.eclipse.persistence</groupId>
64                         <artifactId>eclipselink</artifactId>
65                 </dependency>
66
67             </dependencies>
68             <repositories>
69                 <repository>
70                     <id>jboss</id>
71                     <name>JBoss Repo</name>
72                     <url>http://repository.jboss.org/maven2</url>
73                 </repository>
74             </repositories>        
75         </profile>
76         <profile>
77             <id>hibernate</id>
78             <dependencies>
79                 <dependency>
80                     <groupId>org.hibernate</groupId>
81                     <artifactId>hibernate-entitymanager</artifactId>
82                     <version>3.5.0-Final</version>
83                     <exclusions>
84                         <exclusion>
85                             <groupId>javax.transaction</groupId>
86                             <artifactId>jta</artifactId>
87                         </exclusion>
88                     </exclusions>
89                 </dependency>
90                 <dependency>
91                     <groupId>org.wamblee</groupId>
92                     <artifactId>wamblee-test-hibernate</artifactId>
93                     <version>0.2.4-SNAPSHOT</version>
94                     <scope>test</scope>
95                 </dependency>                
96             </dependencies>
97         </profile>
98     </profiles>
99     
100
101 </project>