Huge refactoring.
[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
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.apache.maven.plugins</groupId>
256                 <artifactId>maven-compiler-plugin</artifactId>
257                 <configuration>
258                     <source>1.6</source>
259                     <target>1.6</target>
260                 </configuration>
261             </plugin>
262
263             <plugin>
264                 <groupId>org.apache.maven.plugins</groupId>
265                 <artifactId>maven-surefire-plugin</artifactId>
266                 <configuration>
267                     <includes>
268                         <include>**/*Test.java</include>
269                     </includes>
270                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
271                 </configuration>
272             </plugin>
273
274             <!-- Make sure other projects can use (or the test support
275            and test classes from the projects it uses. To use
276            a dependence on a test library of a project, an additinoal
277            dependence must be added with <type>test-jar</type>
278         -->
279
280             <plugin>
281                 <groupId>org.apache.maven.plugins</groupId>
282                 <artifactId>maven-jar-plugin</artifactId>
283                 <executions>
284                     <execution>
285                         <goals>
286                             <goal>test-jar</goal>
287                         </goals>
288                     </execution>
289                 </executions>
290             </plugin>
291             
292             <plugin>
293                 <groupId>org.codehaus.mojo</groupId>
294                 <artifactId>cobertura-maven-plugin</artifactId>
295                 <executions>
296                     <execution>
297                         <goals>
298                             <goal>clean</goal>
299                         </goals>
300                     </execution>
301                 </executions>
302                 <configuration>
303                     <instrumentation>
304                         <excludes>
305                           <exclude>org/wamblee/crawler/kiss/**/*.class</exclude>
306                           <exclude>org/wamblee/mythtv/**/*.class</exclude>
307                         </excludes>
308                     </instrumentation>
309                 </configuration>
310             </plugin>
311             
312
313         </plugins>
314         
315     </build>
316
317     <reporting>
318         <plugins>
319             <plugin>
320                 <groupId>org.apache.maven.plugins</groupId>
321                 <artifactId>maven-project-info-reports-plugin</artifactId>
322                 <reportSets>
323                     <reportSet>
324                         <reports>
325                             <report>checkstyle</report>
326                             <report>javadoc</report>
327                             <report>dependencies</report>
328                             <report>project-team</report>
329                             <report>mailing-list</report>
330                             <report>issue-tracking</report>
331                             <report>license</report>
332                             <report>scm</report>
333                         </reports>
334                     </reportSet>
335                 </reportSets>
336             </plugin>
337             <plugin>
338                 <groupId>org.codehaus.mojo</groupId>
339                 <artifactId>changes-maven-plugin</artifactId>
340                 <version>2.0-beta-1</version>
341                 <reportSets>
342                     <reportSet>
343                         <reports>
344                             <report>changes-report</report>
345                         </reports>
346                     </reportSet>
347                 </reportSets>
348             </plugin>
349             <plugin>
350                 <groupId>org.apache.maven.plugins</groupId>
351                 <artifactId>maven-javadoc-plugin</artifactId>
352             </plugin>
353             <plugin>
354                 <groupId>org.codehaus.mojo</groupId>
355                 <artifactId>surefire-report-maven-plugin</artifactId>
356             </plugin>
357             <!-- Test coverage reporting -->
358             <plugin>
359                 <groupId>org.codehaus.mojo</groupId>
360                 <artifactId>cobertura-maven-plugin</artifactId>
361                 <configuration>
362                   <formats>
363                     <format>xml</format>
364                   </formats>
365                 </configuration>
366             </plugin>
367
368             <!-- checkstyle -->
369             <plugin>
370                 <groupId>org.apache.maven.plugins</groupId>
371                 <artifactId>maven-checkstyle-plugin</artifactId>
372                 <configuration>
373                     <configLocation>config/sun_checks.xml</configLocation>
374                 </configuration>
375             </plugin>
376
377             <!-- taglist -->
378             <plugin>
379                 <groupId>org.codehaus.mojo</groupId>
380                 <artifactId>taglist-maven-plugin</artifactId>
381                 <configuration>
382                     <tags>
383                         <tag>TODO</tag>
384                         <tag>@todo</tag>
385                         <tag>FIXME</tag>
386                     </tags>
387                 </configuration>
388             </plugin>
389
390         </plugins>
391     </reporting>
392
393     <repositories>
394         <repository>
395             <id>javaee</id>
396             <name>Java EE repo at SUN</name>
397             <url>http://download.java.net/maven/1</url>
398             <layout>legacy</layout>
399         </repository>
400     </repositories>
401
402     <properties>
403         <spring.version>2.0.8</spring.version>
404         <jmock.version>2.4.0</jmock.version>
405     </properties>
406
407 </project>