adapt version and CdmUpdater to v5.25
[cdmlib.git] / cdmlib-test / pom.xml
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.25.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 <artifactId>maven-antrun-plugin</artifactId>
19 <executions>
20 <execution>
21 <!-- Generate DDL for test -->
22 <!-- Alternatives: http://jpdigital.github.io/hibernate5-ddl-maven-plugin/usage.html,
23 https://webdev.jhuep.com/~jcs/ejava-javaee/coursedocs/content/html/jpa-entitymgrex-dbschemagen.html -->
24 <id>generate-ddl-create</id>
25 <phase>process-classes</phase>
26 <goals>
27 <goal>run</goal>
28 </goals>
29 <configuration>
30 <target>
31 <!-- copy template file -->
32 <copy file="src/main/resources/dbscripts/001-cdm.h2.sql-template" tofile="src/main/resources/dbscripts/001-cdm.h2.sql">
33 </copy>
34 <!-- run DdlCreator -->
35 <java classname="eu.etaxonomy.cdm.test.unitils.DdlCreator" fork="false" failonerror="true" classpathref="maven.compile.classpath" />
36 </target>
37 </configuration>
38 </execution>
39 </executions>
40 </plugin>
41 <plugin>
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-jar-plugin</artifactId>
44 <version>3.2.0</version>
45 <executions>
46 <execution>
47 <goals>
48 <goal>test-jar</goal>
49 </goals>
50 </execution>
51 </executions>
52 </plugin>
53 </plugins>
54 </build>
55 <dependencies>
56 <dependency>
57 <groupId>junit</groupId>
58 <artifactId>junit</artifactId>
59 <scope>compile</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.unitils</groupId>
63 <artifactId>unitils-core</artifactId>
64 <scope>compile</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.unitils</groupId>
68 <artifactId>unitils-database</artifactId>
69 <scope>compile</scope>
70 </dependency>
71 <dependency>
72 <groupId>org.unitils</groupId>
73 <artifactId>unitils-dbmaintainer</artifactId>
74 <scope>compile</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.unitils</groupId>
78 <artifactId>unitils-dbunit</artifactId>
79 <scope>compile</scope>
80 </dependency>
81 <dependency>
82 <groupId>org.unitils</groupId>
83 <artifactId>unitils-easymock</artifactId>
84 <scope>compile</scope>
85 <exclusions>
86 <exclusion>
87 <!-- we try to use only cglib-nodep (#9206) -->
88 <groupId>cglib</groupId>
89 <artifactId>cglib</artifactId>
90 </exclusion>
91 </exclusions>
92 </dependency>
93 <dependency>
94 <groupId>org.unitils</groupId>
95 <artifactId>unitils-mock</artifactId>
96 <scope>compile</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.unitils</groupId>
100 <artifactId>unitils-inject</artifactId>
101 <scope>compile</scope>
102 </dependency>
103 <dependency>
104 <groupId>org.unitils</groupId>
105 <artifactId>unitils-orm</artifactId>
106 <exclusions>
107 <exclusion>
108 <groupId>javax.persistence</groupId>
109 <artifactId>persistence-api</artifactId>
110 </exclusion>
111 </exclusions>
112 </dependency>
113 <dependency>
114 <groupId>org.unitils</groupId>
115 <artifactId>unitils-spring</artifactId>
116 <scope>compile</scope>
117 </dependency>
118 <!-- <dependency> -->
119 <!-- <groupId>org.dbunit</groupId> -->
120 <!-- <artifactId>dbunit</artifactId> -->
121 <!-- <scope>compile</scope> -->
122 <!-- </dependency> -->
123 <dependency>
124 <groupId>xmlunit</groupId>
125 <artifactId>xmlunit</artifactId>
126 <scope>compile</scope>
127 </dependency>
128 <dependency>
129 <groupId>com.carrotsearch</groupId>
130 <artifactId>junit-benchmarks</artifactId>
131 <scope>compile</scope>
132 </dependency>
133
134 <!-- ******* DATABASES DRIVER ******* -->
135
136 <dependency>
137 <groupId>com.h2database</groupId>
138 <artifactId>h2</artifactId>
139 <scope>compile</scope>
140 </dependency>
141
142 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
143 <!-- <dependency> -->
144 <!-- <groupId>eu.etaxonomy</groupId> -->
145 <!-- <artifactId>cdmlib-db</artifactId> -->
146 <!-- <version>${project.version}</version> -->
147 <!-- <scope>compile</scope> -->
148 <!-- </dependency> -->
149
150 <!-- Profiling -->
151 <dependency>
152 <groupId>com.yourkit</groupId>
153 <artifactId>yjp-controller-api-redist</artifactId>
154 <scope>compile</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.hibernate</groupId>
159 <artifactId>hibernate-core</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>eu.etaxonomy</groupId>
163 <artifactId>cdmlib-model</artifactId>
164 </dependency>
165 </dependencies>
166
167 </project>