ref #10496 adapt DOIs in ManifestComposer
[cdmlib.git] / cdmlib-test / pom.xml
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">
3 <parent>
4 <groupId>eu.etaxonomy</groupId>
5 <artifactId>cdmlib-parent</artifactId>
6 <version>5.43.0-SNAPSHOT</version>
7 <relativePath>../pom.xml</relativePath>
8 </parent>
9
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>
14
15 <build>
16 <plugins>
17 <plugin>
18 <artifactId>maven-antrun-plugin</artifactId>
19 <executions>
20 <execution>
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>
28 <goals>
29 <!-- <goal>run</goal> -->
30 </goals>
31 <configuration>
32 <target>
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" />
39 </target>
40 </configuration>
41 </execution>
42 </executions>
43 </plugin>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-jar-plugin</artifactId>
47 <version>3.2.2</version>
48 <executions>
49 <execution>
50 <goals>
51 <goal>test-jar</goal>
52 </goals>
53 </execution>
54 </executions>
55 </plugin>
56 </plugins>
57 <pluginManagement>
58 <plugins>
59 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
60 <plugin>
61 <groupId>org.eclipse.m2e</groupId>
62 <artifactId>lifecycle-mapping</artifactId>
63 <version>1.0.0</version>
64 <configuration>
65 <lifecycleMappingMetadata>
66 <pluginExecutions>
67 <pluginExecution>
68 <pluginExecutionFilter>
69 <groupId>
70 org.apache.maven.plugins
71 </groupId>
72 <artifactId>
73 maven-antrun-plugin
74 </artifactId>
75 <versionRange>
76 [3.0.0,)
77 </versionRange>
78 <goals>
79 <goal>run</goal>
80 </goals>
81 </pluginExecutionFilter>
82 <action>
83 <ignore />
84 </action>
85 </pluginExecution>
86 </pluginExecutions>
87 </lifecycleMappingMetadata>
88 </configuration>
89 </plugin>
90 </plugins>
91 </pluginManagement>
92 </build>
93 <dependencies>
94 <dependency>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
97 <scope>compile</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.unitils</groupId>
101 <artifactId>unitils-core</artifactId>
102 <scope>compile</scope>
103 <exclusions>
104 <exclusion>
105 <!-- we use jcl-over-slf4j instead-->
106 <groupId>commons-logging</groupId>
107 <artifactId>commons-logging</artifactId>
108 </exclusion>
109 </exclusions>
110 </dependency>
111 <dependency>
112 <groupId>org.unitils</groupId>
113 <artifactId>unitils-database</artifactId>
114 <scope>compile</scope>
115 </dependency>
116 <dependency>
117 <groupId>org.unitils</groupId>
118 <artifactId>unitils-dbmaintainer</artifactId>
119 <scope>compile</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.unitils</groupId>
123 <artifactId>unitils-dbunit</artifactId>
124 <scope>compile</scope>
125 </dependency>
126 <dependency>
127 <groupId>org.unitils</groupId>
128 <artifactId>unitils-easymock</artifactId>
129 <scope>compile</scope>
130 <exclusions>
131 <exclusion>
132 <!-- we try to use only cglib-nodep (#9206) -->
133 <groupId>cglib</groupId>
134 <artifactId>cglib</artifactId>
135 </exclusion>
136 </exclusions>
137 </dependency>
138 <dependency>
139 <groupId>org.unitils</groupId>
140 <artifactId>unitils-mock</artifactId>
141 <scope>compile</scope>
142 </dependency>
143 <dependency>
144 <groupId>org.unitils</groupId>
145 <artifactId>unitils-inject</artifactId>
146 <scope>compile</scope>
147 </dependency>
148 <dependency>
149 <groupId>org.unitils</groupId>
150 <artifactId>unitils-orm</artifactId>
151 <exclusions>
152 <exclusion>
153 <groupId>javax.persistence</groupId>
154 <artifactId>persistence-api</artifactId>
155 </exclusion>
156 </exclusions>
157 </dependency>
158 <dependency>
159 <groupId>org.unitils</groupId>
160 <artifactId>unitils-spring</artifactId>
161 <scope>compile</scope>
162 </dependency>
163 <!-- <dependency> -->
164 <!-- <groupId>org.dbunit</groupId> -->
165 <!-- <artifactId>dbunit</artifactId> -->
166 <!-- <scope>compile</scope> -->
167 <!-- </dependency> -->
168 <dependency>
169 <groupId>xmlunit</groupId>
170 <artifactId>xmlunit</artifactId>
171 <scope>compile</scope>
172 </dependency>
173 <dependency>
174 <groupId>com.carrotsearch</groupId>
175 <artifactId>junit-benchmarks</artifactId>
176 <scope>compile</scope>
177 </dependency>
178
179 <!-- ******* DATABASES DRIVER ******* -->
180
181 <!-- for other databases see also #6025 -->
182 <dependency>
183 <groupId>com.h2database</groupId>
184 <artifactId>h2</artifactId>
185 <scope>compile</scope>
186 </dependency>
187
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> -->
195
196 <!-- Profiling -->
197 <dependency>
198 <groupId>com.yourkit</groupId>
199 <artifactId>yjp-controller-api-redist</artifactId>
200 <scope>compile</scope>
201 </dependency>
202
203 <dependency>
204 <groupId>org.hibernate</groupId>
205 <artifactId>hibernate-core</artifactId>
206 <exclusions>
207 <exclusion>
208 <!-- has overlaps with jakarta-activation -->
209 <groupId>javax.activation</groupId>
210 <artifactId>javax.activation-api</artifactId>
211 </exclusion>
212 <exclusion>
213 <!-- we use jakarta.xml.bind-api instead -->
214 <groupId>javax.xml.bind</groupId>
215 <artifactId>jaxb-api</artifactId>
216 </exclusion>
217 </exclusions>
218 </dependency>
219 <dependency>
220 <groupId>eu.etaxonomy</groupId>
221 <artifactId>cdmlib-model</artifactId>
222 </dependency>
223 </dependencies>
224
225 </project>