427763b172b126200f24664ede0d27c4da9592a7
[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>3.5.0-SNAPSHOT</version>
7 <relativePath>../pom.xml</relativePath>
8 </parent>
9
10 <modelVersion>4.0.0</modelVersion>
11 <artifactId>cdmlib-persistence</artifactId>
12 <version>3.5.0</version>
13 <name>CDM Persistence</name>
14 <description>EDIT CDM library persistence layer. Mainly DAOs</description>
15 <scm>
16 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdmlib/cdmlib-commons-3.5.0/cdmlib-persistence</connection>
17 <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdmlib/cdmlib-commons-3.5.0/cdmlib-persistence</developerConnection>
18 <url>http://dev.e-taxonomy.eu/trac/browser/tags/cdmlib/cdmlib-commons-3.5.0/cdmlib-persistence</url>
19 </scm>
20 <build>
21 <plugins>
22 <plugin>
23 <groupId>org.codehaus.mojo</groupId>
24 <artifactId>hibernate3-maven-plugin</artifactId>
25 <version>2.1</version>
26 <configuration>
27 <components>
28 <component>
29 <name>hbm2ddl</name>
30 <implementation>annotationconfiguration</implementation>
31 </component>
32 </components>
33 <componentProperties>
34 <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
35 <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile>
36 <outputfilename>001_cdm.ddl</outputfilename>
37 <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile>
38 </componentProperties>
39 </configuration>
40 <dependencies>
41 <dependency>
42 <groupId>hsqldb</groupId>
43 <artifactId>hsqldb</artifactId>
44 <version>${hsqldb.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.hibernate</groupId>
48 <artifactId>hibernate-annotations</artifactId>
49 <version>3.4.0-SNAPSHOT</version>
50 </dependency>
51 </dependencies>
52 </plugin>
53 <plugin>
54 <artifactId>maven-antrun-plugin</artifactId>
55 <configuration>
56 <tasks>
57 <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask">
58 <classpath refid="maven.plugin.classpath" />
59 </taskdef>
60 <mkdir dir="target/generated-sources/hibernate3" />
61 <hibernatetool destdir=".">
62 <classpath>
63 <path refid="maven.plugin.classpath" />
64 <path refid="maven.compile.classpath" />
65 <path refid="maven.test.classpath" />
66 </classpath>
67 <jpaconfiguration persistenceunit="cdm" />
68 <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
69 </hibernatetool>
70 </tasks>
71 </configuration>
72 <dependencies>
73 <dependency>
74 <groupId>hsqldb</groupId>
75 <artifactId>hsqldb</artifactId>
76 <version>${hsqldb.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>mysql</groupId>
80 <artifactId>mysql-connector-java</artifactId>
81 <version>5.1.24</version>
82 </dependency>
83 <dependency>
84 <groupId>org.hibernate</groupId>
85 <artifactId>hibernate-envers</artifactId>
86 <version>${hibernate.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.hibernate</groupId>
90 <artifactId>hibernate-entitymanager</artifactId>
91 <version>${hibernate.version}</version>
92 </dependency>
93 <dependency>
94 <!-- is this still needed ?? -->
95 <groupId>org.hibernate</groupId>
96 <artifactId>hibernate-tools</artifactId>
97 <version>3.2.4.GA</version>
98 </dependency>
99 <dependency>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-log4j12</artifactId>
102 <version>1.7.2</version>
103 </dependency>
104 <dependency>
105 <groupId>commons-logging</groupId>
106 <artifactId>commons-logging</artifactId>
107 <version>1.1.2</version>
108 </dependency>
109 </dependencies>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-jar-plugin</artifactId>
114 <version>2.3.2</version>
115 <executions>
116 <execution>
117 <goals>
118 <goal>test-jar</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin>
123 </plugins>
124 </build>
125 <dependencies>
126 <dependency>
127 <groupId>org.hibernate.javax.persistence</groupId>
128 <artifactId>hibernate-jpa-2.0-api</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>eu.etaxonomy</groupId>
132 <artifactId>cdmlib-model</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>eu.etaxonomy</groupId>
136 <artifactId>cdmlib-commons</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>org.slf4j</groupId>
140 <artifactId>slf4j-log4j12</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>org.javassist</groupId>
144 <artifactId>javassist</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>javax.annotation</groupId>
148 <artifactId>jsr250-api</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.aspectj</groupId>
152 <artifactId>aspectjweaver</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>org.hibernate.common</groupId>
156 <artifactId>hibernate-commons-annotations</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>org.hibernate</groupId>
160 <artifactId>hibernate-core</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>org.hibernate</groupId>
164 <artifactId>hibernate-search</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>org.hibernate</groupId>
168 <artifactId>hibernate-envers</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>org.hibernate</groupId>
172 <artifactId>hibernate-c3p0</artifactId>
173 </dependency>
174 <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
175 <dependency>
176 <groupId>com.mchange</groupId>
177 <artifactId>c3p0</artifactId>
178 <version>0.9.2</version>
179 </dependency>
180
181 <dependency>
182 <groupId>org.apache.lucene</groupId>
183 <artifactId>lucene-core</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>org.apache.lucene</groupId>
187 <artifactId>lucene-spellchecker</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>commons-beanutils</groupId>
191 <artifactId>commons-beanutils</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>commons-lang</groupId>
195 <artifactId>commons-lang</artifactId>
196 </dependency>
197 <dependency>
198 <groupId>commons-dbcp</groupId>
199 <artifactId>commons-dbcp</artifactId>
200 <!-- <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
201 </dependency>
202 <dependency>
203 <groupId>org.unitils</groupId>
204 <artifactId>unitils-core</artifactId>
205 <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
206 </dependency>
207 <dependency>
208 <groupId>org.unitils</groupId>
209 <artifactId>unitils-database</artifactId>
210 <scope>test</scope>
211 </dependency>
212 <dependency>
213 <groupId>org.unitils</groupId>
214 <artifactId>unitils-dbmaintainer</artifactId>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.unitils</groupId>
219 <artifactId>unitils-dbunit</artifactId>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>org.unitils</groupId>
224 <artifactId>unitils-easymock</artifactId>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.unitils</groupId>
229 <artifactId>unitils-mock</artifactId>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.unitils</groupId>
234 <artifactId>unitils-inject</artifactId>
235 <scope>test</scope>
236 </dependency>
237 <dependency>
238 <groupId>org.unitils</groupId>
239 <artifactId>unitils-orm</artifactId>
240 <scope>test</scope>
241 <exclusions>
242 <exclusion>
243 <groupId>javax.persistence</groupId>
244 <artifactId>persistence-api</artifactId>
245 </exclusion>
246 </exclusions>
247 </dependency>
248 <dependency>
249 <groupId>org.unitils</groupId>
250 <artifactId>unitils-spring</artifactId>
251 <scope>test</scope>
252 </dependency>
253 <dependency>
254 <groupId>org.dbunit</groupId>
255 <artifactId>dbunit</artifactId>
256 <scope>test</scope>
257 </dependency>
258 <dependency>
259 <groupId>xmlunit</groupId>
260 <artifactId>xmlunit</artifactId>
261 <scope>test</scope>
262 </dependency>
263 <dependency>
264 <groupId>com.carrotsearch</groupId>
265 <artifactId>junit-benchmarks</artifactId>
266 <scope>test</scope>
267 </dependency>
268 <dependency>
269 <groupId>org.springframework</groupId>
270 <artifactId>org.springframework.beans</artifactId>
271 </dependency>
272 <dependency>
273 <groupId>org.springframework</groupId>
274 <artifactId>org.springframework.expression</artifactId>
275 </dependency>
276 <dependency>
277 <groupId>org.springframework</groupId>
278 <artifactId>org.springframework.orm</artifactId>
279 </dependency>
280 <dependency>
281 <groupId>org.springframework</groupId>
282 <artifactId>org.springframework.jdbc</artifactId>
283 </dependency>
284 <dependency>
285 <groupId>org.springframework</groupId>
286 <artifactId>org.springframework.test</artifactId>
287 </dependency>
288 <dependency>
289 <groupId>org.springframework</groupId>
290 <artifactId>org.springframework.aop</artifactId>
291 </dependency>
292 <dependency>
293 <groupId>org.springframework</groupId>
294 <artifactId>org.springframework.aspects</artifactId>
295 </dependency>
296 <dependency>
297 <groupId>org.springframework.security</groupId>
298 <artifactId>spring-security-core</artifactId>
299 </dependency>
300 <!-- required by Xerces 2.11.0 -->
301 <dependency>
302 <groupId>org.apache.xmlgraphics</groupId>
303 <artifactId>batik-ext</artifactId>
304 </dependency>
305
306 <!-- ******* DATABASES DRIVER ******* -->
307 <dependency>
308 <groupId>mysql</groupId>
309 <artifactId>mysql-connector-java</artifactId>
310 </dependency>
311 <dependency>
312 <groupId>postgresql</groupId>
313 <artifactId>postgresql</artifactId>
314 </dependency>
315 <dependency>
316 <groupId>hsqldb</groupId>
317 <artifactId>hsqldb</artifactId>
318 </dependency>
319 <!-- SQL Server and Sybase -->
320 <dependency>
321 <groupId>net.sourceforge.jtds</groupId>
322 <artifactId>jtds</artifactId>
323 </dependency>
324 <dependency>
325 <groupId>com.microsoft.sqlserver</groupId>
326 <artifactId>jdbc4</artifactId>
327 </dependency>
328
329 <dependency>
330 <groupId>com.h2database</groupId>
331 <artifactId>h2</artifactId>
332 </dependency>
333
334 <!-- SQL Debugging -->
335 <dependency>
336 <groupId>p6spy</groupId>
337 <artifactId>p6spy</artifactId>
338 </dependency>
339
340 <!-- Profiling -->
341 <dependency>
342 <groupId>com.yourkit</groupId>
343 <artifactId>yjp-controller-api-redist</artifactId>
344 <scope>test</scope>
345 </dependency>
346 </dependencies>
347
348 </project>