ref #9282 add NomenclaturalStanding and INomenclaturalStanding and related method...
[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.18.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 <!-- <groupId>org.codehaus.mojo</groupId> -->
19 <!-- <artifactId>hibernate3-maven-plugin</artifactId> -->
20 <!-- <version>3.0</version> -->
21 <!-- <configuration> -->
22 <!-- <components> -->
23 <!-- <component> -->
24 <!-- <name>hbm2ddl</name> -->
25 <!-- <implementation>annotationconfigurationX</implementation> -->
26 <!-- </component> -->
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> -->
35 <!-- </plugin> -->
36 <plugin>
37 <artifactId>maven-antrun-plugin</artifactId>
38 <executions>
39 <execution>
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>
45 <goals>
46 <goal>run</goal>
47 </goals>
48 <configuration>
49 <target>
50 <!-- copy template file -->
51 <copy
52 file="src/main/resources/dbscripts/001-cdm.h2.sql-template"
53 tofile="src/main/resources/dbscripts/001-cdm.h2.sql">
54 </copy>
55 <!-- run DdlCreator -->
56 <java classname="eu.etaxonomy.cdm.test.unitils.DdlCreator" fork="false" failonerror="true" classpathref="maven.compile.classpath" />
57 </target>
58 </configuration>
59 </execution>
60 </executions>
61 </plugin>
62 <plugin>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-jar-plugin</artifactId>
65 <version>3.2.0</version>
66 <executions>
67 <execution>
68 <goals>
69 <goal>test-jar</goal>
70 </goals>
71 </execution>
72 </executions>
73 </plugin>
74 </plugins>
75 </build>
76 <dependencies>
77 <dependency>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
80 <scope>compile</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.unitils</groupId>
84 <artifactId>unitils-core</artifactId>
85 <scope>compile</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.unitils</groupId>
89 <artifactId>unitils-database</artifactId>
90 <scope>compile</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.unitils</groupId>
94 <artifactId>unitils-dbmaintainer</artifactId>
95 <scope>compile</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.unitils</groupId>
99 <artifactId>unitils-dbunit</artifactId>
100 <scope>compile</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.unitils</groupId>
104 <artifactId>unitils-easymock</artifactId>
105 <scope>compile</scope>
106 <exclusions>
107 <exclusion>
108 <!-- we try to use only cglib-nodep (#9206) -->
109 <groupId>cglib</groupId>
110 <artifactId>cglib</artifactId>
111 </exclusion>
112 </exclusions>
113 </dependency>
114 <dependency>
115 <groupId>org.unitils</groupId>
116 <artifactId>unitils-mock</artifactId>
117 <scope>compile</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.unitils</groupId>
121 <artifactId>unitils-inject</artifactId>
122 <scope>compile</scope>
123 </dependency>
124 <dependency>
125 <groupId>org.unitils</groupId>
126 <artifactId>unitils-orm</artifactId>
127 <exclusions>
128 <exclusion>
129 <groupId>javax.persistence</groupId>
130 <artifactId>persistence-api</artifactId>
131 </exclusion>
132 </exclusions>
133 </dependency>
134 <dependency>
135 <groupId>org.unitils</groupId>
136 <artifactId>unitils-spring</artifactId>
137 <scope>compile</scope>
138 </dependency>
139 <!-- <dependency> -->
140 <!-- <groupId>org.dbunit</groupId> -->
141 <!-- <artifactId>dbunit</artifactId> -->
142 <!-- <scope>compile</scope> -->
143 <!-- </dependency> -->
144 <dependency>
145 <groupId>xmlunit</groupId>
146 <artifactId>xmlunit</artifactId>
147 <scope>compile</scope>
148 </dependency>
149 <dependency>
150 <groupId>com.carrotsearch</groupId>
151 <artifactId>junit-benchmarks</artifactId>
152 <scope>compile</scope>
153 </dependency>
154
155 <!-- ******* DATABASES DRIVER ******* -->
156
157 <dependency>
158 <groupId>com.h2database</groupId>
159 <artifactId>h2</artifactId>
160 <scope>compile</scope>
161 </dependency>
162
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> -->
170
171 <!-- Profiling -->
172 <dependency>
173 <groupId>com.yourkit</groupId>
174 <artifactId>yjp-controller-api-redist</artifactId>
175 <scope>compile</scope>
176 </dependency>
177
178 <dependency>
179 <groupId>org.hibernate</groupId>
180 <artifactId>hibernate-core</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>eu.etaxonomy</groupId>
184 <artifactId>cdmlib-model</artifactId>
185 </dependency>
186 </dependencies>
187
188 </project>