cdmlib / cdmlib-test / pom.xml @ eff22055
History | View | Annotate | Download (8.01 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.15.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 |
<scm>
|
15 |
<connection>scm:git:https://dev.e-taxonomy.eu/git/cdmlib-test.git</connection> |
16 |
<developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdmlib-test.git</developerConnection> |
17 |
<url>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tree/HEAD:/cdmlib-test/</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>junit</groupId> |
122 |
<artifactId>junit</artifactId> |
123 |
<scope>compile</scope> |
124 |
</dependency>
|
125 |
<dependency>
|
126 |
<groupId>org.unitils</groupId> |
127 |
<artifactId>unitils-core</artifactId> |
128 |
<scope>compile</scope> |
129 |
</dependency>
|
130 |
<dependency>
|
131 |
<groupId>org.unitils</groupId> |
132 |
<artifactId>unitils-database</artifactId> |
133 |
<scope>compile</scope> |
134 |
</dependency>
|
135 |
<dependency>
|
136 |
<groupId>org.unitils</groupId> |
137 |
<artifactId>unitils-dbmaintainer</artifactId> |
138 |
<scope>compile</scope> |
139 |
</dependency>
|
140 |
<dependency>
|
141 |
<groupId>org.unitils</groupId> |
142 |
<artifactId>unitils-dbunit</artifactId> |
143 |
<scope>compile</scope> |
144 |
</dependency>
|
145 |
<dependency>
|
146 |
<groupId>org.unitils</groupId> |
147 |
<artifactId>unitils-easymock</artifactId> |
148 |
<scope>compile</scope> |
149 |
</dependency>
|
150 |
<dependency>
|
151 |
<groupId>org.unitils</groupId> |
152 |
<artifactId>unitils-mock</artifactId> |
153 |
<scope>compile</scope> |
154 |
</dependency>
|
155 |
<dependency>
|
156 |
<groupId>org.unitils</groupId> |
157 |
<artifactId>unitils-inject</artifactId> |
158 |
<scope>compile</scope> |
159 |
</dependency>
|
160 |
<dependency>
|
161 |
<groupId>org.unitils</groupId> |
162 |
<artifactId>unitils-orm</artifactId> |
163 |
<exclusions>
|
164 |
<exclusion>
|
165 |
<groupId>javax.persistence</groupId> |
166 |
<artifactId>persistence-api</artifactId> |
167 |
</exclusion>
|
168 |
</exclusions>
|
169 |
</dependency>
|
170 |
<dependency>
|
171 |
<groupId>org.unitils</groupId> |
172 |
<artifactId>unitils-spring</artifactId> |
173 |
<scope>compile</scope> |
174 |
</dependency>
|
175 |
<!-- <dependency> -->
|
176 |
<!-- <groupId>org.dbunit</groupId> -->
|
177 |
<!-- <artifactId>dbunit</artifactId> -->
|
178 |
<!-- <scope>compile</scope> -->
|
179 |
<!-- </dependency> -->
|
180 |
<dependency>
|
181 |
<groupId>xmlunit</groupId> |
182 |
<artifactId>xmlunit</artifactId> |
183 |
<scope>compile</scope> |
184 |
</dependency>
|
185 |
<dependency>
|
186 |
<groupId>com.carrotsearch</groupId> |
187 |
<artifactId>junit-benchmarks</artifactId> |
188 |
<scope>compile</scope> |
189 |
</dependency>
|
190 |
|
191 |
<!-- ******* DATABASES DRIVER ******* -->
|
192 |
<!-- not really in use anymore -->
|
193 |
<dependency>
|
194 |
<groupId>org.hsqldb</groupId> |
195 |
<artifactId>hsqldb</artifactId> |
196 |
<scope>compile</scope> |
197 |
</dependency>
|
198 |
|
199 |
<dependency>
|
200 |
<groupId>com.h2database</groupId> |
201 |
<artifactId>h2</artifactId> |
202 |
<scope>compile</scope> |
203 |
</dependency>
|
204 |
|
205 |
<!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
|
206 |
<!-- <dependency> -->
|
207 |
<!-- <groupId>eu.etaxonomy</groupId> -->
|
208 |
<!-- <artifactId>cdmlib-db</artifactId> -->
|
209 |
<!-- <version>${project.version}</version> -->
|
210 |
<!-- <scope>compile</scope> -->
|
211 |
<!-- </dependency> -->
|
212 |
|
213 |
|
214 |
<!-- Profiling -->
|
215 |
<dependency>
|
216 |
<groupId>com.yourkit</groupId> |
217 |
<artifactId>yjp-controller-api-redist</artifactId> |
218 |
<scope>compile</scope> |
219 |
</dependency>
|
220 |
|
221 |
<!-- required by Xerces 2.11.0 -->
|
222 |
<dependency>
|
223 |
<groupId>org.apache.xmlgraphics</groupId> |
224 |
<artifactId>batik-ext</artifactId> |
225 |
</dependency>
|
226 |
|
227 |
<dependency>
|
228 |
<groupId>org.hibernate</groupId> |
229 |
<artifactId>hibernate-core</artifactId> |
230 |
</dependency>
|
231 |
<dependency>
|
232 |
<groupId>eu.etaxonomy</groupId> |
233 |
<artifactId>cdmlib-model</artifactId> |
234 |
</dependency>
|
235 |
</dependencies>
|
236 |
|
237 |
</project>
|