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