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