Project

General

Profile

Download (11.2 KB) Statistics
| Branch: | Tag: | Revision:
1 5d8c2bce Andreas Kohlbecker
<?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 397763df Andreas Kohlbecker
  <parent>
4
    <groupId>eu.etaxonomy</groupId>
5
    <artifactId>cdmlib-parent</artifactId>
6 b8712a66 Andreas Kohlbecker
		<version>3.12.0-SNAPSHOT</version>
7 397763df Andreas Kohlbecker
    <relativePath>../pom.xml</relativePath>
8
  </parent>
9
10 5d8c2bce Andreas Kohlbecker
  <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 fe8e39ef edit-jenkins
    <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 5d8c2bce Andreas Kohlbecker
  </scm>
19
  <build>
20
    <plugins>
21
      <plugin>
22
        <groupId>org.codehaus.mojo</groupId>
23
        <artifactId>hibernate3-maven-plugin</artifactId>
24 27bb7378 Andreas Müller
        <version>3.0</version>
25 5d8c2bce Andreas Kohlbecker
        <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 27bb7378 Andreas Müller
            <groupId>org.hsqldb</groupId>
42 5d8c2bce Andreas Kohlbecker
            <artifactId>hsqldb</artifactId>
43 e8eb02cd Andreas Kohlbecker
            <version>${hsqldb.version}</version>
44 5d8c2bce Andreas Kohlbecker
          </dependency>
45
          <dependency>
46
            <groupId>org.hibernate</groupId>
47
            <artifactId>hibernate-annotations</artifactId>
48 27bb7378 Andreas Müller
            <version>3.5.6-FINAL</version>
49 5d8c2bce Andreas Kohlbecker
          </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 397763df Andreas Kohlbecker
            <hibernatetool destdir=".">
61 5d8c2bce Andreas Kohlbecker
              <classpath>
62
                <path refid="maven.plugin.classpath" />
63
                <path refid="maven.compile.classpath" />
64
                <path refid="maven.test.classpath" />
65
              </classpath>
66 397763df Andreas Kohlbecker
              <jpaconfiguration persistenceunit="cdm" />
67
              <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
68 5d8c2bce Andreas Kohlbecker
              </hibernatetool>
69
          </tasks>
70
        </configuration>
71 27bb7378 Andreas Müller
         <dependencies>
72 5d8c2bce Andreas Kohlbecker
          <dependency>
73 27bb7378 Andreas Müller
            <groupId>org.hsqldb</groupId>
74 5d8c2bce Andreas Kohlbecker
            <artifactId>hsqldb</artifactId>
75 e8eb02cd Andreas Kohlbecker
            <version>${hsqldb.version}</version>
76 5d8c2bce Andreas Kohlbecker
          </dependency>
77
          <dependency>
78 66fc352a Andreas Müller
			<groupId>mysql</groupId>
79
			<artifactId>mysql-connector-java</artifactId>
80 27bb7378 Andreas Müller
			<version>${mysql.version}</version>
81 5d8c2bce Andreas Kohlbecker
          </dependency>
82
          <dependency>
83
            <groupId>org.hibernate</groupId>
84
            <artifactId>hibernate-envers</artifactId>
85 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
86 5d8c2bce Andreas Kohlbecker
          </dependency>
87
          <dependency>
88
            <groupId>org.hibernate</groupId>
89
            <artifactId>hibernate-entitymanager</artifactId>
90 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
91 5d8c2bce Andreas Kohlbecker
          </dependency>
92
          <dependency>
93 66fc352a Andreas Müller
          	<!-- is this still needed ?? -->
94 5d8c2bce Andreas Kohlbecker
            <groupId>org.hibernate</groupId>
95
            <artifactId>hibernate-tools</artifactId>
96 66fc352a Andreas Müller
            <version>3.2.4.GA</version>
97 5d8c2bce Andreas Kohlbecker
          </dependency>
98
          <dependency>
99
            <groupId>org.slf4j</groupId>
100
            <artifactId>slf4j-log4j12</artifactId>
101 27bb7378 Andreas Müller
            <version>${slf4j.version}</version>
102 5d8c2bce Andreas Kohlbecker
          </dependency>
103
          <dependency>
104
            <groupId>commons-logging</groupId>
