Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-persistence / pom.xml @ 89edc8d2

History | View | Annotate | Download (9.34 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-SNAPSHOT</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>org.hsqldb</groupId>
42
            <artifactId>hsqldb</artifactId>
43
            <version>${hsqldb.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>org.hsqldb</groupId>
74
            <artifactId>hsqldb</artifactId>
75
            <version>${hsqldb.version}</version>
76
          </dependency>
77
          <dependency>
78
                        <groupId>mysql</groupId>
79
                        <artifactId>mysql-connector-java</artifactId>
80
                        <version>${mysql.version}</version>
81
          </dependency>
82
          <dependency>
83
            <groupId>org.hibernate</groupId>
84
            <artifactId>hibernate-envers</artifactId>
85
            <version>${hibernate.version}</version>
86
          </dependency>
87
          <dependency>
88
            <groupId>org.hibernate</groupId>
89
            <artifactId>hibernate-entitymanager</artifactId>
90
            <version>${hibernate.version}</version>
91
          </dependency>
92
          <dependency>
93
                  <!-- is this still needed ?? -->
94
            <groupId>org.hibernate</groupId>
95
            <artifactId>hibernate-tools</artifactId>
96
            <version>3.2.4.GA</version>
97
          </dependency>
98
          <dependency>
99
            <groupId>org.slf4j</groupId>
100
            <artifactId>slf4j-log4j12</artifactId>
101
            <version>${slf4j.version}</version>
102
          </dependency>
103
          <dependency>
104
            <groupId>commons-logging</groupId>
105
            <artifactId>commons-logging</artifactId>
106
              <version>${commons-logging.version}</version>
107
          </dependency>
108
        </dependencies>
109
      </plugin>
110
      <plugin>
111
        <groupId>org.apache.maven.plugins</groupId>
112
        <artifactId>maven-jar-plugin</artifactId>
113
        <version>2.3.2</version>
114
        <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
     <dependency>
126
       <groupId>org.hibernate.javax.persistence</groupId>
127
       <artifactId>hibernate-jpa-2.1-api</artifactId>
128
     </dependency>
129
     <dependency>
130
      <groupId>eu.etaxonomy</groupId>
131
      <artifactId>cdmlib-model</artifactId>
132
    </dependency>
133
    <dependency>
134
        <groupId>org.slf4j</groupId>
135
        <artifactId>slf4j-log4j12</artifactId>
136
    </dependency>
137
    <dependency>
138
        <groupId>org.javassist</groupId>
139
        <artifactId>javassist</artifactId>
140
    </dependency>
141
    <dependency>
142
      <groupId>javax.annotation</groupId>
143
      <artifactId>jsr250-api</artifactId>
144
    </dependency>
145
    <dependency>
146
      <groupId>org.aspectj</groupId>
147
      <artifactId>aspectjweaver</artifactId>
148
    </dependency>
149
    <dependency>
150
      <groupId>org.hibernate.common</groupId>
151
      <artifactId>hibernate-commons-annotations</artifactId>
152
    </dependency>
153
    <dependency>
154
      <groupId>org.hibernate</groupId>
155
      <artifactId>hibernate-core</artifactId>
156
    </dependency>
157
    <dependency>
158
      <groupId>org.hibernate</groupId>
159
      <artifactId>hibernate-search-orm</artifactId>
160
    </dependency>
161
    <dependency>
162
      <groupId>org.hibernate</groupId>
163
      <artifactId>hibernate-envers</artifactId>
164
    </dependency>
165
    <dependency>
166
      <groupId>org.hibernate</groupId>
167
      <artifactId>hibernate-c3p0</artifactId>
168
      <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
169
      <exclusions>
170
        <exclusion>
171
            <groupId>com.mchange</groupId>
172
            <artifactId>c3p0</artifactId>  
173
        </exclusion>
174
      </exclusions>
175
    </dependency>
176
    <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing  -->
177
    <dependency>
178
      <groupId>javax.transaction</groupId>
179
      <artifactId>jta</artifactId>
180
    </dependency>  
181
    <dependency>
182
        <groupId>org.apache.lucene</groupId>
183
        <artifactId>lucene-core</artifactId>
184
    </dependency>
185
    <dependency>
186
      <groupId>org.apache.lucene</groupId>
187
      <artifactId>lucene-suggest</artifactId>
188
    </dependency>
189
    <dependency>
190
        <groupId>org.apache.lucene</groupId>
191
        <artifactId>lucene-queryparser</artifactId>
192
    </dependency>
193
    <dependency>
194
        <groupId>commons-beanutils</groupId>
195
        <artifactId>commons-beanutils</artifactId>
196
     </dependency>
197
     <dependency>
198
        <groupId>commons-lang</groupId>
199
        <artifactId>commons-lang</artifactId>
200
     </dependency>
201
     <dependency>
202
              <groupId>commons-dbcp</groupId>
203
              <artifactId>commons-dbcp</artifactId>
204
<!--               <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
205
    </dependency>
206
    <dependency>
207
        <groupId>org.unitils</groupId>
208
        <artifactId>unitils-core</artifactId>
209
        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
210
    </dependency>
211
    
212
    <dependency>
213
      <groupId>eu.etaxonomy</groupId>
214
      <artifactId>cdmlib-test</artifactId>
215
      <scope>test</scope>
216
    </dependency>
217
    <dependency>
218
      <groupId>org.springframework</groupId>
219
      <artifactId>spring-beans</artifactId>
220
    </dependency>
221
    <dependency>
222
      <groupId>org.springframework</groupId>
223
      <artifactId>spring-expression</artifactId>
224
    </dependency>
225
    <dependency>
226
      <groupId>org.springframework</groupId>
227
      <artifactId>spring-orm</artifactId>
228
    </dependency>
229
    <dependency>
230
      <groupId>org.springframework</groupId>
231
      <artifactId>spring-jdbc</artifactId>
232
    </dependency>
233
    <dependency>
234
        <groupId>org.springframework</groupId>
235
        <artifactId>spring-aop</artifactId>
236
    </dependency>
237
    <dependency>
238
      <groupId>org.springframework</groupId>
239
      <artifactId>spring-aspects</artifactId>
240
    </dependency>
241
    <dependency>
242
      <groupId>org.springframework.security</groupId>
243
      <artifactId>spring-security-core</artifactId>
244
    </dependency>
245
    <!-- required by Xerces 2.11.0 -->
246
    <dependency>
247
           <groupId>org.apache.xmlgraphics</groupId>
248
           <artifactId>batik-ext</artifactId>
249
    </dependency>
250

    
251
    <!-- ******* DATABASES DRIVER ******* -->
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)