cdmlib / cdmlib-test / pom.xml @ 2638be38
History | View | Annotate | Download (7.76 KB)
1 | 53c8f824 | Andreas Müller | <?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>3.12.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 | <scm>
|
||
15 | <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-test/</connection> |
||
16 | <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-test/</developerConnection> |
||
17 | <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-test/</url> |
||
18 | </scm>
|
||
19 | <build>
|
||
20 | <plugins>
|
||
21 | <plugin>
|
||
22 | <groupId>org.codehaus.mojo</groupId> |
||
23 | <artifactId>hibernate3-maven-plugin</artifactId> |
||
24 | <version>3.0</version> |
||
25 | <configuration>
|
||
26 | <components>
|
||
27 | <component>
|
||
28 | <name>hbm2ddl</name> |
||
29 | <implementation>annotationconfigurationX</implementation> |
||
30 | </component>
|
||
31 | </components>
|
||
32 | <componentProperties>
|
||
33 | <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy> |
||
34 | <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile> |
||
35 | <outputfilename>001_cdm.ddl</outputfilename> |
||
36 | <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile> |
||
37 | </componentProperties>
|
||
38 | </configuration>
|
||
39 | <dependencies>
|
||
40 | <dependency>
|
||
41 | <groupId>org.hsqldb</groupId> |
||
42 | <artifactId>hsqldb</artifactId> |
||
43 | <version>${hsqldb.version}</version> |
||
44 | </dependency>
|
||
45 | <dependency>
|
||
46 | <groupId>org.hibernate</groupId> |
||
47 | <artifactId>hibernate-annotations</artifactId> |
||
48 | <version>3.5.6-FINAL</version> |
||
49 | </dependency>
|
||
50 | </dependencies>
|
||
51 | </plugin>
|
||
52 | <plugin>
|
||
53 | <artifactId>maven-antrun-plugin</artifactId> |
||
54 | <configuration>
|
||
55 | <tasks>
|
||
56 | <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.EnversHibernateToolTask"> |
||
57 | <classpath refid="maven.plugin.classpath" /> |
||
58 | </taskdef>
|
||
59 | <mkdir dir="target/generated-sources/hibernate3" /> |
||
60 | <hibernatetool destdir="."> |
||
61 | <classpath>
|
||
62 | <path refid="maven.plugin.classpath" /> |
||
63 | <path refid="maven.compile.classpath" /> |
||
64 | <path refid="maven.test.classpath" /> |
||
65 | </classpath>
|
||
66 | <jpaconfiguration persistenceunit="cdm" /> |
||
67 | <hbm2ddl drop="false" create="true" export="false" outputfilename="target/generated-sources/hibernate3/001_cdm.ddl" delimiter=";" format="true" /> |
||
68 | </hibernatetool>
|
||
69 | </tasks>
|
||
70 | </configuration>
|
||
71 | <dependencies>
|
||
72 | <dependency>
|
||
73 | <groupId>org.hsqldb</groupId> |
||
74 | <artifactId>hsqldb</artifactId> |
||
75 | <version>${hsqldb.version}</version> |
||
76 | </dependency>
|
||
77 | <dependency>
|
||
78 | <groupId>org.hibernate</groupId> |
||
79 | <artifactId>hibernate-envers</artifactId> |
||
80 | <version>${hibernate.version}</version> |
||
81 | </dependency>
|
||
82 | <dependency>
|
||
83 | <groupId>org.hibernate</groupId> |
||
84 | <artifactId>hibernate-entitymanager</artifactId> |
||
85 | <version>${hibernate.version}</version> |
||
86 | </dependency>
|
||
87 | <dependency>
|
||
88 | <!-- is this still needed ?? -->
|
||
89 | <groupId>org.hibernate</groupId> |
||
90 | <artifactId>hibernate-tools</artifactId> |
||
91 | <version>3.2.4.GA</version> |
||
92 | </dependency>
|
||
93 | <dependency>
|
||
94 | <groupId>org.slf4j</groupId> |
||
95 | <artifactId>slf4j-log4j12</artifactId> |
||
96 | <version>${slf4j.version}</version> |
||
97 | </dependency>
|
||
98 | <dependency>
|
||
99 | <groupId>commons-logging</groupId> |
||
100 | <artifactId>commons-logging</artifactId> |
||
101 | <version>${commons-logging.version}</version> |
||
102 | </dependency>
|
||
103 | </dependencies>
|
||
104 | </plugin>
|
||
105 | <plugin>
|
||
106 | <groupId>org.apache.maven.plugins</groupId> |
||
107 | <artifactId>maven-jar-plugin</artifactId> |
||
108 | <version>2.3.2</version> |
||
109 | <executions>
|
||
110 | <execution>
|
||
111 | <goals>
|
||
112 | <goal>test-jar</goal> |
||
113 | </goals>
|
||
114 | </execution>
|
||
115 | </executions>
|
||
116 | </plugin>
|
||
117 | </plugins>
|
||
118 | </build>
|
||
119 | <dependencies>
|
||
120 | <dependency>
|
||
121 | <groupId>junit</groupId> |
||
122 | <artifactId>junit</artifactId> |
||
123 | <scope>compile</scope> |
||
124 | </dependency>
|
||
125 | <dependency>
|
||
126 | <groupId>org.unitils</groupId> |
||
127 | <artifactId>unitils-core</artifactId> |
||
128 | <scope>compile</scope> |
||
129 | </dependency>
|
||
130 | <dependency>
|
||
131 | <groupId>org.unitils</groupId> |
||
132 | <artifactId>unitils-database</artifactId> |
||
133 | <scope>compile</scope> |
||
134 | </dependency>
|
||
135 | <dependency>
|
||
136 | <groupId>org.unitils</groupId> |
||
137 | <artifactId>unitils-dbmaintainer</artifactId> |
||
138 | <scope>compile</scope> |
||
139 | </dependency>
|
||
140 | <dependency>
|
||
141 | <groupId>org.unitils</groupId> |
||
142 | <artifactId>unitils-dbunit</artifactId> |
||
143 | <scope>compile</scope> |
||
144 | </dependency>
|
||
145 | <dependency>
|
||
146 | <groupId>org.unitils</groupId> |
||
147 | <artifactId>unitils-easymock</artifactId> |
||
148 | <scope>compile</scope> |
||
149 | </dependency>
|
||
150 | <dependency>
|
||
151 | <groupId>org.unitils</groupId> |
||
152 | <artifactId>unitils-mock</artifactId> |
||
153 | <scope>compile</scope> |
||
154 | </dependency>
|
||
155 | <dependency>
|
||
156 | <groupId>org.unitils</groupId> |
||
157 | <artifactId>unitils-inject</artifactId> |
||
158 | <scope>compile</scope> |
||
159 | </dependency>
|
||
160 | <dependency>
|
||
161 | <groupId>org.unitils</groupId> |
||
162 | <artifactId>unitils-orm</artifactId> |
||
163 | <exclusions>
|
||
164 | <exclusion>
|
||
165 | <groupId>javax.persistence</groupId> |
||
166 | <artifactId>persistence-api</artifactId> |
||
167 | </exclusion>
|
||
168 | </exclusions>
|
||
169 | </dependency>
|
||
170 | <dependency>
|
||
171 | <groupId>org.unitils</groupId> |
||
172 | <artifactId>unitils-spring</artifactId> |
||
173 | <scope>compile</scope> |
||
174 | </dependency>
|
||
175 | <dependency>
|
||
176 | <groupId>org.dbunit</groupId> |
||
177 | <artifactId>dbunit</artifactId> |
||
178 | <scope>compile</scope> |
||
179 | </dependency>
|
||
180 | <dependency>
|
||
181 | <groupId>xmlunit</groupId> |
||
182 | <artifactId>xmlunit</artifactId> |
||
183 | <scope>compile</scope> |
||
184 | </dependency>
|
||
185 | <dependency>
|
||
186 | <groupId>com.carrotsearch</groupId> |
||
187 | <artifactId>junit-benchmarks</artifactId> |
||
188 | <scope>compile</scope> |
||
189 | </dependency>
|
||
190 | |||
191 | <!-- ******* DATABASES DRIVER ******* -->
|
||
192 | |||
193 | <dependency>
|
||
194 | <groupId>org.hsqldb</groupId> |
||
195 | <artifactId>hsqldb</artifactId> |
||
196 | <scope>compile</scope> |
||
197 | </dependency>
|
||
198 | <!-- SQL Server and Sybase -->
|
||
199 | |||
200 | <dependency>
|
||
201 | <groupId>com.h2database</groupId> |
||
202 | <artifactId>h2</artifactId> |
||
203 | </dependency>
|
||
204 | |||
205 | <!-- SQL Debugging -->
|
||
206 | <dependency>
|
||
207 | <groupId>p6spy</groupId> |
||
208 | <artifactId>p6spy</artifactId> |
||
209 | <scope>compile</scope> |
||
210 | </dependency>
|
||
211 | |||
212 | |||
213 | <!-- Profiling -->
|
||
214 | <dependency>
|
||
215 | <groupId>com.yourkit</groupId> |
||
216 | <artifactId>yjp-controller-api-redist</artifactId> |
||
217 | <scope>compile</scope> |
||
218 | </dependency>
|
||
219 | |||
220 | <!-- required by Xerces 2.11.0 -->
|
||
221 | <dependency>
|
||
222 | <groupId>org.apache.xmlgraphics</groupId> |
||
223 | <artifactId>batik-ext</artifactId> |
||
224 | </dependency>
|
||
225 | |||
226 | <dependency>
|
||
227 | <groupId>org.hibernate</groupId> |
||
228 | <artifactId>hibernate-core</artifactId> |
||
229 | </dependency>
|
||
230 | <dependency>
|
||
231 | <groupId>eu.etaxonomy</groupId> |
||
232 | <artifactId>cdmlib-model</artifactId> |
||
233 | </dependency>
|
||
234 | </dependencies>
|
||
235 | |||
236 | </project> |