some more dependency changes #3332
[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.1.4-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 <scm>
15 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</connection>
16 <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</developerConnection>
17 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-persistence/</url>
18 </scm>
19 <build>
20 <plugins>
21 <plugin>
22 <groupId>org.codehaus.mojo</groupId>
23 <artifactId>hibernate3-maven-plugin</artifactId>
24 <version>2.1</version>
25 <configuration>
26 <components>
27 <component>
28 <name>hbm2ddl</name>
29 <implementation>annotationconfiguration</implementation>
30 </component>
31 </components>
32 <componentProperties>
33 <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
34 <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile>
35 <outputfilename>001_cdm.ddl</outputfilename>
36 <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile>
37 </componentProperties>
38 </configuration>
39 <dependencies>
40 <dependency>
41 <groupId>hsqldb</groupId>
42 <artifactId>hsqldb</artifactId>
43 <version>${hsqldb.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>org.hibernate</groupId>
47 <artifactId>hibernate-annotations</artifactId>
48 <version>3.4.0-SNAPSHOT</version>
49 </dependency>
50 </dependencies>
51 </plugin>
52 <plugin>
53 <artifactId>maven-antrun-plugin</artifactId>
54 <configuration>
55 <tasks>
56 <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask">
57 <classpath refid="maven.plugin.classpath" />
58 </taskdef>
59 <mkdir dir="target/generated-sources/hibernate3" />
60 <hibernatetool destdir=".">
61 <classpath>
62 <path refid="maven.plugin.classpath" />
63 <path refid="maven.compile.classpath" />
64 <path refid="maven.test.classpath" />
65 </classpath>
66 <jpaconfiguration persistenceunit="cdm" />
67 <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
68 </hibernatetool>
69 </tasks>
70 </configuration>
71 <dependencies>
72 <dependency>
73 <groupId>hsqldb</groupId>
74 <artifactId>hsqldb</artifactId>
75 <version>${hsqldb.version}</version>
76 </dependency>
77 <dependency>
78 <groupId>mysql</groupId>
79 <artifactId>mysql-connector-java</artifactId>
80 <version>5.0.5</version>
81 </dependency>
82 <dependency>
83 <groupId>org.hibernate</groupId>
84 <artifactId>hibernate-envers</artifactId>
85 <version>3.4.0-SNAPSHOT</version>
86 </dependency>
87 <dependency>
88 <groupId>org.hibernate</groupId>
89 <artifactId>hibernate-entitymanager</artifactId>
90 <version>3.4.0-SNAPSHOT</version>
91 </dependency>
92 <dependency>
93 <groupId>org.hibernate</groupId>
94 <artifactId>hibernate-tools</artifactId>
95 <version>3.2.3.GA</version>
96 </dependency>
97 <dependency>
98 <groupId>org.slf4j</groupId>
99 <artifactId>slf4j-log4j12</artifactId>
100 <version>1.5.2</version>
101 </dependency>
102 <dependency>
103 <groupId>commons-logging</groupId>
104 <artifactId>commons-logging</artifactId>
105 <version>1.1.1</version>
106 </dependency>
107 </dependencies>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-jar-plugin</artifactId>
112 <version>2.3.2</version>
113 <executions>
114 <execution>
115 <goals>
116 <goal>test-jar</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 </plugins>
122 </build>
123 <dependencies>
124 <dependency>
125 <groupId>eu.etaxonomy</groupId>
126 <artifactId>cdmlib-model</artifactId>
127 </dependency>
128 <dependency>
129 <groupId>eu.etaxonomy</groupId>
130 <artifactId>cdmlib-commons</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-log4j12</artifactId>
135 </dependency>
136 <dependency>
137 <groupId>javax.persistence</groupId>
138 <artifactId>persistence-api</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>javassist</groupId>
142 <artifactId>javassist</artifactId>
143 </dependency>
144 <dependency>
145 <groupId>javax.annotation</groupId>
146 <artifactId>jsr250-api</artifactId>
147 </dependency>
148 <dependency>
149 <groupId>org.aspectj</groupId>
150 <artifactId>aspectjweaver</artifactId>
151 </dependency>
152 <dependency>
153 <groupId>org.hibernate</groupId>
154 <artifactId>hibernate-commons-annotations</artifactId>
155 </dependency>
156 <dependency>
157 <groupId>org.hibernate</groupId>
158 <artifactId>hibernate-annotations</artifactId>
159 </dependency>
160 <dependency>
161 <groupId>org.hibernate</groupId>
162 <artifactId>hibernate-core</artifactId>
163 </dependency>
164 <dependency>
165 <groupId>org.hibernate</groupId>
166 <artifactId>hibernate-envers</artifactId>
167 </dependency>
168 <dependency>
169 <groupId>org.hibernate</groupId>
170 <artifactId>hibernate-search</artifactId>
171 </dependency>
172 <dependency>
173 <groupId>org.hibernate</groupId>
174 <artifactId>hibernate-c3p0</artifactId>
175 </dependency>
176 <dependency>
177 <groupId>org.apache.lucene</groupId>
178 <artifactId>lucene-core</artifactId>
179 </dependency>
180 <dependency>
181 <groupId>org.apache.lucene</groupId>
182 <artifactId>lucene-spellchecker</artifactId>
183 </dependency>
184 <dependency>
185 <groupId>commons-beanutils</groupId>
186 <artifactId>commons-beanutils</artifactId>
187 <version>1.7.0</version>
188 </dependency>
189 <dependency>
190 <groupId>commons-lang</groupId>
191 <artifactId>commons-lang</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>commons-dbcp</groupId>
195 <artifactId>commons-dbcp</artifactId>
196 <version>1.2.2</version>
197 </dependency>
198 <dependency>
199 <groupId>org.springmodules</groupId>
200 <artifactId>spring-modules-lucene</artifactId>
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 </dependency>
242 <dependency>
243 <groupId>org.unitils</groupId>
244 <artifactId>unitils-spring</artifactId>
245 <scope>test</scope>
246 </dependency>
247 <dependency>
248 <groupId>org.dbunit</groupId>
249 <artifactId>dbunit</artifactId>
250 <scope>test</scope>
251 </dependency>
252 <dependency>
253 <groupId>com.carrotsearch</groupId>
254 <artifactId>junit-benchmarks</artifactId>
255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.springframework</groupId>
259 <artifactId>org.springframework.beans</artifactId>
260 </dependency>
261 <dependency>
262 <groupId>org.springframework</groupId>
263 <artifactId>org.springframework.expression</artifactId>
264 </dependency>
265 <dependency>
266 <groupId>org.springframework</groupId>
267 <artifactId>org.springframework.orm</artifactId>
268 </dependency>
269 <dependency>
270 <groupId>org.springframework</groupId>
271 <artifactId>org.springframework.jdbc</artifactId>
272 </dependency>
273 <dependency>
274 <groupId>org.springframework</groupId>
275 <artifactId>org.springframework.test</artifactId>
276 </dependency>
277 <dependency>
278 <groupId>org.springframework</groupId>
279 <artifactId>org.springframework.aop</artifactId>
280 </dependency>
281 <dependency>
282 <groupId>org.springframework</groupId>
283 <artifactId>org.springframework.aspects</artifactId>
284 </dependency>
285 <dependency>
286 <groupId>org.springframework.security</groupId>
287 <artifactId>spring-security-core</artifactId>
288 </dependency>
289 <!-- ******* DATABASES DRIVER ******* -->
290 <dependency>
291 <groupId>mysql</groupId>
292 <artifactId>mysql-connector-java</artifactId>
293 </dependency>
294 <dependency>
295 <groupId>postgresql</groupId>
296 <artifactId>postgresql</artifactId>
297 </dependency>
298 <dependency>
299 <groupId>hsqldb</groupId>
300 <artifactId>hsqldb</artifactId>
301 </dependency>
302 <!-- SQL Server and Sybase -->
303 <dependency>
304 <groupId>net.sourceforge.jtds</groupId>
305 <artifactId>jtds</artifactId>
306 </dependency>
307 <!--<dependency>
308 <groupId>com.microsoft.sqlserver</groupId>
309 <artifactId>jdbc4</artifactId>
310 </dependency>-->
311 <dependency>
312 <groupId>com.microsoft.sqlserver</groupId>
313 <artifactId>jdbc4</artifactId>
314 </dependency>
315 <!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
316 <dependency>
317 <groupId>com.microsoft.jdbcdriver</groupId>
318 <artifactId>mssqlserver</artifactId>
319 </dependency>
320 <dependency>
321 <groupId>com.microsoft.jdbcdriver</groupId>
322 <artifactId>msutil</artifactId>
323 </dependency>
324 <dependency>
325 <groupId>com.microsoft.jdbcdriver</groupId>
326 <artifactId>msbase</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 </dependencies>
340
341 </project>