minor
[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"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <!--
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6 -->
7 <parent>
8 <groupId>eu.etaxonomy</groupId>
9 <artifactId>cdmlib-parent</artifactId>
10 <version>2.1</version>
11 </parent>
12
13 <modelVersion>4.0.0</modelVersion>
14 <artifactId>cdmlib-persistence</artifactId>
15 <name>CDM Persistence</name>
16 <description>EDIT CDM library persistence layer. Mainly DAOs</description>
17 <scm>
18 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</connection>
19 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-persistence/</developerConnection>
20 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-persistence/</url>
21 </scm>
22 <build>
23 <plugins>
24 <plugin>
25 <groupId>org.codehaus.mojo</groupId>
26 <artifactId>hibernate3-maven-plugin</artifactId>
27 <version>2.1</version>
28 <configuration>
29 <components>
30 <component>
31 <name>hbm2ddl</name>
32 <implementation>annotationconfiguration</implementation>
33 </component>
34 </components>
35 <componentProperties>
36 <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
37 <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile>
38 <outputfilename>001_cdm.ddl</outputfilename>
39 <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile>
40 </componentProperties>
41 </configuration>
42 <dependencies>
43 <dependency>
44 <groupId>hsqldb</groupId>
45 <artifactId>hsqldb</artifactId>
46 <version>1.8.0.4</version>
47 </dependency>
48 <dependency>
49 <groupId>org.hibernate</groupId>
50 <artifactId>hibernate-annotations</artifactId>
51 <version>3.4.0-SNAPSHOT</version>
52 </dependency>
53 </dependencies>
54 </plugin>
55 <plugin>
56 <artifactId>maven-antrun-plugin</artifactId>
57 <configuration>
58 <tasks>
59 <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask">
60 <classpath refid="maven.plugin.classpath"/>
61 </taskdef>
62 <mkdir dir="target/generated-sources/hibernate3"/>
63 <hibernatetool destdir=".">
64 <classpath>
65 <path refid="maven.plugin.classpath"/>
66 <path refid="maven.compile.classpath"/>
67 <path refid="maven.test.classpath"/>
68 </classpath>
69 <jpaconfiguration persistenceunit="cdm"/>
70 <hbm2ddl drop="false"
71 create="true"
72 export="false"
73 outputfilename="target/generated-sources/hibernate3/001_cdm.ddl"
74 delimiter=";"
75 format="true"/>
76 </hibernatetool>
77 </tasks>
78 </configuration>
79 <dependencies>
80 <dependency>
81 <groupId>hsqldb</groupId>
82 <artifactId>hsqldb</artifactId>
83 <version>1.8.0.4</version>
84 </dependency>
85 <dependency>
86 <groupId>mysql</groupId>
87 <artifactId>mysql-connector-java</artifactId>
88 <version>5.0.5</version>
89 </dependency>
90 <dependency>
91 <groupId>org.hibernate</groupId>
92 <artifactId>hibernate-envers</artifactId>
93 <version>3.4.0-SNAPSHOT</version>
94 </dependency>
95 <dependency>
96 <groupId>org.hibernate</groupId>
97 <artifactId>hibernate-entitymanager</artifactId>
98 <version>3.4.0-SNAPSHOT</version>
99 </dependency>
100 <dependency>
101 <groupId>org.hibernate</groupId>
102 <artifactId>hibernate-tools</artifactId>
103 <version>3.2.3.GA</version>
104 </dependency>
105 <dependency>
106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-log4j12</artifactId>
108 <version>1.5.2</version>
109 </dependency>
110 <dependency>
111 <groupId>commons-logging</groupId>
112 <artifactId>commons-logging</artifactId>
113 <version>1.1.1</version>
114 </dependency>
115 </dependencies>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-jar-plugin</artifactId>
120 <executions>
121 <execution>
122 <goals>
123 <goal>test-jar</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128 </plugins>
129 </build>
130 <dependencies>
131 <dependency>
132 <groupId>eu.etaxonomy</groupId>
133 <artifactId>cdmlib-model</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>org.slf4j</groupId>
137 <artifactId>slf4j-log4j12</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>javax.persistence</groupId>
141 <artifactId>persistence-api</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>javassist</groupId>
145 <artifactId>javassist</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-agent</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>javax.annotation</groupId>
153 <artifactId>jsr250-api</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>org.aspectj</groupId>
157 <artifactId>aspectjweaver</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>org.hibernate</groupId>
161 <artifactId>hibernate-commons-annotations</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>org.hibernate</groupId>
165 <artifactId>hibernate-annotations</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>org.hibernate</groupId>
169 <artifactId>hibernate-core</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>org.hibernate</groupId>
173 <artifactId>hibernate-envers</artifactId>
174 </dependency>
175 <dependency>
176 <groupId>org.hibernate</groupId>
177 <artifactId>hibernate-search</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-spellchecker</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>commons-beanutils</groupId>
189 <artifactId>commons-beanutils</artifactId>
190 <version>1.7.0</version>
191 </dependency>
192 <dependency>
193 <groupId>org.springmodules</groupId>
194 <artifactId>spring-modules-lucene</artifactId>
195 </dependency>
196 <dependency>
197 <groupId>org.unitils</groupId>
198 <artifactId>unitils</artifactId>
199 </dependency>
200 <dependency>
201 <groupId>org.dbunit</groupId>
202 <artifactId>dbunit</artifactId>
203 </dependency>
204 <dependency>
205 <groupId>org.springframework</groupId>
206 <artifactId>spring</artifactId>
207 </dependency>
208 <dependency>
209 <groupId>org.springframework</groupId>
210 <artifactId>spring-beans</artifactId>
211 </dependency>
212 <dependency>
213 <groupId>org.springframework</groupId>
214 <artifactId>spring-orm</artifactId>
215 </dependency>
216 <dependency>
217 <groupId>org.springframework</groupId>
218 <artifactId>spring-jdbc</artifactId>
219 </dependency>
220 <dependency>
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-test</artifactId>
223 </dependency>
224 <dependency>
225 <groupId>org.springframework</groupId>
226 <artifactId>spring-aop</artifactId>
227 </dependency>
228 <dependency>
229 <groupId>org.springframework</groupId>
230 <artifactId>spring-aspects</artifactId>
231 </dependency>
232 <dependency>
233 <groupId>org.springframework.security</groupId>
234 <artifactId>spring-security-core</artifactId>
235 </dependency>
236 <dependency><!-- Required for TestingAuthenticationProvider etc until 2.5.0 [SEC-1010] -->
237 <groupId>org.springframework.security</groupId>
238 <artifactId>spring-security-core</artifactId>
239 <version>2.0.4</version>
240 <type>test-jar</type>
241 <scope>test</scope>
242 </dependency>
243
244
245 <!-- ******* DATABASES DRIVER ******* -->
246 <dependency>
247 <groupId>mysql</groupId>
248 <artifactId>mysql-connector-java</artifactId>
249 </dependency>
250 <dependency>
251 <groupId>postgresql</groupId>
252 <artifactId>postgresql</artifactId>
253 </dependency>
254 <dependency>
255 <groupId>hsqldb</groupId>
256 <artifactId>hsqldb</artifactId>
257 </dependency>
258 <!-- SQL Server and Sybase -->
259 <dependency>
260 <groupId>net.sourceforge.jtds</groupId>
261 <artifactId>jtds</artifactId>
262 </dependency>
263 <dependency>
264 <groupId>com.microsoft.sqlserver</groupId>
265 <artifactId>jdbc</artifactId>
266 </dependency>
267 <!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
268 <dependency>
269 <groupId>com.microsoft.jdbcdriver</groupId>
270 <artifactId>mssqlserver</artifactId>
271 </dependency>
272 <dependency>
273 <groupId>com.microsoft.jdbcdriver</groupId>
274 <artifactId>msutil</artifactId>
275 </dependency>
276 <dependency>
277 <groupId>com.microsoft.jdbcdriver</groupId>
278 <artifactId>msbase</artifactId>
279 </dependency>
280 -->
281 <dependency>
282 <groupId>com.h2database</groupId>
283 <artifactId>h2</artifactId>
284 </dependency>
285
286
287 </dependencies>
288
289 </project>