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.45.0</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: https://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 <!-- manual execution of the below ant task: -->
25 <!-- mvn antrun:run@generate-ddl-create -->
26 <id>generate-ddl-create
</id>
27 <phase>process-classes
</phase>
29 <!-- <goal>run</goal> -->
33 <delete file=
"${project.build.outputDirectory}/dbscripts/001-cdm.h2.sql" />
34 <!-- copy template file -->
35 <copy file=
"${basedir}/src/main/resources/dbscripts/001-cdm.h2.template.sql" tofile=
"${project.build.outputDirectory}/dbscripts/001-cdm.h2.sql" />
36 <!-- for directory shortcuts: https://stackoverflow.com/questions/13354531/maven-project-build-directory but a short cut to /src/main/resources did not work for me -->
37 <!-- run DdlCreator -->
38 <java classname=
"eu.etaxonomy.cdm.test.unitils.DdlCreator" fork=
"false" failonerror=
"true" classpathref=
"maven.compile.classpath" />
45 <groupId>org.apache.maven.plugins
</groupId>
46 <artifactId>maven-jar-plugin
</artifactId>
47 <version>3.2.2</version>
59 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
61 <groupId>org.eclipse.m2e
</groupId>
62 <artifactId>lifecycle-mapping
</artifactId>
63 <version>1.0.0</version>
65 <lifecycleMappingMetadata>
68 <pluginExecutionFilter>
70 org.apache.maven.plugins
81 </pluginExecutionFilter>
87 </lifecycleMappingMetadata>
95 <groupId>junit
</groupId>
96 <artifactId>junit
</artifactId>
97 <scope>compile
</scope>
100 <groupId>org.unitils
</groupId>
101 <artifactId>unitils-core
</artifactId>
102 <scope>compile
</scope>
105 <!-- we use jcl-over-slf4j instead-->
106 <groupId>commons-logging
</groupId>
107 <artifactId>commons-logging
</artifactId>
112 <groupId>org.unitils
</groupId>
113 <artifactId>unitils-database
</artifactId>
114 <scope>compile
</scope>
117 <groupId>org.unitils
</groupId>
118 <artifactId>unitils-dbmaintainer
</artifactId>
119 <scope>compile
</scope>
122 <groupId>org.unitils
</groupId>
123 <artifactId>unitils-dbunit
</artifactId>
124 <scope>compile
</scope>
127 <groupId>org.unitils
</groupId>
128 <artifactId>unitils-easymock
</artifactId>
129 <scope>compile
</scope>
132 <!-- we try to use only cglib-nodep (#9206) -->
133 <groupId>cglib
</groupId>
134 <artifactId>cglib
</artifactId>
139 <groupId>org.unitils
</groupId>
140 <artifactId>unitils-mock
</artifactId>
141 <scope>compile
</scope>
144 <groupId>org.unitils
</groupId>
145 <artifactId>unitils-inject
</artifactId>
146 <scope>compile
</scope>
149 <groupId>org.unitils
</groupId>
150 <artifactId>unitils-orm
</artifactId>
153 <groupId>javax.persistence
</groupId>
154 <artifactId>persistence-api
</artifactId>
159 <groupId>org.unitils
</groupId>
160 <artifactId>unitils-spring
</artifactId>
161 <scope>compile
</scope>
163 <!-- <dependency> -->
164 <!-- <groupId>org.dbunit</groupId> -->
165 <!-- <artifactId>dbunit</artifactId> -->
166 <!-- <scope>compile</scope> -->
167 <!-- </dependency> -->
169 <groupId>xmlunit
</groupId>
170 <artifactId>xmlunit
</artifactId>
171 <scope>compile
</scope>
174 <groupId>com.carrotsearch
</groupId>
175 <artifactId>junit-benchmarks
</artifactId>
176 <scope>compile
</scope>
179 <!-- ******* DATABASES DRIVER ******* -->
181 <!-- for other databases see also #6025 -->
183 <groupId>com.h2database
</groupId>
184 <artifactId>h2
</artifactId>
185 <scope>compile
</scope>
188 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
189 <!-- <dependency> -->
190 <!-- <groupId>eu.etaxonomy</groupId> -->
191 <!-- <artifactId>cdmlib-db</artifactId> -->
192 <!-- <version>${project.version}</version> -->
193 <!-- <scope>compile</scope> -->
194 <!-- </dependency> -->
198 <groupId>com.yourkit
</groupId>
199 <artifactId>yjp-controller-api-redist
</artifactId>
200 <scope>compile
</scope>
204 <groupId>org.hibernate
</groupId>
205 <artifactId>hibernate-core
</artifactId>
208 <!-- has overlaps with jakarta-activation -->
209 <groupId>javax.activation
</groupId>
210 <artifactId>javax.activation-api
</artifactId>
213 <!-- we use jakarta.xml.bind-api instead -->
214 <groupId>javax.xml.bind
</groupId>
215 <artifactId>jaxb-api
</artifactId>
220 <groupId>eu.etaxonomy
</groupId>
221 <artifactId>cdmlib-model
</artifactId>