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