Project

General

Profile

Download (11.4 KB) Statistics
| Branch: | Tag: | Revision:
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.3.6</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/tags/cdmlib/cdmlib-parent-3.3.6/cdmlib-persistence</connection>
16
    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdmlib/cdmlib-parent-3.3.6/cdmlib-persistence</developerConnection>
17
    <url>http://dev.e-taxonomy.eu/trac/browser/tags/cdmlib/cdmlib-parent-3.3.6/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.1.24</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>1.7.2</version>
102
          </dependency>
103
          <dependency>
104
            <groupId>commons-logging</groupId>
105
            <artifactId>commons-logging</artifactId>
106
              <version>1.1.2</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.0-api</artifactId>
128
	 </dependency>
129
     <dependency>
130
      <groupId>eu.etaxonomy</groupId>
131
      <artifactId>cdmlib-model</artifactId>
132
    </dependency>
133
  <dependency>
134
      <groupId>eu.etaxonomy</groupId>
135
      <artifactId>cdmlib-commons</artifactId>
136
    </dependency>
137
    <dependency>
138
        <groupId>org.slf4j</groupId>
139
        <artifactId>slf4j-log4j12</artifactId>
140
    </dependency>
141
    <dependency>
142
        <groupId>org.javassist</groupId>
143
        <artifactId>javassist</artifactId>
144
    </dependency>
145
    <dependency>
146
      <groupId>javax.annotation</groupId>
147
      <artifactId>jsr250-api</artifactId>
148
    </dependency>
149
    <dependency>
150
      <groupId>org.aspectj</groupId>
151
      <artifactId>aspectjweaver</artifactId>
152
    </dependency>
153
    <dependency>
154
      <groupId>org.hibernate.common</groupId>
155
      <artifactId>hibernate-commons-annotations</artifactId>
156
    </dependency>
157
    <dependency>
158
      <groupId>org.hibernate</groupId>
159
      <artifactId>hibernate-core</artifactId>
160
    </dependency>
161
    <dependency>
162
      <groupId>org.hibernate</groupId>
163
      <artifactId>hibernate-search</artifactId>
164
    </dependency>
165
    <dependency>
166
      <groupId>org.hibernate</groupId>
167
      <artifactId>hibernate-envers</artifactId>
168
    </dependency>
169
    <dependency>
170
      <groupId>org.hibernate</groupId>
171
      <artifactId>hibernate-c3p0</artifactId>
172
    </dependency>
173
   	<!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
174
   	<dependency>
175
		<groupId>com.mchange</groupId>
176
		<artifactId>c3p0</artifactId>
177
		<version>0.9.2</version>
178
	</dependency>
179
    
180
    <dependency>
181
      <groupId>org.apache.lucene</groupId>
182
      <artifactId>lucene-core</artifactId>
183
    </dependency>
184
    <dependency>
185
      <groupId>org.apache.lucene</groupId>
186
      <artifactId>lucene-spellchecker</artifactId>
187
    </dependency>
188
    <dependency>
189
        <groupId>commons-beanutils</groupId>
190
        <artifactId>commons-beanutils</artifactId>
191
     </dependency>
192
     <dependency>
193
          <groupId>commons-lang</groupId>
194
          <artifactId>commons-lang</artifactId>
195
     </dependency>
196
     <dependency>
197
	      <groupId>commons-dbcp</groupId>
198
	      <artifactId>commons-dbcp</artifactId>
199
<!-- 	      <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
200
    </dependency>
201
    <dependency>
202
        <groupId>org.unitils</groupId>
203
        <artifactId>unitils-core</artifactId>
204
        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
205
    </dependency>
206
    <dependency>
207
      <groupId>org.unitils</groupId>
208
      <artifactId>unitils-database</artifactId>
209
      <scope>test</scope>
210
    </dependency>
211
    <dependency>
212
      <groupId>org.unitils</groupId>
213
      <artifactId>unitils-dbmaintainer</artifactId>
214
      <scope>test</scope>
215
    </dependency>
216
    <dependency>
217
      <groupId>org.unitils</groupId>
218
      <artifactId>unitils-dbunit</artifactId>
219
      <scope>test</scope>
220
    </dependency>
221
     <dependency>
222
      <groupId>org.unitils</groupId>
223
      <artifactId>unitils-easymock</artifactId>
