Project

General

Profile

Download (9.06 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 b09da64b jenkins
    <version>4.15.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 3a2a1682 Andreas Kohlbecker
15 5d8c2bce Andreas Kohlbecker
  <build>
16
    <plugins>
17
      <plugin>
18
        <groupId>org.codehaus.mojo</groupId>
19
        <artifactId>hibernate3-maven-plugin</artifactId>
20 27bb7378 Andreas Müller
        <version>3.0</version>
21 5d8c2bce Andreas Kohlbecker
        <configuration>
22
          <components>
23
            <component>
24
              <name>hbm2ddl</name>
25 3dd6c00e Andreas Müller
              <implementation>annotationconfigurationX</implementation>
26 5d8c2bce Andreas Kohlbecker
            </component>
27
          </components>
28
          <componentProperties>
29
            <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
30
            <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile>
31
            <outputfilename>001_cdm.ddl</outputfilename>
32
            <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile>
33
          </componentProperties>
34
        </configuration>
35
        <dependencies>
36
          <dependency>
37 9d99878c Andreas Müller
            <groupId>eu.etaxonomy</groupId>
38
            <artifactId>cdmlib-db</artifactId>
39
            <version>${project.version}</version>
40 5d8c2bce Andreas Kohlbecker
          </dependency>
41
          <dependency>
42
            <groupId>org.hibernate</groupId>
43
            <artifactId>hibernate-annotations</artifactId>
44 27bb7378 Andreas Müller
            <version>3.5.6-FINAL</version>
45 5d8c2bce Andreas Kohlbecker
          </dependency>
46
        </dependencies>
47
      </plugin>
48
      <plugin>
49
        <artifactId>maven-antrun-plugin</artifactId>
50
        <configuration>
51
          <tasks>
52
            <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask">
53
              <classpath refid="maven.plugin.classpath" />
54
            </taskdef>
55
            <mkdir dir="target/generated-sources/hibernate3" />
56 397763df Andreas Kohlbecker
            <hibernatetool destdir=".">
57 5d8c2bce Andreas Kohlbecker
              <classpath>
58
                <path refid="maven.plugin.classpath" />
59
                <path refid="maven.compile.classpath" />
60
                <path refid="maven.test.classpath" />
61
              </classpath>
62 397763df Andreas Kohlbecker
              <jpaconfiguration persistenceunit="cdm" />
63
              <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
64 5d8c2bce Andreas Kohlbecker
              </hibernatetool>
65
          </tasks>
66
        </configuration>
67 27bb7378 Andreas Müller
         <dependencies>
68 5d8c2bce Andreas Kohlbecker
          <dependency>
69 9d99878c Andreas Müller
            <groupId>eu.etaxonomy</groupId>
70
            <artifactId>cdmlib-db</artifactId>
71
            <version>${project.version}</version>
72 5d8c2bce Andreas Kohlbecker
          </dependency>
73
          <dependency>
74
            <groupId>org.hibernate</groupId>
75
            <artifactId>hibernate-envers</artifactId>
76 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
77 5d8c2bce Andreas Kohlbecker
          </dependency>
78
          <dependency>
79
            <groupId>org.hibernate</groupId>
80
            <artifactId>hibernate-entitymanager</artifactId>
81 66fc352a Andreas Müller
            <version>${hibernate.version}</version>
82 5d8c2bce Andreas Kohlbecker
          </dependency>
83
          <dependency>
84 66fc352a Andreas Müller
          	<!-- is this still needed ?? -->
85 5d8c2bce Andreas Kohlbecker
            <groupId>org.hibernate</groupId>
86
            <artifactId>hibernate-tools</artifactId>
87 66fc352a Andreas Müller
            <version>3.2.4.GA</version>
88 5d8c2bce Andreas Kohlbecker
          </dependency>
89
          <dependency>
90
            <groupId>org.slf4j</groupId>
91
            <artifactId>slf4j-log4j12</artifactId>
92 27bb7378 Andreas Müller
            <version>${slf4j.version}</version>
93 5d8c2bce Andreas Kohlbecker
          </dependency>
94
          <dependency>
95
            <groupId>commons-logging</groupId>
96
            <artifactId>commons-logging</artifactId>
97 73e76701 Andreas Müller
              <version>${commons-logging.version}</version>
98 5d8c2bce Andreas Kohlbecker
          </dependency>
99
        </dependencies>
100
      </plugin>
101
      <plugin>
102
        <groupId>org.apache.maven.plugins</groupId>
103
        <artifactId>maven-jar-plugin</artifactId>
104 cc2ec4e9 Andreas Kohlbecker
        <version>2.3.2</version>
105 5d8c2bce Andreas Kohlbecker
        <executions>
106
          <execution>
107
            <goals>
108
              <goal>test-jar</goal>
109
            </goals>
110
          </execution>
111
        </executions>
112
      </plugin>
113
    </plugins>
114
  </build>
115
  <dependencies>
116 a13c5f66 Andreas Müller
     <dependency>
117 58136b31 Andreas Müller
       <groupId>org.hibernate.javax.persistence</groupId>
118
       <artifactId>hibernate-jpa-2.1-api</artifactId>
119
     </dependency>
120 397763df Andreas Kohlbecker
     <dependency>
121
      <groupId>eu.etaxonomy</groupId>
122
      <artifactId>cdmlib-model</artifactId>
123
    </dependency>
124
    <dependency>
125
        <groupId>org.slf4j</groupId>
126 5d8c2bce Andreas Kohlbecker
        <artifactId>slf4j-log4j12</artifactId>
127
    </dependency>
128 397763df Andreas Kohlbecker
    <dependency>
129 5b633055 Andreas Müller
        <groupId>org.javassist</groupId>
130 5d8c2bce Andreas Kohlbecker
        <artifactId>javassist</artifactId>
131 397763df Andreas Kohlbecker
    </dependency>
132
    <dependency>
133
      <groupId>javax.annotation</groupId>
134
      <artifactId>jsr250-api</artifactId>
135
    </dependency>
136 5d8c2bce Andreas Kohlbecker
    <dependency>
137
      <groupId>org.aspectj</groupId>
138
      <artifactId>aspectjweaver</artifactId>
139
    </dependency>
140 397763df Andreas Kohlbecker
    <dependency>
141 a13c5f66 Andreas Müller
      <groupId>org.hibernate.common</groupId>
142 397763df Andreas Kohlbecker
      <artifactId>hibernate-commons-annotations</artifactId>
143
    </dependency>
144
    <dependency>
145
      <groupId>org.hibernate</groupId>
146
      <artifactId>hibernate-core</artifactId>
147
    </dependency>
148
    <dependency>
149
      <groupId>org.hibernate</groupId>
150 c55a96d8 Andreas Müller
      <artifactId>hibernate-search-orm</artifactId>
151 397763df Andreas Kohlbecker
    </dependency>
152
    <dependency>
153
      <groupId>org.hibernate</groupId>
154 a13c5f66 Andreas Müller
      <artifactId>hibernate-envers</artifactId>
155 397763df Andreas Kohlbecker
    </dependency>
156
    <dependency>
157
      <groupId>org.hibernate</groupId>
158
      <artifactId>hibernate-c3p0</artifactId>
159 89edc8d2 Andreas Müller
      <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
160
      <exclusions>
161
        <exclusion>
162
            <groupId>com.mchange</groupId>
163
            <artifactId>c3p0</artifactId>  
164
        </exclusion>
165
      </exclusions>
166 397763df Andreas Kohlbecker
    </dependency>
167 f5e0f43a Andreas Müller
    <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing  -->
168 397763df Andreas Kohlbecker
    <dependency>
169 f5e0f43a Andreas Müller
      <groupId>javax.transaction</groupId>
170
      <artifactId>jta</artifactId>
171
    </dependency>  
172 397763df Andreas Kohlbecker
    <dependency>
173 eec2d79d Andreas Müller
        <groupId>org.apache.lucene</groupId>
174
        <artifactId>lucene-core</artifactId>
175 397763df Andreas Kohlbecker
    </dependency>
176
    <dependency>
177
      <groupId>org.apache.lucene</groupId>
178 eec2d79d Andreas Müller
      <artifactId>lucene-suggest</artifactId>
179 397763df Andreas Kohlbecker
    </dependency>
180 eec2d79d Andreas Müller
    <dependency>
181
        <groupId>org.apache.lucene</groupId>
182
        <artifactId>lucene-queryparser</artifactId>
183 397763df Andreas Kohlbecker
    </dependency>
184
    <dependency>
185 5d8c2bce Andreas Kohlbecker
        <groupId>commons-beanutils</groupId>
186
        <artifactId>commons-beanutils</artifactId>
187 397763df Andreas Kohlbecker
     </dependency>
188 5d8c2bce Andreas Kohlbecker
     <dependency>
189 eec2d79d Andreas Müller
        <groupId>commons-lang</groupId>
190
        <artifactId>commons-lang</artifactId>
191 5d8c2bce Andreas Kohlbecker
     </dependency>
192
     <dependency>
193 a13c5f66 Andreas Müller
	      <groupId>commons-dbcp</groupId>
194
	      <artifactId>commons-dbcp</artifactId>
195
<!-- 	      <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
196 5d8c2bce Andreas Kohlbecker
    </dependency>
197
    <dependency>
198
        <groupId>org.unitils</groupId>
199 397763df Andreas Kohlbecker
        <artifactId>unitils-core</artifactId>
200 e8eb02cd Andreas Kohlbecker
        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
201 397763df Andreas Kohlbecker
    </dependency>
202 3dd6c00e Andreas Müller
    
203 397763df Andreas Kohlbecker
    <dependency>
204 398bcf3e Andreas Müller
      <groupId>eu.etaxonomy</groupId>
205
      <artifactId>cdmlib-test</artifactId>
206 397763df Andreas Kohlbecker
      <scope>test</scope>
207
    </dependency>
208
    <dependency>
209
      <groupId>org.springframework</groupId>
210 411b2214 Andreas Müller
      <artifactId>spring-beans</artifactId>
211 5d8c2bce Andreas Kohlbecker
    </dependency>
212 66634aaa Andreas Müller
    <dependency>
213
      <groupId>org.springframework</groupId>
214 411b2214 Andreas Müller
      <artifactId>spring-expression</artifactId>
215 66634aaa Andreas Müller
    </dependency>
216 397763df Andreas Kohlbecker
    <dependency>
217
      <groupId>org.springframework</groupId>
218 411b2214 Andreas Müller
      <artifactId>spring-orm</artifactId>
219 397763df Andreas Kohlbecker
    </dependency>
220
    <dependency>
221
      <groupId>org.springframework</groupId>
222 411b2214 Andreas Müller
      <artifactId>spring-jdbc</artifactId>
223 397763df Andreas Kohlbecker
    </dependency>
224
    <dependency>
225 411b2214 Andreas Müller
        <groupId>org.springframework</groupId>
226
        <artifactId>spring-aop</artifactId>
227 5d8c2bce Andreas Kohlbecker
    </dependency>
228
    <dependency>
229
      <groupId>org.springframework</groupId>
230 411b2214 Andreas Müller
      <artifactId>spring-aspects</artifactId>
231 5d8c2bce Andreas Kohlbecker
    </dependency>
232
    <dependency>
233 397763df Andreas Kohlbecker
      <groupId>org.springframework.security</groupId>
234
      <artifactId>spring-security-core</artifactId>
235
    </dependency>
236 3dd6c00e Andreas Müller
    <!-- required by Xerces 2.11.0 -->
237
    <dependency>
238
	   <groupId>org.apache.xmlgraphics</groupId>
239
	   <artifactId>batik-ext</artifactId>
240
    </dependency>
241 70cb6333 Andreas Müller
242 397763df Andreas Kohlbecker
    <!-- ******* DATABASES DRIVER ******* -->
243 b2cdc597 Andreas Müller
      <!-- 
244
            IMPORTANT:
245
            Any driver dependency listed here must be excluded from the 
246
            cdmlib-remote depedency in cdmlib-remote-webapp
247
      -->
248 397763df Andreas Kohlbecker
    <dependency>
249 ddfeb94f Andreas Müller
        <groupId>eu.etaxonomy</groupId>
250
        <artifactId>cdmlib-db</artifactId>
251
        <version>${project.version}</version>
252 397763df Andreas Kohlbecker
    </dependency>
253 1eafe2db Andreas Müller
  
254
	<!-- Profiling -->
255 398bcf3e Andreas Müller
<!-- 	<dependency> -->
256
<!-- 		<groupId>com.yourkit</groupId> -->
257
<!-- 		<artifactId>yjp-controller-api-redist</artifactId> -->
258
<!-- 		<scope>test</scope> -->
259
<!-- 	</dependency> -->
260 5d8c2bce Andreas Kohlbecker
  </dependencies>
261 1eafe2db Andreas Müller
  
262 5d8c2bce Andreas Kohlbecker
</project>