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.18.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 <!-- <groupId>org.codehaus.mojo</groupId> -->
19 <!-- <artifactId>hibernate3-maven-plugin</artifactId> -->
20 <!-- <version>3.0</version> -->
21 <!-- <configuration> -->
24 <!-- <name>hbm2ddl</name> -->
25 <!-- <implementation>annotationconfigurationX</implementation> -->
27 <!-- </components> -->
28 <!-- <componentProperties> -->
29 <!-- <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy> -->
30 <!-- <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile> -->
31 <!-- <outputfilename>001_cdm.ddl</outputfilename> -->
32 <!-- <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile> -->
33 <!-- </componentProperties> -->
34 <!-- </configuration> -->
37 <artifactId>maven-antrun-plugin
</artifactId>
40 <!-- Generate DDL for test -->
41 <!-- Alternatives: http://jpdigital.github.io/hibernate5-ddl-maven-plugin/usage.html,
42 https://webdev.jhuep.com/~jcs/ejava-javaee/coursedocs/content/html/jpa-entitymgrex-dbschemagen.html -->
43 <id>generate-ddl-create
</id>
44 <phase>process-classes
</phase>
50 <!-- copy template file -->
51 <copy file=
"src/main/resources/dbscripts/001-cdm.h2.sql-template" tofile=
"src/main/resources/dbscripts/001-cdm.h2.sql">
53 <!-- run DdlCreator -->
54 <java classname=
"eu.etaxonomy.cdm.test.unitils.DdlCreator" fork=
"false" failonerror=
"true" classpathref=
"maven.compile.classpath" />
61 <groupId>org.apache.maven.plugins
</groupId>
62 <artifactId>maven-jar-plugin
</artifactId>
63 <version>3.2.0</version>
76 <groupId>junit
</groupId>
77 <artifactId>junit
</artifactId>
78 <scope>compile
</scope>
81 <groupId>org.unitils
</groupId>
82 <artifactId>unitils-core
</artifactId>
83 <scope>compile
</scope>
86 <groupId>org.unitils
</groupId>
87 <artifactId>unitils-database
</artifactId>
88 <scope>compile
</scope>
91 <groupId>org.unitils
</groupId>
92 <artifactId>unitils-dbmaintainer
</artifactId>
93 <scope>compile
</scope>
96 <groupId>org.unitils
</groupId>
97 <artifactId>unitils-dbunit
</artifactId>
98 <scope>compile
</scope>
101 <groupId>org.unitils
</groupId>
102 <artifactId>unitils-easymock
</artifactId>
103 <scope>compile
</scope>
106 <!-- we try to use only cglib-nodep (#9206) -->
107 <groupId>cglib
</groupId>
108 <artifactId>cglib
</artifactId>
113 <groupId>org.unitils
</groupId>
114 <artifactId>unitils-mock
</artifactId>
115 <scope>compile
</scope>
118 <groupId>org.unitils
</groupId>
119 <artifactId>unitils-inject
</artifactId>
120 <scope>compile
</scope>
123 <groupId>org.unitils
</groupId>
124 <artifactId>unitils-orm
</artifactId>
127 <groupId>javax.persistence
</groupId>
128 <artifactId>persistence-api
</artifactId>
133 <groupId>org.unitils
</groupId>
134 <artifactId>unitils-spring
</artifactId>
135 <scope>compile
</scope>
137 <!-- <dependency> -->
138 <!-- <groupId>org.dbunit</groupId> -->
139 <!-- <artifactId>dbunit</artifactId> -->
140 <!-- <scope>compile</scope> -->
141 <!-- </dependency> -->
143 <groupId>xmlunit
</groupId>
144 <artifactId>xmlunit
</artifactId>
145 <scope>compile
</scope>
148 <groupId>com.carrotsearch
</groupId>
149 <artifactId>junit-benchmarks
</artifactId>
150 <scope>compile
</scope>
153 <!-- ******* DATABASES DRIVER ******* -->
156 <groupId>com.h2database
</groupId>
157 <artifactId>h2
</artifactId>
158 <scope>compile
</scope>
161 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
162 <!-- <dependency> -->
163 <!-- <groupId>eu.etaxonomy</groupId> -->
164 <!-- <artifactId>cdmlib-db</artifactId> -->
165 <!-- <version>${project.version}</version> -->
166 <!-- <scope>compile</scope> -->
167 <!-- </dependency> -->
171 <groupId>com.yourkit
</groupId>
172 <artifactId>yjp-controller-api-redist
</artifactId>
173 <scope>compile
</scope>
177 <groupId>org.hibernate
</groupId>
178 <artifactId>hibernate-core
</artifactId>
181 <groupId>eu.etaxonomy
</groupId>
182 <artifactId>cdmlib-model
</artifactId>