224
      <scope>test</scope>
225
    </dependency>
226
    <dependency>
227
      <groupId>org.unitils</groupId>
228
      <artifactId>unitils-mock</artifactId>
229
      <scope>test</scope>
230
    </dependency>
231
    <dependency>
232
      <groupId>org.unitils</groupId>
233
      <artifactId>unitils-inject</artifactId>
234
      <scope>test</scope>
235
    </dependency>
236
     <dependency>
237
      <groupId>org.unitils</groupId>
238
      <artifactId>unitils-orm</artifactId>
239
      <scope>test</scope>
240
      <exclusions>
241
      	<exclusion>
242
      		<groupId>javax.persistence</groupId>
243
	      	<artifactId>persistence-api</artifactId>
244
      	</exclusion>
245
      </exclusions>
246
    </dependency>
247
     <dependency>
248
      <groupId>org.unitils</groupId>
249
      <artifactId>unitils-spring</artifactId>
250
      <scope>test</scope>
251
    </dependency>
252
    <dependency>
253
      <groupId>org.dbunit</groupId>
254
      <artifactId>dbunit</artifactId>
255
      <scope>test</scope>
256
    </dependency>
257
    <dependency>
258
      <groupId>xmlunit</groupId>
259
      <artifactId>xmlunit</artifactId>
260
    <scope>test</scope>
261
    </dependency>
262
    <dependency>
263
      <groupId>com.carrotsearch</groupId>
264
      <artifactId>junit-benchmarks</artifactId>
265
      <scope>test</scope>
266
    </dependency>
267
    <dependency>
268
      <groupId>org.springframework</groupId>
269
      <artifactId>org.springframework.beans</artifactId>
270
    </dependency>
271
    <dependency>
272
      <groupId>org.springframework</groupId>
273
      <artifactId>org.springframework.expression</artifactId>
274
    </dependency>
275
    <dependency>
276
      <groupId>org.springframework</groupId>
277
      <artifactId>org.springframework.orm</artifactId>
278
    </dependency>
279
    <dependency>
280
      <groupId>org.springframework</groupId>
281
      <artifactId>org.springframework.jdbc</artifactId>
282
    </dependency>
283
    <dependency>
284
      <groupId>org.springframework</groupId>
285
      <artifactId>org.springframework.test</artifactId>
286
    </dependency>
287
    <dependency>
288
    <groupId>org.springframework</groupId>
289
    <artifactId>org.springframework.aop</artifactId>
290
    </dependency>
291
    <dependency>
292
      <groupId>org.springframework</groupId>
293
      <artifactId>org.springframework.aspects</artifactId>
294
    </dependency>
295
    <dependency>
296
      <groupId>org.springframework.security</groupId>
297
      <artifactId>spring-security-core</artifactId>
298
    </dependency>
299
	  <!-- required by Xerces 2.11.0 -->
300
	  <dependency>
301
		<groupId>org.apache.xmlgraphics</groupId>
302
		<artifactId>batik-ext</artifactId>
303
	  </dependency>
304

    
305
    <!-- ******* DATABASES DRIVER ******* -->
306
    <dependency>
307
      <groupId>mysql</groupId>
308
      <artifactId>mysql-connector-java</artifactId>
309
    </dependency>
310
    <dependency>
311
      <groupId>postgresql</groupId>
312
      <artifactId>postgresql</artifactId>
313
    </dependency>
314
    <dependency>
315
      <groupId>hsqldb</groupId>
316
      <artifactId>hsqldb</artifactId>
317
    </dependency>
318
    <!-- SQL Server and Sybase -->
319
    <dependency>
320
      <groupId>net.sourceforge.jtds</groupId>
321
      <artifactId>jtds</artifactId>
322
    </dependency>
323
    <dependency>
324
      <groupId>com.microsoft.sqlserver</groupId>
325
      <artifactId>jdbc4</artifactId>
326
    </dependency>
327

    
328
    <dependency>
329
    <groupId>com.h2database</groupId>
330
    <artifactId>h2</artifactId>
331
    </dependency>
332

    
333
    <!--  SQL Debugging  -->
334
    <dependency>
335
        <groupId>p6spy</groupId>
336
        <artifactId>p6spy</artifactId>
337
    </dependency>
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>
(3-3/3)