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">
4 <groupId>eu.etaxonomy
</groupId>
5 <artifactId>cdmlib-parent
</artifactId>
6 <version>5.25.0-SNAPSHOT
</version>
7 <relativePath>../pom.xml
</relativePath>
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>
18 <artifactId>maven-antrun-plugin
</artifactId>
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>
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">
34 <!-- run DdlCreator -->
35 <java classname=
"eu.etaxonomy.cdm.test.unitils.DdlCreator" fork=
"false" failonerror=
"true" classpathref=
"maven.compile.classpath" />
42 <groupId>org.apache.maven.plugins
</groupId>
43 <artifactId>maven-jar-plugin
</artifactId>
44 <version>3.2.0</version>
57 <groupId>junit
</groupId>
58 <artifactId>junit
</artifactId>
59 <scope>compile
</scope>
62 <groupId>org.unitils
</groupId>
63 <artifactId>unitils-core
</artifactId>
64 <scope>compile
</scope>
67 <groupId>org.unitils
</groupId>
68 <artifactId>unitils-database
</artifactId>
69 <scope>compile
</scope>
72 <groupId>org.unitils
</groupId>
73 <artifactId>unitils-dbmaintainer
</artifactId>
74 <scope>compile
</scope>
77 <groupId>org.unitils
</groupId>
78 <artifactId>unitils-dbunit
</artifactId>
79 <scope>compile
</scope>
82 <groupId>org.unitils
</groupId>
83 <artifactId>unitils-easymock
</artifactId>
84 <scope>compile
</scope>
87 <!-- we try to use only cglib-nodep (#9206) -->
88 <groupId>cglib
</groupId>
89 <artifactId>cglib
</artifactId>
94 <groupId>org.unitils
</groupId>
95 <artifactId>unitils-mock
</artifactId>
96 <scope>compile
</scope>
99 <groupId>org.unitils
</groupId>
100 <artifactId>unitils-inject
</artifactId>
101 <scope>compile
</scope>
104 <groupId>org.unitils
</groupId>
105 <artifactId>unitils-orm
</artifactId>
108 <groupId>javax.persistence
</groupId>
109 <artifactId>persistence-api
</artifactId>
114 <groupId>org.unitils
</groupId>
115 <artifactId>unitils-spring
</artifactId>
116 <scope>compile
</scope>
118 <!-- <dependency> -->
119 <!-- <groupId>org.dbunit</groupId> -->
120 <!-- <artifactId>dbunit</artifactId> -->
121 <!-- <scope>compile</scope> -->
122 <!-- </dependency> -->
124 <groupId>xmlunit
</groupId>
125 <artifactId>xmlunit
</artifactId>
126 <scope>compile
</scope>
129 <groupId>com.carrotsearch
</groupId>
130 <artifactId>junit-benchmarks
</artifactId>
131 <scope>compile
</scope>
134 <!-- ******* DATABASES DRIVER ******* -->
137 <groupId>com.h2database
</groupId>
138 <artifactId>h2
</artifactId>
139 <scope>compile
</scope>
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> -->
152 <groupId>com.yourkit
</groupId>
153 <artifactId>yjp-controller-api-redist
</artifactId>
154 <scope>compile
</scope>
158 <groupId>org.hibernate
</groupId>
159 <artifactId>hibernate-core
</artifactId>
162 <groupId>eu.etaxonomy
</groupId>
163 <artifactId>cdmlib-model
</artifactId>