Project

General

Profile

Download (9.36 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 d735544d jenkins
		<version>4.3.0</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 3dd6c00e Andreas Müller
              <implementation>annotationconfigurationX</implementation>
30 5d8c2bce Andreas Kohlbecker
            </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 40d434ac Andreas Müller
            <groupId>eu.etaxonomy</groupId>
42
            <artifactId>cdmlib-db</artifactId>
43
            <version>${project.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 40d434ac Andreas Müller
            <groupId>eu.etaxonomy</groupId>
74
            <artifactId>cdmlib-db</artifactId>
75
            <version>${project.version}</version>
76 5d8c2bce Andreas Kohlbecker
          </dependency>
77
          <dependency>
78
            <groupId>org.hibernate</groupId>
79
            <artifactId>hibernate-envers</artifactId>
80 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
81 5d8c2bce Andreas Kohlbecker
          </dependency>
82
          <dependency>
83
            <groupId>org.hibernate</groupId>
84
            <artifactId>hibernate-entitymanager</artifactId>
85 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
86 5d8c2bce Andreas Kohlbecker
          </dependency>
87
          <dependency>
88 66fc352a Andreas Müller
          	<!-- is this still needed ?? -->
89 5d8c2bce Andreas Kohlbecker
            <groupId>org.hibernate</groupId>
90
            <artifactId>hibernate-tools</artifactId>
91 66fc352a Andreas Müller
            <version>3.2.4.GA</version>
92 5d8c2bce Andreas Kohlbecker
          </dependency>
93
          <dependency>
94
            <groupId>org.slf4j</groupId>
95
            <artifactId>slf4j-log4j12</artifactId>
96 27bb7378 Andreas Müller
            <version>${slf4j.version}</version>
97 5d8c2bce Andreas Kohlbecker
          </dependency>
98
          <dependency>
99
            <groupId>commons-logging</groupId>
100
            <artifactId>commons-logging</artifactId>
101 73e76701 Andreas Müller
              <version>${commons-logging.version}</version>
102 5d8c2bce Andreas Kohlbecker
          </dependency>
103
        </dependencies>
104
      </plugin>
105
      <plugin>
106
        <groupId>org.apache.maven.plugins</groupId>
107
        <artifactId>maven-jar-plugin</artifactId>
108 cc2ec4e9 Andreas Kohlbecker
        <version>2.3.2</version>
109 5d8c2bce Andreas Kohlbecker
        <executions>
110
          <execution>
111
            <goals>
112
              <goal>test-jar</goal>
113
            </goals>
114
          </execution>
115
        </executions>
116
      </plugin>
117
    </plugins>
118
  </build>
119
  <dependencies>
120 a13c5f66 Andreas Müller
     <dependency>
121 58136b31 Andreas Müller
       <groupId>org.hibernate.javax.persistence</groupId>
122
       <artifactId>hibernate-jpa-2.1-api</artifactId>
123
     </dependency>
124 397763df Andreas Kohlbecker
     <dependency>
125
      <groupId>eu.etaxonomy</groupId>
126
      <artifactId>cdmlib-model</artifactId>
127
    </dependency>
128
    <dependency>
129
        <groupId>org.slf4j</groupId>
130 5d8c2bce Andreas Kohlbecker
        <artifactId>slf4j-log4j12</artifactId>
131
    </dependency>
132 397763df Andreas Kohlbecker
    <dependency>
133 5b633055 Andreas Müller
        <groupId>org.javassist</groupId>
134 5d8c2bce Andreas Kohlbecker
        <artifactId>javassist</artifactId>
135 397763df Andreas Kohlbecker
    </dependency>
136
    <dependency>
137
      <groupId>javax.annotation</groupId>
138
      <artifactId>jsr250-api</artifactId>
139
    </dependency>
140 5d8c2bce Andreas Kohlbecker
    <dependency>
141
      <groupId>org.aspectj</groupId>
142
      <artifactId>aspectjweaver</artifactId>
143
    </dependency>
144 397763df Andreas Kohlbecker
    <dependency>
145 a13c5f66 Andreas Müller
      <groupId>org.hibernate.common</groupId>
146 397763df Andreas Kohlbecker
      <artifactId>hibernate-commons-annotations</artifactId>
147
    </dependency>
148
    <dependency>
149
      <groupId>org.hibernate</groupId>
150
      <artifactId>hibernate-core</artifactId>
151
    </dependency>
152
    <dependency>
153
      <groupId>org.hibernate</groupId>
154 c55a96d8 Andreas Müller
      <artifactId>hibernate-search-orm</artifactId>
155 397763df Andreas Kohlbecker
    </dependency>
156
    <dependency>
157
      <groupId>org.hibernate</groupId>
158 a13c5f66 Andreas Müller
      <artifactId>hibernate-envers</artifactId>
159 397763df Andreas Kohlbecker
    </dependency>
160
    <dependency>
161
      <groupId>org.hibernate</groupId>
162
      <artifactId>hibernate-c3p0</artifactId>
163 b69a714e Andreas Müller
      <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
164
      <exclusions>
165
        <exclusion>
166
            <groupId>com.mchange</groupId>
167
            <artifactId>c3p0</artifactId>  
168
        </exclusion>
169
      </exclusions>
170 397763df Andreas Kohlbecker
    </dependency>
171 f5e0f43a Andreas Müller
    <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing  -->
172 397763df Andreas Kohlbecker
    <dependency>
173 f5e0f43a Andreas Müller
      <groupId>javax.transaction</groupId>
174
      <artifactId>jta</artifactId>
175
    </dependency>  
176 397763df Andreas Kohlbecker
    <dependency>
177 eec2d79d Andreas Müller
        <groupId>org.apache.lucene</groupId>
178
        <artifactId>lucene-core</artifactId>
179 397763df Andreas Kohlbecker
    </dependency>
180
    <dependency>
181
      <groupId>org.apache.lucene</groupId>
182 eec2d79d Andreas Müller
      <artifactId>lucene-suggest</artifactId>
183 397763df Andreas Kohlbecker
    </dependency>
184 eec2d79d Andreas Müller
    <dependency>
185
        <groupId>org.apache.lucene</groupId>
186
        <artifactId>lucene-queryparser</artifactId>
187 397763df Andreas Kohlbecker
    </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 eec2d79d Andreas Müller
        <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 3dd6c00e Andreas Müller
    
207 397763df Andreas Kohlbecker
    <dependency>
208 398bcf3e Andreas Müller
      <groupId>eu.etaxonomy</groupId>
209
      <artifactId>cdmlib-test</artifactId>
210 397763df Andreas Kohlbecker
      <scope>test</scope>
211
    </dependency>
212
    <dependency>
213
      <groupId>org.springframework</groupId>
214 411b2214 Andreas Müller
      <artifactId>spring-beans</artifactId>
215 5d8c2bce Andreas Kohlbecker
    </dependency>
216 66634aaa Andreas Müller
    <dependency>
217
      <groupId>org.springframework</groupId>
218 411b2214 Andreas Müller
      <artifactId>spring-expression</artifactId>
219 66634aaa Andreas Müller
    </dependency>
220 397763df Andreas Kohlbecker
    <dependency>
221
      <groupId>org.springframework</groupId>
222 411b2214 Andreas Müller
      <artifactId>spring-orm</artifactId>
223 397763df Andreas Kohlbecker
    </dependency>
224
    <dependency>
225
      <groupId>org.springframework</groupId>
226 411b2214 Andreas Müller
      <artifactId>spring-jdbc</artifactId>
227 397763df Andreas Kohlbecker
    </dependency>
228
    <dependency>
229 411b2214 Andreas Müller
        <groupId>org.springframework</groupId>
230
        <artifactId>spring-aop</artifactId>
231 5d8c2bce Andreas Kohlbecker
    </dependency>
232
    <dependency>
233
      <groupId>org.springframework</groupId>
234 411b2214 Andreas Müller
      <artifactId>spring-aspects</artifactId>
235 5d8c2bce Andreas Kohlbecker
    </dependency>
236
    <dependency>
237 397763df Andreas Kohlbecker
      <groupId>org.springframework.security</groupId>
238
      <artifactId>spring-security-core</artifactId>
239
    </dependency>
240 3dd6c00e Andreas Müller
    <!-- required by Xerces 2.11.0 -->
241
    <dependency>
242
	   <groupId>org.apache.xmlgraphics</groupId>
243
	   <artifactId>batik-ext</artifactId>
244
    </dependency>
245 70cb6333 Andreas Müller
246 397763df Andreas Kohlbecker
    <!-- ******* DATABASES DRIVER ******* -->
247 bff672e1 Andreas Müller
      <!-- 
248
            IMPORTANT:
249
            Any driver dependency listed here must be excluded from the 
250
            cdmlib-remote depedency in cdmlib-remote-webapp
251
      -->
252 397763df Andreas Kohlbecker
    <dependency>
253 2b813c8a Andreas Müller
        <groupId>eu.etaxonomy</groupId>
254
        <artifactId>cdmlib-db</artifactId>
255
        <version>${project.version}</version>
256 397763df Andreas Kohlbecker
    </dependency>
257 1eafe2db Andreas Müller
  
258
	<!-- Profiling -->
259 398bcf3e Andreas Müller
<!-- 	<dependency> -->
260
<!-- 		<groupId>com.yourkit</groupId> -->
261
<!-- 		<artifactId>yjp-controller-api-redist</artifactId> -->
262
<!-- 		<scope>test</scope> -->
263
<!-- 	</dependency> -->
264 5d8c2bce Andreas Kohlbecker
  </dependencies>
265 1eafe2db Andreas Müller
  
266 5d8c2bce Andreas Kohlbecker
</project>