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.32.0-SNAPSHOT</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.2</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>eu.etaxonomy</groupId>
|
35
|
<artifactId>cdmlib-model</artifactId>
|
36
|
</dependency>
|
37
|
<dependency>
|
38
|
<groupId>eu.etaxonomy</groupId>
|
39
|
<artifactId>cdmlib-api</artifactId>
|
40
|
</dependency>
|
41
|
<dependency>
|
42
|
<groupId>org.hibernate.common</groupId>
|
43
|
<artifactId>hibernate-commons-annotations</artifactId>
|
44
|
</dependency>
|
45
|
<dependency>
|
46
|
<groupId>org.hibernate</groupId>
|
47
|
<artifactId>hibernate-core</artifactId>
|
48
|
<exclusions>
|
49
|
<exclusion>
|
50
|
<!-- has overlaps with jakarta-activation -->
|
51
|
<groupId>javax.activation</groupId>
|
52
|
<artifactId>javax.activation-api</artifactId>
|
53
|
</exclusion>
|
54
|
<exclusion>
|
55
|
<!-- we use jakarta.xml.bind-api instead -->
|
56
|
<groupId>javax.xml.bind</groupId>
|
57
|
<artifactId>jaxb-api</artifactId>
|
58
|
</exclusion>
|
59
|
</exclusions>
|
60
|
</dependency>
|
61
|
<dependency>
|
62
|
<groupId>org.hibernate</groupId>
|
63
|
<artifactId>hibernate-search-orm</artifactId>
|
64
|
</dependency>
|
65
|
<dependency>
|
66
|
<groupId>org.hibernate</groupId>
|
67
|
<artifactId>hibernate-envers</artifactId>
|
68
|
</dependency>
|
69
|
<dependency>
|
70
|
<groupId>org.hibernate</groupId>
|
71
|
<artifactId>hibernate-c3p0</artifactId>
|
72
|
<!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
|
73
|
<exclusions>
|
74
|
<exclusion>
|
75
|
<groupId>com.mchange</groupId>
|
76
|
<artifactId>c3p0</artifactId>
|
77
|
</exclusion>
|
78
|
</exclusions>
|
79
|
</dependency>
|
80
|
<!-- <dependency> -->
|
81
|
<!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing -->
|
82
|
<!-- Update: since geronimo-jta (dependency of hibernate-core is on the classpath this should not be an issue anymore
|
83
|
<groupId>javax.transaction</groupId> -->
|
84
|
<!-- <artifactId>jta</artifactId> -->
|
85
|
<!-- </dependency> -->
|
86
|
<dependency>
|
87
|
<groupId>org.apache.lucene</groupId>
|
88
|
<artifactId>lucene-core</artifactId>
|
89
|
</dependency>
|
90
|
<dependency>
|
91
|
<groupId>org.apache.lucene</groupId>
|
92
|
<artifactId>lucene-suggest</artifactId>
|
93
|
</dependency>
|
94
|
<dependency>
|
95
|
<groupId>org.apache.lucene</groupId>
|
96
|
<artifactId>lucene-queryparser</artifactId>
|
97
|
</dependency>
|
98
|
<dependency>
|
99
|
<!-- used by Abstract... and AdvancedBeanInitializer -->
|
100
|
<groupId>commons-beanutils</groupId>
|
101
|
<artifactId>commons-beanutils</artifactId>
|
102
|
</dependency>
|
103
|
<dependency>
|
104
|
<!-- used for class LocalH2 (base class is from commons-dbcp) -->
|
105
|
<!-- TODO we should try to remove this dependency -->
|
106
|
<groupId>commons-dbcp</groupId>
|
107
|
<artifactId>commons-dbcp</artifactId>
|
108
|
</dependency>
|
109
|
<dependency>
|
110
|
<groupId>org.unitils</groupId>
|
111
|
<artifactId>unitils-core</artifactId>
|
112
|
<!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
|
113
|
</dependency>
|
114
|
|
115
|
<dependency>
|
116
|
<groupId>eu.etaxonomy</groupId>
|
117
|
<artifactId>cdmlib-test</artifactId>
|
118
|
<scope>test</scope>
|
119
|
</dependency>
|
120
|
<dependency>
|
121
|
<groupId>org.springframework</groupId>
|
122
|
<artifactId>spring-beans</artifactId>
|
123
|
</dependency>
|
124
|
<dependency>
|
125
|
<groupId>org.springframework</groupId>
|
126
|
<artifactId>spring-expression</artifactId>
|
127
|
</dependency>
|
128
|
<dependency>
|
129
|
<groupId>org.springframework</groupId>
|
130
|
<artifactId>spring-orm</artifactId>
|
131
|
</dependency>
|
132
|
<dependency>
|
133
|
<groupId>org.springframework</groupId>
|
134
|
<artifactId>spring-jdbc</artifactId>
|
135
|
</dependency>
|
136
|
<dependency>
|
137
|
<groupId>org.springframework</groupId>
|
138
|
<artifactId>spring-aop</artifactId>
|
139
|
</dependency>
|
140
|
<dependency>
|
141
|
<groupId>org.springframework</groupId>
|
142
|
<artifactId>spring-aspects</artifactId>
|
143
|
</dependency>
|
144
|
<dependency>
|
145
|
<groupId>org.springframework.security</groupId>
|
146
|
<artifactId>spring-security-core</artifactId>
|
147
|
</dependency>
|
148
|
|
149
|
<!-- ******* DATABASES DRIVER ******* -->
|
150
|
<!--
|
151
|
IMPORTANT:
|
152
|
Any driver dependency listed here must be excluded from the
|
153
|
cdmlib-remote depedency in cdmlib-remote-webapp
|
154
|
-->
|
155
|
<dependency>
|
156
|
<groupId>eu.etaxonomy</groupId>
|
157
|
<artifactId>cdmlib-db</artifactId>
|
158
|
<version>${project.version}</version>
|
159
|
</dependency>
|
160
|
|
161
|
<!-- Profiling -->
|
162
|
<!-- <dependency> -->
|
163
|
<!-- <groupId>com.yourkit</groupId> -->
|
164
|
<!-- <artifactId>yjp-controller-api-redist</artifactId> -->
|
165
|
<!-- <scope>test</scope> -->
|
166
|
<!-- </dependency> -->
|
167
|
</dependencies>
|
168
|
</project>
|