105
            <artifactId>commons-logging</artifactId>
106 73e76701 Andreas Müller
              <version>${commons-logging.version}</version>
107 5d8c2bce Andreas Kohlbecker
          </dependency>
108
        </dependencies>
109
      </plugin>
110
      <plugin>
111
        <groupId>org.apache.maven.plugins</groupId>
112
        <artifactId>maven-jar-plugin</artifactId>
113 cc2ec4e9 Andreas Kohlbecker
        <version>2.3.2</version>
114 5d8c2bce Andreas Kohlbecker
        <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 a13c5f66 Andreas Müller
     <dependency>
126
		<groupId>org.hibernate.javax.persistence</groupId>
127
    	<artifactId>hibernate-jpa-2.0-api</artifactId>
128
	 </dependency>
129 397763df Andreas Kohlbecker
     <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 5d8c2bce Andreas Kohlbecker
        <artifactId>slf4j-log4j12</artifactId>
140
    </dependency>
141 397763df Andreas Kohlbecker
    <dependency>
142 5b633055 Andreas Müller
        <groupId>org.javassist</groupId>
143 5d8c2bce Andreas Kohlbecker
        <artifactId>javassist</artifactId>
144 397763df Andreas Kohlbecker
    </dependency>
145
    <dependency>
146
      <groupId>javax.annotation</groupId>
147
      <artifactId>jsr250-api</artifactId>
148
    </dependency>
149 5d8c2bce Andreas Kohlbecker
    <dependency>
150
      <groupId>org.aspectj</groupId>
151
      <artifactId>aspectjweaver</artifactId>
152
    </dependency>
153 397763df Andreas Kohlbecker
    <dependency>
154 a13c5f66 Andreas Müller
      <groupId>org.hibernate.common</groupId>
155 397763df Andreas Kohlbecker
      <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 a13c5f66 Andreas Müller
      <artifactId>hibernate-search</artifactId>
164 397763df Andreas Kohlbecker
    </dependency>
165
    <dependency>
166
      <groupId>org.hibernate</groupId>
167 a13c5f66 Andreas Müller
      <artifactId>hibernate-envers</artifactId>
168 397763df Andreas Kohlbecker
    </dependency>
169
    <dependency>
170
      <groupId>org.hibernate</groupId>
171
      <artifactId>hibernate-c3p0</artifactId>
172
    </dependency>
173 4d0bee20 Andreas Müller
   	<!-- 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 a13c5f66 Andreas Müller
    
180 397763df Andreas Kohlbecker
    <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 5d8c2bce Andreas Kohlbecker
        <groupId>commons-beanutils</groupId>
190
        <artifactId>commons-beanutils</artifactId>
191 397763df Andreas Kohlbecker
     </dependency>
192 5d8c2bce Andreas Kohlbecker
     <dependency>
193 397763df Andreas Kohlbecker
          <groupId>commons-lang</groupId>
194
          <artifactId>commons-lang</artifactId>
195 5d8c2bce Andreas Kohlbecker
     </dependency>
196
     <dependency>
197 a13c5f66 Andreas Müller
	      <groupId>commons-dbcp</groupId>
198
	      <artifactId>commons-dbcp</artifactId>
199
<!-- 	      <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
200 5d8c2bce Andreas Kohlbecker
    </dependency>
201
    <dependency>
202
        <groupId>org.unitils</groupId>
203 397763df Andreas Kohlbecker
        <artifactId>unitils-core</artifactId>
204 e8eb02cd Andreas Kohlbecker
        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
205 397763df Andreas Kohlbecker
    </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 a13c5f66 Andreas Müller
      <exclusions>
241
      	<exclusion>
242
      		<groupId>javax.persistence</groupId>
243
	      	<artifactId>persistence-api</artifactId>
244
      	</exclusion>
245
      </exclusions>
246 397763df Andreas Kohlbecker
    </dependency>
247
     <dependency>
248
      <groupId>org.unitils</groupId>
249
      <artifactId>unitils-spring</artifactId>
250
      <scope>test</scope>
251 5d8c2bce Andreas Kohlbecker
    </dependency>
252
    <dependency>
253
      <groupId>org.dbunit</groupId>
