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.29.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: 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>
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 <groupId>org.unitils
</groupId>
106 <artifactId>unitils-database
</artifactId>
107 <scope>compile
</scope>
110 <groupId>org.unitils
</groupId>
111 <artifactId>unitils-dbmaintainer
</artifactId>
112 <scope>compile
</scope>
115 <groupId>org.unitils
</groupId>
116 <artifactId>unitils-dbunit
</artifactId>
117 <scope>compile
</scope>
120 <groupId>org.unitils
</groupId>
121 <artifactId>unitils-easymock
</artifactId>
122 <scope>compile
</scope>
125 <!-- we try to use only cglib-nodep (#9206) -->
126 <groupId>cglib
</groupId>
127 <artifactId>cglib
</artifactId>
132 <groupId>org.unitils
</groupId>
133 <artifactId>unitils-mock
</artifactId>
134 <scope>compile
</scope>
137 <groupId>org.unitils
</groupId>
138 <artifactId>unitils-inject
</artifactId>
139 <scope>compile
</scope>
142 <groupId>org.unitils
</groupId>
143 <artifactId>unitils-orm
</artifactId>
146 <groupId>javax.persistence
</groupId>
147 <artifactId>persistence-api
</artifactId>
152 <groupId>org.unitils
</groupId>
153 <artifactId>unitils-spring
</artifactId>
154 <scope>compile
</scope>
156 <!-- <dependency> -->
157 <!-- <groupId>org.dbunit</groupId> -->
158 <!-- <artifactId>dbunit</artifactId> -->
159 <!-- <scope>compile</scope> -->
160 <!-- </dependency> -->
162 <groupId>xmlunit
</groupId>
163 <artifactId>xmlunit
</artifactId>
164 <scope>compile
</scope>
167 <groupId>com.carrotsearch
</groupId>
168 <artifactId>junit-benchmarks
</artifactId>
169 <scope>compile
</scope>
172 <!-- ******* DATABASES DRIVER ******* -->
174 <!-- for other databases see also #6025 -->
176 <groupId>com.h2database
</groupId>
177 <artifactId>h2
</artifactId>
178 <scope>compile
</scope>
181 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
182 <!-- <dependency> -->
183 <!-- <groupId>eu.etaxonomy</groupId> -->
184 <!-- <artifactId>cdmlib-db</artifactId> -->
185 <!-- <version>${project.version}</version> -->
186 <!-- <scope>compile</scope> -->
187 <!-- </dependency> -->
191 <groupId>com.yourkit
</groupId>
192 <artifactId>yjp-controller-api-redist
</artifactId>
193 <scope>compile
</scope>
197 <groupId>org.hibernate
</groupId>
198 <artifactId>hibernate-core
</artifactId>
201 <groupId>eu.etaxonomy
</groupId>
202 <artifactId>cdmlib-model
</artifactId>