added derby and mysql to the test classpath for all projects.
[utils] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.wamblee</groupId>
6     <artifactId>wamblee-utils</artifactId>
7     <packaging>pom</packaging>
8     <version>0.2-SNAPSHOT</version>
9     <name>wamblee.org utility libraries</name>
10     <url>http://wamblee.org</url>
11     <modules>
12         <module>support</module>
13         <module>system</module>
14         <module>hibernate-jpa</module>
15         <module>security</module>
16         <module>socketproxy</module>
17         <module>crawler</module>
18         <module>gps</module>
19         <module>mythtv</module>
20     </modules>
21     <dependencies>
22         <dependency>
23             <groupId>junit</groupId>
24             <artifactId>junit</artifactId>
25             <version>4.4</version>
26             <scope>test</scope>
27         </dependency>
28         <dependency>
29             <groupId>org.dbunit</groupId>
30             <artifactId>dbunit</artifactId>
31             <version>2.2</version>
32             <scope>test</scope>
33         </dependency>
34         <dependency>
35             <groupId>org.easymock</groupId>
36             <artifactId>easymock</artifactId>
37             <version>2.3</version>
38             <scope>test</scope>
39         </dependency>
40         <dependency>
41             <groupId>org.easymock</groupId>
42             <artifactId>easymockclassextension</artifactId>
43             <version>2.3</version>
44             <scope>test</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.derby</groupId>
48             <artifactId>derby</artifactId>
49             <scope>test</scope>
50         </dependency>
51         <dependency>
52             <groupId>org.apache.derby</groupId>
53             <artifactId>derbyclient</artifactId>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>org.apache.derby</groupId>
58             <artifactId>derbynet</artifactId>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>mysql</groupId>
63             <artifactId>mysql-connector-java</artifactId>
64             <scope>test</scope>
65         </dependency>
66         <!-- dependency>
67           <groupId>org.testng</groupId>
68           <artifactId>testng</artifactId>
69           <version>5.7</version>
70           <scope>test</scope>
71           <classifier>jdk15</classifier>
72         </dependency -->
73     </dependencies>
74
75     <dependencyManagement>
76         <dependencies>
77
78             <dependency>
79                 <groupId>javax.persistence</groupId>
80                 <artifactId>persistence-api</artifactId>
81                 <version>1.0</version>
82                 <scope>provided</scope>
83             </dependency>
84             <dependency>
85                 <groupId>javax.activation</groupId>
86                 <artifactId>activation</artifactId>
87                 <version>1.1</version>
88             </dependency>
89             <dependency>
90                 <groupId>javax.mail</groupId>
91                 <artifactId>mail</artifactId>
92                 <version>1.4.1</version>
93             </dependency>
94             <dependency>
95                 <groupId>javax.servlet</groupId>
96                 <artifactId>servlet-api</artifactId>
97                 <version>2.3</version>
98                 <type>jar</type>
99                 <scope>provided</scope>
100             </dependency>
101             <dependency>
102                 <groupId>mysql</groupId>
103                 <artifactId>mysql-connector-java</artifactId>
104                 <version>3.1.14</version>
105             </dependency>
106             <dependency>
107                 <groupId>org.apache.derby</groupId>
108                 <artifactId>derby</artifactId>
109                 <version>10.3.2.1</version>
110             </dependency>
111             <dependency>
112                 <groupId>org.apache.derby</groupId>
113                 <artifactId>derbyclient</artifactId>
114                 <version>10.3.2.1</version>
115             </dependency>
116             <dependency>
117                 <groupId>org.apache.derby</groupId>
118                 <artifactId>derbynet</artifactId>
119                 <version>10.3.2.1</version>
120             </dependency>
121             <dependency>
122                 <groupId>quartz</groupId>
123                 <artifactId>quartz</artifactId>
124                 <version>1.5.1</version>
125             </dependency>
126             <dependency>
127                 <groupId>jtidy</groupId>
128                 <artifactId>jtidy</artifactId>
129                 <version>4aug2000r7-dev</version>
130             </dependency>
131
132
133             <dependency>
134                 <groupId>commons-logging</groupId>
135                 <artifactId>commons-logging</artifactId>
136                 <version>1.0.2</version>
137             </dependency>
138             <dependency>
139                 <groupId>commons-httpclient</groupId>
140                 <artifactId>commons-httpclient</artifactId>
141                 <version>3.0</version>
142             </dependency>
143             <dependency>
144                 <groupId>commons-beanutils</groupId>
145                 <artifactId>commons-beanutils</artifactId>
146                 <version>1.7.0</version>
147             </dependency>
148             <dependency>
149                 <groupId>org.springframework</groupId>
150                 <artifactId>spring-beans</artifactId>
151                 <version>${spring.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>org.springframework</groupId>
155                 <artifactId>spring-web</artifactId>
156                 <version>${spring.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>org.springframework</groupId>
160                 <artifactId>spring-jms</artifactId>
161                 <version>${spring.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>org.springframework</groupId>
165                 <artifactId>spring-context</artifactId>
166                 <version>${spring.version}</version>
167             </dependency>
168             <dependency>
169                 <groupId>org.springframework</groupId>
170                 <artifactId>spring-hibernate3</artifactId>
171                 <version>${spring.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>org.springframework</groupId>
175                 <artifactId>spring-jpa</artifactId>
176                 <version>${spring.version}</version>
177             </dependency>
178             <dependency>
179                 <groupId>org.springframework</groupId>
180                 <artifactId>spring-aop</artifactId>
181                 <version>${spring.version}</version>
182             </dependency>
183
184             <!-- should be possible to remove the dependence on log4j -->
185             <dependency>
186                 <groupId>log4j</groupId>
187                 <artifactId>log4j</artifactId>
188                 <version>1.2.8</version>
189             </dependency>
190             <dependency>
191                 <groupId>dom4j</groupId>
192                 <artifactId>dom4j</artifactId>
193                 <version>1.6</version>
194                 <exclusions>
195                     <exclusion>
196                         <groupId>xml-apis</groupId>
197                         <artifactId>xml-apis</artifactId>
198                     </exclusion>
199                 </exclusions>
200             </dependency>
201             <dependency>
202                 <groupId>net.sf.ehcache</groupId>
203                 <artifactId>ehcache</artifactId>
204                 <version>1.2.3</version>
205             </dependency>
206             <dependency>
207                 <groupId>xerces</groupId>
208                 <artifactId>xercesImpl</artifactId>
209                 <version>2.8.1</version>
210             </dependency>
211
212
213             <dependency>
214                 <groupId>commons-email</groupId>
215                 <artifactId>commons-email</artifactId>
216                 <version>1.0</version>
217             </dependency>
218             <dependency>
219                 <groupId>jaxen</groupId>
220                 <artifactId>jaxen</artifactId>
221                 <version>1.1-beta-9</version>
222                 <exclusions>
223                     <exclusion>
224                         <groupId>xom</groupId>
225                         <artifactId>xom</artifactId>
226                     </exclusion>
227                     <exclusion>
228                         <groupId>xerces</groupId>
229                         <artifactId>xmlParserAPIs</artifactId>
230                     </exclusion>
231                 </exclusions>
232             </dependency>
233             <dependency>
234                 <groupId>jstl</groupId>
235                 <artifactId>jstl</artifactId>
236                 <version>1.1.2</version>
237             </dependency>
238             <dependency>
239                 <groupId>taglibs</groupId>
240                 <artifactId>standard</artifactId>
241                 <version>1.1.2</version>
242             </dependency>
243             <dependency>
244                 <groupId>jfree</groupId>
245                 <artifactId>jfreechart</artifactId>
246                 <version>1.0.1</version>
247             </dependency>
248             <dependency>
249                 <groupId>jfree</groupId>
250                 <artifactId>jcommon</artifactId>
251                 <version>1.0.2</version>
252             </dependency>
253
254             <dependency>
255                 <groupId>javaee</groupId>
256                 <artifactId>javaee-api</artifactId>
257                 <version>5</version>
258                 <scope>provided</scope>
259             </dependency>
260
261             <dependency>
262                 <groupId>commons-codec</groupId>
263                 <artifactId>commons-codec</artifactId>
264                 <version>1.3</version>
265             </dependency>
266
267
268         </dependencies>
269     </dependencyManagement>
270
271     <build>
272         <plugins>
273             <plugin>
274                 <groupId>org.codehaus.mojo</groupId>
275                 <artifactId>jalopy-maven-plugin</artifactId>
276                 <configuration>
277                     <fileFormat>UNIX</fileFormat>
278                     <convention>org.wamblee.jalopy.xml</convention>
279                 </configuration>
280             </plugin>
281             <plugin>
282                 <groupId>org.apache.maven.plugins</groupId>
283                 <artifactId>maven-compiler-plugin</artifactId>
284                 <configuration>
285                     <source>1.6</source>
286                     <target>1.6</target>
287                 </configuration>
288             </plugin>
289
290             <plugin>
291                 <groupId>org.apache.maven.plugins</groupId>
292                 <artifactId>maven-surefire-plugin</artifactId>
293                 <configuration>
294                     <includes>
295                         <include>**/*Test.java</include>
296                     </includes>
297                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
298                 </configuration>
299             </plugin>
300
301             <!-- Make sure other projects can use (or the test support
302            and test classes from the projects it uses. To use
303            a dependence on a test library of a project, an additinoal
304            dependence must be added with <type>test-jar</type>
305         -->
306
307             <plugin>
308                 <groupId>org.apache.maven.plugins</groupId>
309                 <artifactId>maven-jar-plugin</artifactId>
310                 <executions>
311                     <execution>
312                         <goals>
313                             <goal>test-jar</goal>
314                         </goals>
315                     </execution>
316                 </executions>
317             </plugin>
318
319             <plugin>
320                 <groupId>org.codehaus.mojo</groupId>
321                 <artifactId>cobertura-maven-plugin</artifactId>
322                 <executions>
323                     <execution>
324                         <goals>
325                             <goal>clean</goal>
326                         </goals>
327                     </execution>
328                 </executions>
329                 <configuration>
330                     <instrumentation>
331                         <excludes>
332                             <exclude>org/wamblee/crawler/kiss/**/*.class</exclude>
333                             <exclude>org/wamblee/mythtv/**/*.class</exclude>
334                         </excludes>
335                     </instrumentation>
336                 </configuration>
337             </plugin>
338
339
340         </plugins>
341
342     </build>
343
344     <reporting>
345         <plugins>
346             <plugin>
347                 <groupId>org.apache.maven.plugins</groupId>
348                 <artifactId>maven-project-info-reports-plugin</artifactId>
349                 <reportSets>
350                     <reportSet>
351                         <reports>
352                             <report>checkstyle</report>
353                             <report>javadoc</report>
354                             <report>dependencies</report>
355                             <report>project-team</report>
356                             <report>mailing-list</report>
357                             <report>issue-tracking</report>
358                             <report>license</report>
359                             <report>scm</report>
360                         </reports>
361                     </reportSet>
362                 </reportSets>
363             </plugin>
364             <plugin>
365                 <groupId>org.codehaus.mojo</groupId>
366                 <artifactId>changes-maven-plugin</artifactId>
367                 <version>2.0-beta-1</version>
368                 <reportSets>
369                     <reportSet>
370                         <reports>
371                             <report>changes-report</report>
372                         </reports>
373                     </reportSet>
374                 </reportSets>
375             </plugin>
376             <plugin>
377                 <groupId>org.apache.maven.plugins</groupId>
378                 <artifactId>maven-javadoc-plugin</artifactId>
379             </plugin>
380             <plugin>
381                 <groupId>org.codehaus.mojo</groupId>
382                 <artifactId>surefire-report-maven-plugin</artifactId>
383             </plugin>
384             <!-- Test coverage reporting -->
385             <plugin>
386                 <groupId>org.codehaus.mojo</groupId>
387                 <artifactId>cobertura-maven-plugin</artifactId>
388                 <configuration>
389                     <formats>
390                         <format>xml</format>
391                         <format>html</format>
392                     </formats>
393                 </configuration>
394             </plugin>
395
396             <!-- checkstyle -->
397             <plugin>
398                 <groupId>org.apache.maven.plugins</groupId>
399                 <artifactId>maven-checkstyle-plugin</artifactId>
400                 <configuration>
401                     <configLocation>config/sun_checks.xml</configLocation>
402                 </configuration>
403             </plugin>
404
405             <!-- taglist -->
406             <plugin>
407                 <groupId>org.codehaus.mojo</groupId>
408                 <artifactId>taglist-maven-plugin</artifactId>
409                 <configuration>
410                     <tags>
411                         <tag>TODO</tag>
412                         <tag>@todo</tag>
413                         <tag>FIXME</tag>
414                     </tags>
415                 </configuration>
416             </plugin>
417
418         </plugins>
419     </reporting>
420
421     <repositories>
422         <repository>
423             <id>javaee</id>
424             <name>Java EE repo at SUN</name>
425             <url>http://download.java.net/maven/1</url>
426             <layout>legacy</layout>
427         </repository>
428     </repositories>
429
430     <properties>
431         <spring.version>2.0.8</spring.version>
432         <jmock.version>2.4.0</jmock.version>
433     </properties>
434
435 </project>