Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-persistence / pom.xml @ c036b9c0

History | View | Annotate | Download (9.36 KB)

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>4.3.0</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/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
  </scm>
19
  <build>
20
    <plugins>
21
      <plugin>
22
        <groupId>org.codehaus.mojo</groupId>
23
        <artifactId>hibernate3-maven-plugin</artifactId>
24
        <version>3.0</version>
25
        <configuration>
26
          <components>
27
            <component>
28
              <name>hbm2ddl</name>
29
              <implementation>annotationconfigurationX</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>eu.etaxonomy</groupId>
42
            <artifactId>cdmlib-db</artifactId>
43
            <version>${project.version}</version>
44
          </dependency>
45
          <dependency>
46
            <groupId>org.hibernate</groupId>
47
            <artifactId>hibernate-annotations</artifactId>
48
            <version>3.5.6-FINAL</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>eu.etaxonomy</groupId>
74
            <artifactId>cdmlib-db</artifactId>
75
            <version>${project.version}</version>
76
          </dependency>
77
          <dependency>
78
            <groupId>org.hibernate</groupId>
79
            <artifactId>hibernate-envers</artifactId>
80
            <version>${hibernate.version}</version>
81
          </dependency>
82
          <dependency>
83
            <groupId>org.hibernate</groupId>
84
            <artifactId>hibernate-entitymanager</artifactId>
85
            <version>${hibernate.version}</version>
86
          </dependency>
87
          <dependency>
88
                  <!-- is this still needed ?? -->
89
            <groupId>org.hibernate</groupId>
90
            <artifactId>hibernate-tools</artifactId>
91
            <version>3.2.4.GA</version>
92
          </dependency>
93
          <dependency>
94
            <groupId>org.slf4j</groupId>
95
            <artifactId>slf4j-log4j12</artifactId>
96
            <version>${slf4j.version}</version>
97
          </dependency>
98
          <dependency>
99
            <groupId>commons-logging</groupId>
100
            <artifactId>commons-logging</artifactId>
101
              <version>${commons-logging.version}</version>
102
          </dependency>
103
        </dependencies>
104
      </plugin>
105
      <plugin>
106
        <groupId>org.apache.maven.plugins</groupId>
107
        <artifactId>maven-jar-plugin</artifactId>
108
        <version>2.3.2</version>
109
        <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
     <dependency>
121
       <groupId>org.hibernate.javax.persistence</groupId>
122
       <artifactId>hibernate-jpa-2.1-api</artifactId>
123
     </dependency>
124
     <dependency>
125
      <groupId>eu.etaxonomy</groupId>
126
      <artifactId>cdmlib-model</artifactId>
127
    </dependency>
128
    <dependency>
129
        <groupId>org.slf4j</groupId>
130
        <artifactId>slf4j-log4j12</artifactId>
131
    </dependency>
132
    <dependency>
133
        <groupId>org.javassist</groupId>
134
        <artifactId>javassist</artifactId>
135
    </dependency>
136
    <dependency>
137
      <groupId>javax.annotation</groupId>
138
      <artifactId>jsr250-api</artifactId>
139
    </dependency>
140
    <dependency>
141
      <groupId>org.aspectj</groupId>
142
      <artifactId>aspectjweaver</artifactId>
143
    </dependency>
144
    <dependency>
145
      <groupId>org.hibernate.common</groupId>
146
      <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
      <artifactId>hibernate-search-orm</artifactId>
155
    </dependency>
156
    <dependency>
157
      <groupId>org.hibernate</groupId>
158
      <artifactId>hibernate-envers</artifactId>
159
    </dependency>
160
    <dependency>
161
      <groupId>org.hibernate</groupId>
162
      <artifactId>hibernate-c3p0</artifactId>
163
      <!-- 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
    </dependency>
171
    <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing  -->
172
    <dependency>
173
      <groupId>javax.transaction</groupId>
174
      <artifactId>jta</artifactId>
175
    </dependency>  
176
    <dependency>
177
        <groupId>org.apache.lucene</groupId>
178
        <artifactId>lucene-core</artifactId>
179
    </dependency>
180
    <dependency>
181
      <groupId>org.apache.lucene</groupId>
182
      <artifactId>lucene-suggest</artifactId>
183
    </dependency>
184
    <dependency>
185
        <groupId>org.apache.lucene</groupId>
186
        <artifactId>lucene-queryparser</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
    
207
    <dependency>
208
      <groupId>eu.etaxonomy</groupId>
209
      <artifactId>cdmlib-test</artifactId>
210
      <scope>test</scope>
211
    </dependency>
212
    <dependency>
213
      <groupId>org.springframework</groupId>
214
      <artifactId>spring-beans</artifactId>
215
    </dependency>
216
    <dependency>
217
      <groupId>org.springframework</groupId>
218
      <artifactId>spring-expression</artifactId>
219
    </dependency>
220
    <dependency>
221
      <groupId>org.springframework</groupId>
222
      <artifactId>spring-orm</artifactId>
223
    </dependency>
224
    <dependency>
225
      <groupId>org.springframework</groupId>
226
      <artifactId>spring-jdbc</artifactId>
227
    </dependency>
228
    <dependency>
229
        <groupId>org.springframework</groupId>
230
        <artifactId>spring-aop</artifactId>
231
    </dependency>
232
    <dependency>
233
      <groupId>org.springframework</groupId>
234
      <artifactId>spring-aspects</artifactId>
235
    </dependency>
236
    <dependency>
237
      <groupId>org.springframework.security</groupId>
238
      <artifactId>spring-security-core</artifactId>
239
    </dependency>
240
    <!-- required by Xerces 2.11.0 -->
241
    <dependency>
242
           <groupId>org.apache.xmlgraphics</groupId>
243
           <artifactId>batik-ext</artifactId>
244
    </dependency>
245

    
246
    <!-- ******* DATABASES DRIVER ******* -->
247
      <!-- 
248
            IMPORTANT:
249
            Any driver dependency listed here must be excluded from the 
250
            cdmlib-remote depedency in cdmlib-remote-webapp
251
      -->
252
    <dependency>
253
        <groupId>eu.etaxonomy</groupId>
254
        <artifactId>cdmlib-db</artifactId>
255
        <version>${project.version}</version>
256
    </dependency>
257
  
258
        <!-- Profiling -->
259
<!--         <dependency> -->
260
<!--                 <groupId>com.yourkit</groupId> -->
261
<!--                 <artifactId>yjp-controller-api-redist</artifactId> -->
262
<!--                 <scope>test</scope> -->
263
<!--         </dependency> -->
264
  </dependencies>
265
  
266
</project>
Add picture from clipboard (Maximum size: 40 MB)