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 -->
52 file=
"src/main/resources/dbscripts/001-cdm.h2.sql-template"
53 tofile=
"src/main/resources/dbscripts/001-cdm.h2.sql">
55 <!-- run DdlCreator -->
56 <java classname=
"eu.etaxonomy.cdm.test.unitils.DdlCreator" fork=
"false" failonerror=
"true" classpathref=
"maven.compile.classpath" />
63 <groupId>org.apache.maven.plugins
</groupId>
64 <artifactId>maven-jar-plugin
</artifactId>
65 <version>3.2.0</version>
78 <groupId>junit
</groupId>
79 <artifactId>junit
</artifactId>
80 <scope>compile
</scope>
83 <groupId>org.unitils
</groupId>
84 <artifactId>unitils-core
</artifactId>
85 <scope>compile
</scope>
88 <groupId>org.unitils
</groupId>
89 <artifactId>unitils-database
</artifactId>
90 <scope>compile
</scope>
93 <groupId>org.unitils
</groupId>
94 <artifactId>unitils-dbmaintainer
</artifactId>
95 <scope>compile
</scope>
98 <groupId>org.unitils
</groupId>
99 <artifactId>unitils-dbunit
</artifactId>
100 <scope>compile
</scope>
103 <groupId>org.unitils
</groupId>
104 <artifactId>unitils-easymock
</artifactId>
105 <scope>compile
</scope>
108 <!-- we try to use only cglib-nodep (#9206) -->
109 <groupId>cglib
</groupId>
110 <artifactId>cglib
</artifactId>
115 <groupId>org.unitils
</groupId>
116 <artifactId>unitils-mock
</artifactId>
117 <scope>compile
</scope>
120 <groupId>org.unitils
</groupId>
121 <artifactId>unitils-inject
</artifactId>
122 <scope>compile
</scope>
125 <groupId>org.unitils
</groupId>
126 <artifactId>unitils-orm
</artifactId>
129 <groupId>javax.persistence
</groupId>
130 <artifactId>persistence-api
</artifactId>
135 <groupId>org.unitils
</groupId>
136 <artifactId>unitils-spring
</artifactId>
137 <scope>compile
</scope>
139 <!-- <dependency> -->
140 <!-- <groupId>org.dbunit</groupId> -->
141 <!-- <artifactId>dbunit</artifactId> -->
142 <!-- <scope>compile</scope> -->
143 <!-- </dependency> -->
145 <groupId>xmlunit
</groupId>
146 <artifactId>xmlunit
</artifactId>
147 <scope>compile
</scope>
150 <groupId>com.carrotsearch
</groupId>
151 <artifactId>junit-benchmarks
</artifactId>
152 <scope>compile
</scope>
155 <!-- ******* DATABASES DRIVER ******* -->
158 <groupId>com.h2database
</groupId>
159 <artifactId>h2
</artifactId>
160 <scope>compile
</scope>
163 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
164 <!-- <dependency> -->
165 <!-- <groupId>eu.etaxonomy</groupId> -->
166 <!-- <artifactId>cdmlib-db</artifactId> -->
167 <!-- <version>${project.version}</version> -->
168 <!-- <scope>compile</scope> -->
169 <!-- </dependency> -->
173 <groupId>com.yourkit
</groupId>
174 <artifactId>yjp-controller-api-redist
</artifactId>
175 <scope>compile
</scope>
179 <groupId>org.hibernate
</groupId>
180 <artifactId>hibernate-core
</artifactId>
183 <groupId>eu.etaxonomy
</groupId>
184 <artifactId>cdmlib-model
</artifactId>