Project

General

Profile

Download (9.39 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.0.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.0.6/cdmlib-persistence</connection>
16
    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdmlib/cdmlib-parent-3.0.6/cdmlib-persistence</developerConnection>
17
    <url>http://dev.e-taxonomy.eu/trac/browser/tags/cdmlib/cdmlib-parent-3.0.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>1.8.0.4</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>1.8.0.4</version>
76
          </dependency>
77
          <dependency>
78
  		    <groupId>mysql</groupId>
79
  		    <artifactId>mysql-connector-java</artifactId>
80
            <version>5.0.5</version>
81
          </dependency>
82
          <dependency>
83
            <groupId>org.hibernate</groupId>
84
            <artifactId>hibernate-envers</artifactId>
85
            <version>3.4.0-SNAPSHOT</version>
86
          </dependency>
87
          <dependency>
88
            <groupId>org.hibernate</groupId>
89
            <artifactId>hibernate-entitymanager</artifactId>
90
            <version>3.4.0-SNAPSHOT</version>
91
          </dependency>
92
          <dependency>
93
            <groupId>org.hibernate</groupId>
94
            <artifactId>hibernate-tools</artifactId>
95
            <version>3.2.3.GA</version>
96
          </dependency>
97
          <dependency>
98
            <groupId>org.slf4j</groupId>
99
            <artifactId>slf4j-log4j12</artifactId>
100
            <version>1.5.2</version>
101
          </dependency>
102
          <dependency>
103
            <groupId>commons-logging</groupId>
104
            <artifactId>commons-logging</artifactId>
105
              <version>1.1.1</version>
106
          </dependency>
107
        </dependencies>
108
      </plugin>
109
      <plugin>
110
        <groupId>org.apache.maven.plugins</groupId>
111
        <artifactId>maven-jar-plugin</artifactId>
112
        <executions>
113
          <execution>
114
            <goals>
115
              <goal>test-jar</goal>
116
            </goals>
117
          </execution>
118
        </executions>
119
      </plugin>
120
    </plugins>
121
  </build>
122
  <dependencies>
123
  	 <dependency>
124
  		<groupId>eu.etaxonomy</groupId>
125
  		<artifactId>cdmlib-model</artifactId>
126
  	</dependency>
127
	<dependency>
128
  		<groupId>eu.etaxonomy</groupId>
129
  		<artifactId>cdmlib-commons</artifactId>
130
  	</dependency>
131
  	<dependency>
132
  	    <groupId>org.slf4j</groupId>
133
        <artifactId>slf4j-log4j12</artifactId>
134
    </dependency>
135
  	<dependency>
136
  		<groupId>javax.persistence</groupId>
137
  		<artifactId>persistence-api</artifactId>
138
  	</dependency>
139
  	<dependency>
140
        <groupId>javassist</groupId>
141
        <artifactId>javassist</artifactId>
142
  	</dependency>
143
  	<dependency>
144
  		<groupId>javax.annotation</groupId>
145
  		<artifactId>jsr250-api</artifactId>
146
  	</dependency>
147
    <dependency>
148
      <groupId>org.aspectj</groupId>
149
      <artifactId>aspectjweaver</artifactId>
150
    </dependency>
151
  	<dependency>
152
  		<groupId>org.hibernate</groupId>
153
  		<artifactId>hibernate-commons-annotations</artifactId>
154
  	</dependency>
155
  	<dependency>
156
  		<groupId>org.hibernate</groupId>
157
  		<artifactId>hibernate-annotations</artifactId>
158
  	</dependency>
159
  	<dependency>
160
  		<groupId>org.hibernate</groupId>
161
  		<artifactId>hibernate-core</artifactId>
162
  	</dependency>
163
  	<dependency>
164
  		<groupId>org.hibernate</groupId>
165
  		<artifactId>hibernate-envers</artifactId>
166
  	</dependency>
167
  	<dependency>
168
  		<groupId>org.hibernate</groupId>
169
  		<artifactId>hibernate-search</artifactId>
170
  	</dependency>
171
  	<dependency>
172
  		<groupId>org.hibernate</groupId>
173
  		<artifactId>hibernate-c3p0</artifactId>
174
  	</dependency>
175
  	<dependency>
176
  		<groupId>org.apache.lucene</groupId>
177
  		<artifactId>lucene-core</artifactId>
178
  	</dependency>
179
  	<dependency>
180
  		<groupId>org.apache.lucene</groupId>
181
  		<artifactId>lucene-spellchecker</artifactId>
182
  	</dependency>
183
  	<dependency>
184
        <groupId>commons-beanutils</groupId>
185
        <artifactId>commons-beanutils</artifactId>
186
        <version>1.7.0</version>
187
     </dependency> 
188
     <dependency>
189
		      <groupId>commons-lang</groupId>
190
		      <artifactId>commons-lang</artifactId>
191
     </dependency>
192
     <dependency>
193
      <groupId>commons-dbcp</groupId>
194
      <artifactId>commons-dbcp</artifactId>
195
      <version>1.2.2</version>
196
    </dependency>
197
  	<dependency>
198
	   <groupId>org.springmodules</groupId>
199
	   <artifactId>spring-modules-lucene</artifactId>
200
    </dependency>
201
    <dependency>
202
        <groupId>org.unitils</groupId>
203
        <artifactId>unitils</artifactId>
204
    </dependency>
205
    <dependency>
206
      <groupId>org.dbunit</groupId>
207
      <artifactId>dbunit</artifactId>
208
    </dependency>
209
  	<dependency>
210
  		<groupId>org.springframework</groupId>
211
  		<artifactId>org.springframework.beans</artifactId>
212
  	</dependency>
213
  	<dependency>
214
  		<groupId>org.springframework</groupId>
215
  		<artifactId>org.springframework.orm</artifactId>
216
  	</dependency>
217
  	<dependency>
218
  		<groupId>org.springframework</groupId>
219
  		<artifactId>org.springframework.jdbc</artifactId>
220
  	</dependency>
221
  	<dependency>
222
  		<groupId>org.springframework</groupId>
223
  		<artifactId>org.springframework.test</artifactId>
224
  	</dependency>
225
    <dependency>
226
		<groupId>org.springframework</groupId>
227
		<artifactId>org.springframework.aop</artifactId>
228
    </dependency>
229
    <dependency>
230
      <groupId>org.springframework</groupId>
231
      <artifactId>org.springframework.aspects</artifactId>
232
    </dependency>
233
    <dependency>
234
    	<groupId>org.springframework.security</groupId>
235
    	<artifactId>spring-security-core</artifactId>
236
    </dependency> 	
237
  	<!-- ******* DATABASES DRIVER ******* -->
238
  	<dependency>
239
  		<groupId>mysql</groupId>
240
  		<artifactId>mysql-connector-java</artifactId>
241
  	</dependency>
242
  	<dependency>
243
  		<groupId>postgresql</groupId>
244
  		<artifactId>postgresql</artifactId>
245
  	</dependency>
246
  	<dependency>
247
  		<groupId>hsqldb</groupId>
248
  		<artifactId>hsqldb</artifactId>
249
  	</dependency>
250
  	<!-- SQL Server and Sybase -->
251
  	<dependency>
252
  		<groupId>net.sourceforge.jtds</groupId>
253
  		<artifactId>jtds</artifactId>
254
  	</dependency>
255
  	<!--<dependency>
256
  		<groupId>com.microsoft.sqlserver</groupId>
257
  		<artifactId>jdbc4</artifactId>
258
  	</dependency>-->
259
	<dependency>
260
  		<groupId>com.microsoft.sqlserver</groupId>
261
  		<artifactId>jdbc4</artifactId>
262
  	</dependency>
263
<!-- use SQL Server 2005 driver instead (com.microsoft.sqlserver/jdbc)
264
  	<dependency>
265
  		<groupId>com.microsoft.jdbcdriver</groupId>
266
  		<artifactId>mssqlserver</artifactId>
267
  	</dependency>
268
  	<dependency>
269
  		<groupId>com.microsoft.jdbcdriver</groupId>
270
  		<artifactId>msutil</artifactId>
271
  	</dependency>
272
  	<dependency>
273
  		<groupId>com.microsoft.jdbcdriver</groupId>
274
  		<artifactId>msbase</artifactId>
275
  	</dependency>
276
-->
277
  	<dependency>
278
		<groupId>com.h2database</groupId>
279
		<artifactId>h2</artifactId>
280
  	</dependency>
281
	
282
  	
283
  </dependencies>
284
  
285
</project>
(4-4/4)