Project

General

Profile

Download (7.72 KB) Statistics
| Branch: | Tag: | Revision:
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.1.0-SNAPSHOT</version>
7
    <relativePath>../pom.xml</relativePath>
8
  </parent>
9

    
10
  <modelVersion>4.0.0</modelVersion>
11
  <artifactId>cdmlib-test</artifactId>
12
  <name>CDM Integration Tests</name>
13
  <description>EDIT CDM library integration test layer. Some base classes and resources for CDM Library integration testing</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
        <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
            <hibernatetool destdir=".">
57
              <classpath>
58
                <path refid="maven.plugin.classpath" />
59
                <path refid="maven.compile.classpath" />
60
                <path refid="maven.test.classpath" />
61
              </classpath>
62
              <jpaconfiguration persistenceunit="cdm" />
63
              <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" />
64
              </hibernatetool>
65
          </tasks>
66
        </configuration>
67
         <dependencies>
68
          <dependency>
69
            <groupId>eu.etaxonomy</groupId>
70
            <artifactId>cdmlib-db</artifactId>
71
            <version>${project.version}</version>
72
          </dependency>
73
          <dependency>
74
            <groupId>org.hibernate</groupId>
75
            <artifactId>hibernate-envers</artifactId>
76
            <version>${hibernate.version}</version>
77
          </dependency>
78
          <dependency>
79
            <groupId>org.hibernate</groupId>
80
            <artifactId>hibernate-entitymanager</artifactId>
81
            <version>${hibernate.version}</version>
82
          </dependency>
83
          <dependency>
84
          	<!-- is this still needed ?? -->
85
            <groupId>org.hibernate</groupId>
86
            <artifactId>hibernate-tools</artifactId>
87
            <version>3.2.4.GA</version>
88
          </dependency>
89
          <dependency>
90
            <groupId>org.slf4j</groupId>
91
            <artifactId>slf4j-log4j12</artifactId>
92
            <version>${slf4j.version}</version>
93
          </dependency>
94
          <dependency>
95
            <groupId>commons-logging</groupId>
96
            <artifactId>commons-logging</artifactId>
97
              <version>${commons-logging.version}</version>
98
          </dependency>
99
        </dependencies>
100
      </plugin>
101
      <plugin>
102
        <groupId>org.apache.maven.plugins</groupId>
103
        <artifactId>maven-jar-plugin</artifactId>
104
        <version>2.3.2</version>
105
        <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
    <dependency>
117
      <groupId>junit</groupId>
118
      <artifactId>junit</artifactId>
119
      <scope>compile</scope>
120
    </dependency>
121
    <dependency>
122
        <groupId>org.unitils</groupId>
123
        <artifactId>unitils-core</artifactId>
124
        <scope>compile</scope>
125
    </dependency>
126
    <dependency>
127
      <groupId>org.unitils</groupId>
128
      <artifactId>unitils-database</artifactId>
129
      <scope>compile</scope>
130
    </dependency>
131
    <dependency>
132
      <groupId>org.unitils</groupId>
133
      <artifactId>unitils-dbmaintainer</artifactId>
134
      <scope>compile</scope>
135
    </dependency>
136
    <dependency>
137
      <groupId>org.unitils</groupId>
138
      <artifactId>unitils-dbunit</artifactId>
139
      <scope>compile</scope>
140
    </dependency>
141
     <dependency>
142
      <groupId>org.unitils</groupId>
143
      <artifactId>unitils-easymock</artifactId>
144
      <scope>compile</scope>
145
    </dependency>
146
    <dependency>
147
      <groupId>org.unitils</groupId>
148
      <artifactId>unitils-mock</artifactId>
149
      <scope>compile</scope>
150
    </dependency>
151
    <dependency>
152
      <groupId>org.unitils</groupId>
153
      <artifactId>unitils-inject</artifactId>
154
      <scope>compile</scope>
155
    </dependency>
156
     <dependency>
157
      <groupId>org.unitils</groupId>
158
      <artifactId>unitils-orm</artifactId>
159
      <exclusions>
160
      	<exclusion>
161
      		<groupId>javax.persistence</groupId>
162
	      	<artifactId>persistence-api</artifactId>
163
      	</exclusion>
164
      </exclusions>
165
    </dependency>
166
     <dependency>
167
      <groupId>org.unitils</groupId>
168
      <artifactId>unitils-spring</artifactId>
169
      <scope>compile</scope>
170
    </dependency>
171
<!--     <dependency> -->
172
<!--       <groupId>org.dbunit</groupId> -->
173
<!--       <artifactId>dbunit</artifactId> -->
174
<!--       <scope>compile</scope> -->
175
<!--     </dependency> -->
176
    <dependency>
177
		<groupId>xmlunit</groupId>
178
		<artifactId>xmlunit</artifactId>
179
        <scope>compile</scope>
180
    </dependency>
181
    <dependency>
182
      <groupId>com.carrotsearch</groupId>
183
      <artifactId>junit-benchmarks</artifactId>
184
      <scope>compile</scope>
185
    </dependency>
186

    
187
    <!-- ******* DATABASES DRIVER ******* -->
188
    <!-- not really in use anymore -->
189
    <dependency>
190
      <groupId>org.hsqldb</groupId>
191
      <artifactId>hsqldb</artifactId>
192
      <scope>compile</scope>
193
    </dependency>
194

    
195
    <dependency>
196
      <groupId>com.h2database</groupId>
197
      <artifactId>h2</artifactId>
198
      <scope>compile</scope>
199
    </dependency>
200
    
201
    <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
202
<!--     <dependency> -->
203
<!--       <groupId>eu.etaxonomy</groupId> -->
204
<!--       <artifactId>cdmlib-db</artifactId> -->
205
<!--       <version>${project.version}</version> -->
206
<!--       <scope>compile</scope> -->
207
<!--     </dependency> -->
208

    
209
  
210
	<!-- Profiling -->
211
	<dependency>
212
		<groupId>com.yourkit</groupId>
213
		<artifactId>yjp-controller-api-redist</artifactId>
214
        <scope>compile</scope>
215
	</dependency>
216

    
217
    <!-- required by Xerces 2.11.0 -->
218
    <dependency>
219
      <groupId>org.apache.xmlgraphics</groupId>
220
      <artifactId>batik-ext</artifactId>
221
    </dependency>  
222

    
223
    <dependency>
224
      <groupId>org.hibernate</groupId>
225
      <artifactId>hibernate-core</artifactId>
226
    </dependency>
227
    <dependency>
228
      <groupId>eu.etaxonomy</groupId>
229
      <artifactId>cdmlib-model</artifactId>
230
    </dependency>
231
  </dependencies>
232
  
233
</project>
(4-4/4)