Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-persistence / pom.xml @ 3d7c15ff

History | View | Annotate | Download (6.19 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>5.18.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

    
15
  <build>
16
    <plugins>
17
      <plugin>
18
        <groupId>org.codehaus.mojo</groupId>
19
        <artifactId>hibernate3-maven-plugin</artifactId>
20
        <version>3.0</version>
21
        <configuration>
22
          <components>
23
            <component>
24
              <name>hbm2ddl</name>
25
              <implementation>annotationconfigurationX</implementation>
26
            </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
            <groupId>eu.etaxonomy</groupId>
38
            <artifactId>cdmlib-db</artifactId>
39
            <version>${project.version}</version>
40
          </dependency>
41
          <dependency>
42
            <groupId>org.hibernate</groupId>
43
            <artifactId>hibernate-annotations</artifactId>
44
            <version>3.5.6-FINAL</version>
45
          </dependency>
46
        </dependencies>
47
      </plugin>
48
      <plugin>
49
        <groupId>org.apache.maven.plugins</groupId>
50
        <artifactId>maven-jar-plugin</artifactId>
51
        <version>2.3.2</version>
52
        <executions>
53
          <execution>
54
            <goals>
55
              <goal>test-jar</goal>
56
            </goals>
57
          </execution>
58
        </executions>
59
      </plugin>
60
    </plugins>
61
  </build>
62
  <dependencies>
63
     <dependency>
64
       <groupId>org.hibernate.javax.persistence</groupId>
65
       <artifactId>hibernate-jpa-2.1-api</artifactId>
66
     </dependency>
67
     <dependency>
68
      <groupId>eu.etaxonomy</groupId>
69
      <artifactId>cdmlib-model</artifactId>
70
    </dependency>
71
    <dependency>
72
        <groupId>org.javassist</groupId>
73
        <artifactId>javassist</artifactId>
74
    </dependency>
75
    <dependency>
76
      <groupId>org.aspectj</groupId>
77
      <artifactId>aspectjweaver</artifactId>
78
    </dependency>
79
    <dependency>
80
      <groupId>org.hibernate.common</groupId>
81
      <artifactId>hibernate-commons-annotations</artifactId>
82
    </dependency>
83
    <dependency>
84
      <groupId>org.hibernate</groupId>
85
      <artifactId>hibernate-core</artifactId>
86
    </dependency>
87
    <dependency>
88
      <groupId>org.hibernate</groupId>
89
      <artifactId>hibernate-search-orm</artifactId>
90
    </dependency>
91
    <dependency>
92
      <groupId>org.hibernate</groupId>
93
      <artifactId>hibernate-envers</artifactId>
94
    </dependency>
95
    <dependency>
96
      <groupId>org.hibernate</groupId>
97
      <artifactId>hibernate-c3p0</artifactId>
98
      <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
99
      <exclusions>
100
        <exclusion>
101
            <groupId>com.mchange</groupId>
102
            <artifactId>c3p0</artifactId>  
103
        </exclusion>
104
      </exclusions>
105
    </dependency>
106
    <dependency>
107
      <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing  -->
108
      <groupId>javax.transaction</groupId>
109
      <artifactId>jta</artifactId>
110
    </dependency>  
111
    <dependency>
112
        <groupId>org.apache.lucene</groupId>
113
        <artifactId>lucene-core</artifactId>
114
    </dependency>
115
    <dependency>
116
      <groupId>org.apache.lucene</groupId>
117
      <artifactId>lucene-suggest</artifactId>
118
    </dependency>
119
    <dependency>
120
        <groupId>org.apache.lucene</groupId>
121
        <artifactId>lucene-queryparser</artifactId>
122
    </dependency>
123
    <dependency>
124
        <groupId>commons-beanutils</groupId>
125
        <artifactId>commons-beanutils</artifactId>
126
    </dependency>
127
    <dependency>
128
        <groupId>org.unitils</groupId>
129
        <artifactId>unitils-core</artifactId>
130
        <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
131
    </dependency>
132
    
133
    <dependency>
134
      <groupId>eu.etaxonomy</groupId>
135
      <artifactId>cdmlib-test</artifactId>
136
      <scope>test</scope>
137
    </dependency>
138
    <dependency>
139
      <groupId>org.springframework</groupId>
140
      <artifactId>spring-beans</artifactId>
141
    </dependency>
142
    <dependency>
143
      <groupId>org.springframework</groupId>
144
      <artifactId>spring-expression</artifactId>
145
    </dependency>
146
    <dependency>
147
      <groupId>org.springframework</groupId>
148
      <artifactId>spring-orm</artifactId>
149
    </dependency>
150
    <dependency>
151
      <groupId>org.springframework</groupId>
152
      <artifactId>spring-jdbc</artifactId>
153
    </dependency>
154
    <dependency>
155
        <groupId>org.springframework</groupId>
156
        <artifactId>spring-aop</artifactId>
157
    </dependency>
158
    <dependency>
159
      <groupId>org.springframework</groupId>
160
      <artifactId>spring-aspects</artifactId>
161
    </dependency>
162
    <dependency>
163
      <groupId>org.springframework.security</groupId>
164
      <artifactId>spring-security-core</artifactId>
165
    </dependency>
166

    
167
    <!-- ******* DATABASES DRIVER ******* -->
168
      <!-- 
169
            IMPORTANT:
170
            Any driver dependency listed here must be excluded from the 
171
            cdmlib-remote depedency in cdmlib-remote-webapp
172
      -->
173
    <dependency>
174
        <groupId>eu.etaxonomy</groupId>
175
        <artifactId>cdmlib-db</artifactId>
176
        <version>${project.version}</version>
177
    </dependency>
178
  
179
        <!-- Profiling -->
180
<!--         <dependency> -->
181
<!--                 <groupId>com.yourkit</groupId> -->
182
<!--                 <artifactId>yjp-controller-api-redist</artifactId> -->
183
<!--                 <scope>test</scope> -->
184
<!--         </dependency> -->
185
  </dependencies>
186
  
187
</project>
Add picture from clipboard (Maximum size: 40 MB)