updating poms for 4.1.1 branch with snapshot versions
[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>4.1.1-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>3.0</version>
25 <configuration>
26 <components>
27 <component>
28 <name>hbm2ddl</name>
29 <implementation>annotationconfigurationX</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>org.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.5.6-FINAL</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>org.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>${mysql.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>org.hibernate</groupId>
84 <artifactId>hibernate-envers</artifactId>
85 <version>${hibernate.version}</version>
86 </dependency>
87 <dependency>
88 <groupId>org.hibernate</groupId>
89 <artifactId>hibernate-entitymanager</artifactId>
90 <version>${hibernate.version}</version>
91 </dependency>
92 <dependency>
93 <!-- is this still needed ?? -->
94 <groupId>org.hibernate</groupId>
95 <artifactId>hibernate-tools</artifactId>
96 <version>3.2.4.GA</version>
97 </dependency>
98 <dependency>
99 <groupId>org.slf4j</groupId>
100 <artifactId>slf4j-log4j12</artifactId>
101 <version>${slf4j.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>commons-logging</groupId>
105 <artifactId>commons-logging</artifactId>
106 <version>${commons-logging.version}</version>
107 </dependency>
108 </dependencies>
109 </plugin>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-jar-plugin</artifactId>
113 <version>2.3.2</version>
114 <executions>
115 <execution>
116 <goals>
117 <goal>test-jar</goal>
118 </goals>
119 </execution>
120 </executions>
121 </plugin>
122 </plugins>
123 </build>
124 <dependencies>
125 <dependency>
126 <groupId>org.hibernate.javax.persistence</groupId>
127 <artifactId>hibernate-jpa-2.1-api</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>eu.etaxonomy</groupId>
131 <artifactId>cdmlib-model</artifactId>
132 </dependency>
133 <dependency>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-log4j12</artifactId>
136 </dependency>
137 <dependency>
138 <groupId>org.javassist</groupId>
139 <artifactId>javassist</artifactId>
140 </dependency>
141 <dependency>
142 <groupId>javax.annotation</groupId>
143 <artifactId>jsr250-api</artifactId>
144 </dependency>
145 <dependency>
146 <groupId>org.aspectj</groupId>
147 <artifactId>aspectjweaver</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.hibernate.common</groupId>
151 <artifactId>hibernate-commons-annotations</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>org.hibernate</groupId>
155 <artifactId>hibernate-core</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>org.hibernate</groupId>
159 <artifactId>hibernate-search-orm</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>org.hibernate</groupId>
163 <artifactId>hibernate-envers</artifactId>
164 </dependency>
165 <dependency>
166 <groupId>org.hibernate</groupId>
167 <artifactId>hibernate-c3p0</artifactId>
168 </dependency>
169 <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
170 <dependency>
171 <groupId>com.mchange</groupId>
172 <artifactId>c3p0</artifactId>
173 </dependency>
174 <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing -->
175 <dependency>
176 <groupId>javax.transaction</groupId>
177 <artifactId>jta</artifactId>
178 </dependency>
179 <dependency>
180 <groupId>org.apache.lucene</groupId>
181 <artifactId>lucene-core</artifactId>
182 </dependency>
183 <dependency>
184 <groupId>org.apache.lucene</groupId>
185 <artifactId>lucene-suggest</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>org.apache.lucene</groupId>
189 <artifactId>lucene-queryparser</artifactId>
190 </dependency>
191 <dependency>
192 <groupId>commons-beanutils</groupId>
193 <artifactId>commons-beanutils</artifactId>
194 </dependency>
195 <dependency>
196 <groupId>commons-lang</groupId>
197 <artifactId>commons-lang</artifactId>
198 </dependency>
199 <dependency>
200 <groupId>commons-dbcp</groupId>
201 <artifactId>commons-dbcp</artifactId>
202 <!-- <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
203 </dependency>
204 <dependency>
205 <groupId>org.unitils</groupId>
206 <artifactId>unitils-core</artifactId>
207 <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
208 </dependency>
209
210 <dependency>
211 <groupId>eu.etaxonomy</groupId>
212 <artifactId>cdmlib-test</artifactId>
213 <scope>test</scope>
214 </dependency>
215 <!-- <dependency> -->
216 <!-- <groupId>org.unitils</groupId> -->
217 <!-- <artifactId>unitils-database</artifactId> -->
218 <!-- <scope>test</scope> -->
219 <!-- </dependency> -->
220 <!-- <dependency> -->
221 <!-- <groupId>org.unitils</groupId> -->
222 <!-- <artifactId>unitils-dbmaintainer</artifactId> -->
223 <!-- <scope>test</scope> -->
224 <!-- </dependency> -->
225 <!-- <dependency> -->
226 <!-- <groupId>org.unitils</groupId> -->
227 <!-- <artifactId>unitils-dbunit</artifactId> -->
228 <!-- <scope>test</scope> -->
229 <!-- </dependency> -->
230 <!-- <dependency> -->
231 <!-- <groupId>org.unitils</groupId> -->
232 <!-- <artifactId>unitils-easymock</artifactId> -->
233 <!-- <scope>test</scope> -->
234 <!-- </dependency> -->
235 <!-- <dependency> -->
236 <!-- <groupId>org.unitils</groupId> -->
237 <!-- <artifactId>unitils-mock</artifactId> -->
238 <!-- <scope>test</scope> -->
239 <!-- </dependency> -->
240 <!-- <dependency> -->
241 <!-- <groupId>org.unitils</groupId> -->
242 <!-- <artifactId>unitils-inject</artifactId> -->
243 <!-- <scope>test</scope> -->
244 <!-- </dependency> -->
245 <!-- <dependency> -->
246 <!-- <groupId>org.unitils</groupId> -->
247 <!-- <artifactId>unitils-orm</artifactId> -->
248 <!-- <scope>test</scope> -->
249 <!-- <exclusions> -->
250 <!-- <exclusion> -->
251 <!-- <groupId>javax.persistence</groupId> -->
252 <!-- <artifactId>persistence-api</artifactId> -->
253 <!-- </exclusion> -->
254 <!-- </exclusions> -->
255 <!-- </dependency> -->
256 <!-- <dependency> -->
257 <!-- <groupId>org.unitils</groupId> -->
258 <!-- <artifactId>unitils-spring</artifactId> -->
259 <!-- <scope>test</scope> -->
260 <!-- </dependency> -->
261 <!-- <dependency> -->
262 <!-- <groupId>org.dbunit</groupId> -->
263 <!-- <artifactId>dbunit</artifactId> -->
264 <!-- <scope>test</scope> -->
265 <!-- </dependency> -->
266 <!-- <dependency> -->
267 <!-- <groupId>xmlunit</groupId> -->
268 <!-- <artifactId>xmlunit</artifactId> -->
269 <!-- <scope>test</scope> -->
270 <!-- </dependency> -->
271 <!-- <dependency> -->
272 <!-- <groupId>com.carrotsearch</groupId> -->
273 <!-- <artifactId>junit-benchmarks</artifactId> -->
274 <!-- <scope>test</scope> -->
275 <!-- </dependency> -->
276 <dependency>
277 <groupId>org.springframework</groupId>
278 <artifactId>spring-beans</artifactId>
279 </dependency>
280 <dependency>
281 <groupId>org.springframework</groupId>
282 <artifactId>spring-expression</artifactId>
283 </dependency>
284 <dependency>
285 <groupId>org.springframework</groupId>
286 <artifactId>spring-orm</artifactId>
287 </dependency>
288 <dependency>
289 <groupId>org.springframework</groupId>
290 <artifactId>spring-jdbc</artifactId>
291 </dependency>
292 <dependency>
293 <groupId>org.springframework</groupId>
294 <artifactId>spring-aop</artifactId>
295 </dependency>
296 <dependency>
297 <groupId>org.springframework</groupId>
298 <artifactId>spring-aspects</artifactId>
299 </dependency>
300 <dependency>
301 <groupId>org.springframework.security</groupId>
302 <artifactId>spring-security-core</artifactId>
303 </dependency>
304 <!-- required by Xerces 2.11.0 -->
305 <dependency>
306 <groupId>org.apache.xmlgraphics</groupId>
307 <artifactId>batik-ext</artifactId>
308 </dependency>
309
310 <!-- ******* DATABASES DRIVER ******* -->
311 <dependency>
312 <groupId>mysql</groupId>
313 <artifactId>mysql-connector-java</artifactId>
314 </dependency>
315 <dependency>
316 <groupId>org.postgresql</groupId>
317 <artifactId>postgresql</artifactId>
318 </dependency>
319 <dependency>
320 <groupId>org.hsqldb</groupId>
321 <artifactId>hsqldb</artifactId>
322 </dependency>
323 <!-- SQL Server and Sybase -->
324 <dependency>
325 <groupId>net.sourceforge.jtds</groupId>
326 <artifactId>jtds</artifactId>
327 </dependency>
328 <dependency>
329 <groupId>com.microsoft.sqlserver</groupId>
330 <artifactId>jdbc4</artifactId>
331 </dependency>
332
333 <dependency>
334 <groupId>com.h2database</groupId>
335 <artifactId>h2</artifactId>
336 </dependency>
337
338
339 <!-- Profiling -->
340 <!-- <dependency> -->
341 <!-- <groupId>com.yourkit</groupId> -->
342 <!-- <artifactId>yjp-controller-api-redist</artifactId> -->
343 <!-- <scope>test</scope> -->
344 <!-- </dependency> -->
345 </dependencies>
346
347 </project>