860bc09cbff0aef920faca1ec8595a0ef8045c1d
[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.3.1.GA</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>org.hibernate</groupId>
87 <artifactId>hibernate-envers</artifactId>
88 <version>3.4.0-SNAPSHOT</version>
89 </dependency>
90 <dependency>
91 <groupId>org.hibernate</groupId>
92 <artifactId>hibernate-entitymanager</artifactId>
93 <version>3.4.0-SNAPSHOT</version>
94 </dependency>
95 <dependency>
96 <groupId>org.hibernate</groupId>
97 <artifactId>hibernate-tools</artifactId>
98 <version>3.2.3.GA</version>
99 </dependency>
100 <dependency>
101 <groupId>org.slf4j</groupId>
102 <artifactId>slf4j-log4j12</artifactId>
103 <version>1.5.2</version>
104 </dependency>
105 <dependency>
106 <groupId>commons-logging</groupId>
107 <artifactId>commons-logging</artifactId>
108 <version>1.1.1</version>
109 </dependency>
110 </dependencies>
111 </plugin>-->
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-jar-plugin</artifactId>
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>eu.etaxonomy</groupId>
128 <artifactId>cdmlib-model</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>javax.persistence</groupId>
132 <artifactId>ejb</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>javax.annotation</groupId>
136 <artifactId>jsr250-api</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>org.aspectj</groupId>
140 <artifactId>aspectjweaver</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>org.hibernate</groupId>
144 <artifactId>hibernate-commons-annotations</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>org.hibernate</groupId>
148 <artifactId>hibernate</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.hibernate</groupId>
152 <artifactId>hibernate-search</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>org.apache.lucene</groupId>
156 <artifactId>lucene-core</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>org.apache.lucene</groupId>
160 <artifactId>lucene-spellchecker</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>org.springmodules</groupId>
164 <artifactId>spring-modules-lucene</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>org.unitils</groupId>
168 <artifactId>unitils</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>org.dbunit</groupId>
172 <artifactId>dbunit</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>org.springframework</groupId>
176 <artifactId>spring</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>org.springframework</groupId>
180 <artifactId>spring-beans</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-orm</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>org.springframework</groupId>
188 <artifactId>spring-jdbc</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.springframework</groupId>
192 <artifactId>spring-test</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>org.springframework</groupId>
196 <artifactId>spring-aop</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.springframework.security</groupId>
200 <artifactId>spring-security-core</artifactId>
201 </dependency>
202
203
204 <!-- ******* DATABASES DRIVER ******* -->
205 <dependency>
206 <groupId>mysql</groupId>
207 <artifactId>mysql-connector-java</artifactId>
208 </dependency>
209 <dependency>
210 <groupId>postgresql</groupId>
211 <artifactId>postgresql</artifactId>
212 </dependency>
213 <dependency>
214 <groupId>hsqldb</groupId>
215 <artifactId>hsqldb</artifactId>
216 </dependency>
217 <!-- SQL Server and Sybase -->
218 <dependency>
219 <groupId>net.sourceforge.jtds</groupId>
220 <artifactId>jtds</artifactId>
221 </dependency>
222 <dependency>
223 <groupId>com.microsoft.sqlserver</groupId>
224 <artifactId>jdbc</artifactId>
225 </dependency>
226 <!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
227 <dependency>
228 <groupId>com.microsoft.jdbcdriver</groupId>
229 <artifactId>mssqlserver</artifactId>
230 </dependency>
231 <dependency>
232 <groupId>com.microsoft.jdbcdriver</groupId>
233 <artifactId>msutil</artifactId>
234 </dependency>
235 <dependency>
236 <groupId>com.microsoft.jdbcdriver</groupId>
237 <artifactId>msbase</artifactId>
238 </dependency>
239 -->
240 <dependency>
241 <groupId>com.h2database</groupId>
242 <artifactId>h2</artifactId>
243 </dependency>
244
245
246 </dependencies>
247
248 </project>