#6000 fix missing default color
[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.3.0-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.springframework</groupId>
217 <artifactId>spring-beans</artifactId>
218 </dependency>
219 <dependency>
220 <groupId>org.springframework</groupId>
221 <artifactId>spring-expression</artifactId>
222 </dependency>
223 <dependency>
224 <groupId>org.springframework</groupId>
225 <artifactId>spring-orm</artifactId>
226 </dependency>
227 <dependency>
228 <groupId>org.springframework</groupId>
229 <artifactId>spring-jdbc</artifactId>
230 </dependency>
231 <dependency>
232 <groupId>org.springframework</groupId>
233 <artifactId>spring-aop</artifactId>
234 </dependency>
235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-aspects</artifactId>
238 </dependency>
239 <dependency>
240 <groupId>org.springframework.security</groupId>
241 <artifactId>spring-security-core</artifactId>
242 </dependency>
243 <!-- required by Xerces 2.11.0 -->
244 <dependency>
245 <groupId>org.apache.xmlgraphics</groupId>
246 <artifactId>batik-ext</artifactId>
247 </dependency>
248
249 <!-- ******* DATABASES DRIVER ******* -->
250 <dependency>
251 <groupId>mysql</groupId>
252 <artifactId>mysql-connector-java</artifactId>
253 </dependency>
254 <dependency>
255 <groupId>org.postgresql</groupId>
256 <artifactId>postgresql</artifactId>
257 </dependency>
258 <dependency>
259 <groupId>org.hsqldb</groupId>
260 <artifactId>hsqldb</artifactId>
261 </dependency>
262 <!-- SQL Server and Sybase -->
263 <dependency>
264 <groupId>net.sourceforge.jtds</groupId>
265 <artifactId>jtds</artifactId>
266 </dependency>
267 <dependency>
268 <groupId>com.microsoft.sqlserver</groupId>
269 <artifactId>jdbc4</artifactId>
270 </dependency>
271
272 <dependency>
273 <groupId>com.h2database</groupId>
274 <artifactId>h2</artifactId>
275 </dependency>
276
277
278 <!-- Profiling -->
279 <!-- <dependency> -->
280 <!-- <groupId>com.yourkit</groupId> -->
281 <!-- <artifactId>yjp-controller-api-redist</artifactId> -->
282 <!-- <scope>test</scope> -->
283 <!-- </dependency> -->
284 </dependencies>
285
286 </project>