Merge branch 'release/5.26.0'
[cdmlib.git] / cdmlib-persistence / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <parent>
4 <groupId>eu.etaxonomy</groupId>
5 <artifactId>cdmlib-parent</artifactId>
6 <version>5.26.0</version>
7 <relativePath>../pom.xml</relativePath>
8 </parent>
9
10 <modelVersion>4.0.0</modelVersion>
11 <artifactId>cdmlib-persistence</artifactId>
12 <name>CDM Persistence</name>
13 <description>EDIT CDM library persistence layer. Mainly DAOs</description>
14
15 <build>
16 <plugins>
17 <plugin>
18 <!-- TODO do we need this? At all or move it in cdmlib-test? -->
19 <groupId>org.apache.maven.plugins</groupId>
20 <artifactId>maven-jar-plugin</artifactId>
21 <version>3.2.0</version>
22 <executions>
23 <execution>
24 <goals>
25 <goal>test-jar</goal>
26 </goals>
27 </execution>
28 </executions>
29 </plugin>
30 </plugins>
31 </build>
32 <dependencies>
33 <dependency>
34 <groupId>org.hibernate.javax.persistence</groupId>
35 <artifactId>hibernate-jpa-2.1-api</artifactId>
36 </dependency>
37 <dependency>
38 <groupId>eu.etaxonomy</groupId>
39 <artifactId>cdmlib-model</artifactId>
40 </dependency>
41 <dependency>
42 <groupId>org.javassist</groupId>
43 <artifactId>javassist</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>org.hibernate.common</groupId>
47 <artifactId>hibernate-commons-annotations</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.hibernate</groupId>
51 <artifactId>hibernate-core</artifactId>
52 </dependency>
53 <dependency>
54 <groupId>org.hibernate</groupId>
55 <artifactId>hibernate-search-orm</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.hibernate</groupId>
59 <artifactId>hibernate-envers</artifactId>
60 </dependency>
61 <dependency>
62 <groupId>org.hibernate</groupId>
63 <artifactId>hibernate-c3p0</artifactId>
64 <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
65 <exclusions>
66 <exclusion>
67 <groupId>com.mchange</groupId>
68 <artifactId>c3p0</artifactId>
69 </exclusion>
70 </exclusions>
71 </dependency>
72 <!-- <dependency> -->
73 <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing -->
74 <!-- Update: since geronimo-jta (dependency of hibernate-core is on the classpath this should not be an issue anymore
75 <groupId>javax.transaction</groupId> -->
76 <!-- <artifactId>jta</artifactId> -->
77 <!-- </dependency> -->
78 <dependency>
79 <groupId>org.apache.lucene</groupId>
80 <artifactId>lucene-core</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>org.apache.lucene</groupId>
84 <artifactId>lucene-suggest</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.lucene</groupId>
88 <artifactId>lucene-queryparser</artifactId>
89 </dependency>
90 <dependency>
91 <groupId>commons-beanutils</groupId>
92 <artifactId>commons-beanutils</artifactId>
93 </dependency>
94 <dependency>
95 <!-- used for class LocalH2 (base class is from commons-dbcp) -->
96 <groupId>commons-dbcp</groupId>
97 <artifactId>commons-dbcp</artifactId>
98 </dependency>
99 <dependency>
100 <groupId>org.unitils</groupId>
101 <artifactId>unitils-core</artifactId>
102 <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
103 </dependency>
104
105 <dependency>
106 <groupId>eu.etaxonomy</groupId>
107 <artifactId>cdmlib-test</artifactId>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.springframework</groupId>
112 <artifactId>spring-beans</artifactId>
113 </dependency>
114 <dependency>
115 <groupId>org.springframework</groupId>
116 <artifactId>spring-expression</artifactId>
117 </dependency>
118 <dependency>
119 <groupId>org.springframework</groupId>
120 <artifactId>spring-orm</artifactId>
121 </dependency>
122 <dependency>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-jdbc</artifactId>
125 </dependency>
126 <dependency>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-aop</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-aspects</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>org.springframework.security</groupId>
136 <artifactId>spring-security-core</artifactId>
137 </dependency>
138
139 <!-- ******* DATABASES DRIVER ******* -->
140 <!--
141 IMPORTANT:
142 Any driver dependency listed here must be excluded from the
143 cdmlib-remote depedency in cdmlib-remote-webapp
144 -->
145 <dependency>
146 <groupId>eu.etaxonomy</groupId>
147 <artifactId>cdmlib-db</artifactId>
148 <version>${project.version}</version>
149 </dependency>
150
151 <!-- Profiling -->
152 <!-- <dependency> -->
153 <!-- <groupId>com.yourkit</groupId> -->
154 <!-- <artifactId>yjp-controller-api-redist</artifactId> -->
155 <!-- <scope>test</scope> -->
156 <!-- </dependency> -->
157 </dependencies>
158 </project>