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