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