254
      <artifactId>dbunit</artifactId>
255 397763df Andreas Kohlbecker
      <scope>test</scope>
256
    </dependency>
257 66fc352a Andreas Müller
    <dependency>
258
      <groupId>xmlunit</groupId>
259
      <artifactId>xmlunit</artifactId>
260
    <scope>test</scope>
261
    </dependency>
262 397763df Andreas Kohlbecker
    <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 411b2214 Andreas Müller
      <artifactId>spring-beans</artifactId>
270 5d8c2bce Andreas Kohlbecker
    </dependency>
271 66634aaa Andreas Müller
    <dependency>
272
      <groupId>org.springframework</groupId>
273 411b2214 Andreas Müller
      <artifactId>spring-expression</artifactId>
274 66634aaa Andreas Müller
    </dependency>
275 397763df Andreas Kohlbecker
    <dependency>
276
      <groupId>org.springframework</groupId>
277 411b2214 Andreas Müller
      <artifactId>spring-orm</artifactId>
278 397763df Andreas Kohlbecker
    </dependency>
279
    <dependency>
280
      <groupId>org.springframework</groupId>
281 411b2214 Andreas Müller
      <artifactId>spring-jdbc</artifactId>
282 397763df Andreas Kohlbecker
    </dependency>
283
    <dependency>
284 411b2214 Andreas Müller
        <groupId>org.springframework</groupId>
285
        <artifactId>spring-aop</artifactId>
286 5d8c2bce Andreas Kohlbecker
    </dependency>
287
    <dependency>
288
      <groupId>org.springframework</groupId>
289 411b2214 Andreas Müller
      <artifactId>spring-aspects</artifactId>
290 5d8c2bce Andreas Kohlbecker
    </dependency>
291
    <dependency>
292 397763df Andreas Kohlbecker
      <groupId>org.springframework.security</groupId>
293
      <artifactId>spring-security-core</artifactId>
294
    </dependency>
295 70cb6333 Andreas Müller
	  <!-- required by Xerces 2.11.0 -->
296
	  <dependency>
297
		<groupId>org.apache.xmlgraphics</groupId>
298
		<artifactId>batik-ext</artifactId>
299
	  </dependency>
300
301 397763df Andreas Kohlbecker
    <!-- ******* DATABASES DRIVER ******* -->
302
    <dependency>
303
      <groupId>mysql</groupId>
304
      <artifactId>mysql-connector-java</artifactId>
305
    </dependency>
306
    <dependency>
307 423460e5 Andreas Müller
      <groupId>org.postgresql</groupId>
308 397763df Andreas Kohlbecker
      <artifactId>postgresql</artifactId>
309
    </dependency>
310
    <dependency>
311 423460e5 Andreas Müller
      <groupId>org.hsqldb</groupId>
312 397763df Andreas Kohlbecker
      <artifactId>hsqldb</artifactId>
313
    </dependency>
314
    <!-- SQL Server and Sybase -->
315
    <dependency>
316
      <groupId>net.sourceforge.jtds</groupId>
317
      <artifactId>jtds</artifactId>
318
    </dependency>
319 70cb6333 Andreas Müller
    <dependency>
320 397763df Andreas Kohlbecker
      <groupId>com.microsoft.sqlserver</groupId>
321
      <artifactId>jdbc4</artifactId>
322
    </dependency>
323 70cb6333 Andreas Müller
324 397763df Andreas Kohlbecker
    <dependency>
325
    <groupId>com.h2database</groupId>
326
    <artifactId>h2</artifactId>
327
    </dependency>
328
329 62727fb6 Andreas Kohlbecker
    <!--  SQL Debugging  -->
330
    <dependency>
331
        <groupId>p6spy</groupId>
332
        <artifactId>p6spy</artifactId>
333
    </dependency>
334 1eafe2db Andreas Müller
  
335
	<!-- Profiling -->
336
	<dependency>
337
		<groupId>com.yourkit</groupId>
338
		<artifactId>yjp-controller-api-redist</artifactId>
339
		<scope>test</scope>
340
	</dependency>
341 5d8c2bce Andreas Kohlbecker
  </dependencies>
342 1eafe2db Andreas Müller
  
343 5d8c2bce Andreas Kohlbecker
</project>