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>
38 <version>3.0.0</version>
41 <!-- Generate DDL for test -->
42 <!-- Alternatives: http://jpdigital.github.io/hibernate5-ddl-maven-plugin/usage.html,
43 https://webdev.jhuep.com/~jcs/ejava-javaee/coursedocs/content/html/jpa-entitymgrex-dbschemagen.html -->
44 <id>generate-ddl-create
</id>
45 <phase>process-classes
</phase>
51 <!-- copy template file -->
53 file=
"src/main/resources/dbscripts/001-cdm.h2.sql-template"
54 tofile=
"src/main/resources/dbscripts/001-cdm.h2.sql">
56 <!-- run DdlCreator -->
57 <java classname=
"eu.etaxonomy.cdm.test.unitils.DdlCreator"
58 fork=
"false" failonerror=
"true">
59 <!-- reference to the passed-in classpath reference -->
60 <classpath refid=
"maven.compile.classpath" />
68 <groupId>org.apache.maven.plugins
</groupId>
69 <artifactId>maven-jar-plugin
</artifactId>
70 <version>3.2.0</version>
83 <groupId>junit
</groupId>
84 <artifactId>junit
</artifactId>
85 <scope>compile
</scope>
88 <groupId>org.unitils
</groupId>
89 <artifactId>unitils-core
</artifactId>
90 <scope>compile
</scope>
93 <groupId>org.unitils
</groupId>
94 <artifactId>unitils-database
</artifactId>
95 <scope>compile
</scope>
98 <groupId>org.unitils
</groupId>
99 <artifactId>unitils-dbmaintainer
</artifactId>
100 <scope>compile
</scope>
103 <groupId>org.unitils
</groupId>
104 <artifactId>unitils-dbunit
</artifactId>
105 <scope>compile
</scope>
108 <groupId>org.unitils
</groupId>
109 <artifactId>unitils-easymock
</artifactId>
110 <scope>compile
</scope>
113 <!-- we try to use only cglib-nodep (#9206) -->
114 <groupId>cglib
</groupId>
115 <artifactId>cglib
</artifactId>
120 <groupId>org.unitils
</groupId>
121 <artifactId>unitils-mock
</artifactId>
122 <scope>compile
</scope>
125 <groupId>org.unitils
</groupId>
126 <artifactId>unitils-inject
</artifactId>
127 <scope>compile
</scope>
130 <groupId>org.unitils
</groupId>
131 <artifactId>unitils-orm
</artifactId>
134 <groupId>javax.persistence
</groupId>
135 <artifactId>persistence-api
</artifactId>
140 <groupId>org.unitils
</groupId>
141 <artifactId>unitils-spring
</artifactId>
142 <scope>compile
</scope>
144 <!-- <dependency> -->
145 <!-- <groupId>org.dbunit</groupId> -->
146 <!-- <artifactId>dbunit</artifactId> -->
147 <!-- <scope>compile</scope> -->
148 <!-- </dependency> -->
150 <groupId>xmlunit
</groupId>
151 <artifactId>xmlunit
</artifactId>
152 <scope>compile
</scope>
155 <groupId>com.carrotsearch
</groupId>
156 <artifactId>junit-benchmarks
</artifactId>
157 <scope>compile
</scope>
160 <!-- ******* DATABASES DRIVER ******* -->
163 <groupId>com.h2database
</groupId>
164 <artifactId>h2
</artifactId>
165 <scope>compile
</scope>
168 <!-- still creates problems in cdmlib-remote-webapp testing with MySQL connector -->
169 <!-- <dependency> -->
170 <!-- <groupId>eu.etaxonomy</groupId> -->
171 <!-- <artifactId>cdmlib-db</artifactId> -->
172 <!-- <version>${project.version}</version> -->
173 <!-- <scope>compile</scope> -->
174 <!-- </dependency> -->
178 <groupId>com.yourkit
</groupId>
179 <artifactId>yjp-controller-api-redist
</artifactId>
180 <scope>compile
</scope>
184 <groupId>org.hibernate
</groupId>
185 <artifactId>hibernate-core
</artifactId>
188 <groupId>eu.etaxonomy
</groupId>
189 <artifactId>cdmlib-model
</artifactId>