Now the pom complies to the requirements of the central maven repo.
[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>/</name>
10     <description>wamblee.org utilities library</description>
11     <url>http://wamblee.org</url>
12     <licenses>
13         <license>
14             <name>The Apache Software License, Version 2.0</name>
15             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
16             <distribution>repo</distribution>
17         </license>
18     </licenses>
19     <scm>
20         <url>http://wamblee.org/svn/public</url>
21     </scm>
22
23     <modules>
24         <module>support</module>
25         <module>system</module>
26         <module>hibernate-jpa</module>
27         <module>security</module>
28         <module>socketproxy</module>
29         <module>crawler</module>
30         <module>gps</module>
31         <module>mythtv</module>
32     </modules>
33     <dependencies>
34         <dependency>
35             <groupId>junit</groupId>
36             <artifactId>junit</artifactId>
37             <scope>test</scope>
38         </dependency>
39         <dependency>
40             <groupId>org.dbunit</groupId>
41             <artifactId>dbunit</artifactId>
42             <scope>test</scope>
43         </dependency>
44         <dependency>
45             <groupId>org.apache.derby</groupId>
46             <artifactId>derby</artifactId>
47             <scope>test</scope>
48         </dependency>
49         <dependency>
50             <groupId>org.apache.derby</groupId>
51             <artifactId>derbyclient</artifactId>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>org.apache.derby</groupId>
56             <artifactId>derbynet</artifactId>
57             <scope>test</scope>
58         </dependency>
59         <dependency>
60             <groupId>org.slf4j</groupId>
61             <artifactId>slf4j-api</artifactId>
62             <scope>test</scope>
63         </dependency>
64         <dependency>
65             <groupId>org.slf4j</groupId>
66             <artifactId>slf4j-jdk14</artifactId>
67             <scope>test</scope>
68         </dependency>
69
70         <dependency>
71             <groupId>mysql</groupId>
72             <artifactId>mysql-connector-java</artifactId>
73             <scope>test</scope>
74         </dependency>
75         <dependency>
76             <groupId>org.mockito</groupId>
77             <artifactId>mockito-all</artifactId>
78             <version>1.8.0</version>
79             <scope>test</scope>
80         </dependency>
81
82         <!-- dependency>
83           <groupId>org.testng</groupId>
84           <artifactId>testng</artifactId>
85           <version>5.7</version>
86           <scope>test</scope>
87           <classifier>jdk15</classifier>
88         </dependency -->
89     </dependencies>
90
91     <dependencyManagement>
92         <dependencies>
93
94             <dependency>
95                 <groupId>oro</groupId>
96                 <artifactId>oro</artifactId>
97                 <version>2.0.6</version>
98             </dependency>
99
100
101             <dependency>
102                 <groupId>javax.transaction</groupId>
103                 <artifactId>transaction-api</artifactId>
104                 <version>1.1</version>
105             </dependency>
106
107             <dependency>
108                 <groupId>junit</groupId>
109                 <artifactId>junit</artifactId>
110                 <version>4.4</version>
111             </dependency>
112             <dependency>
113                 <groupId>org.dbunit</groupId>
114                 <artifactId>dbunit</artifactId>
115                 <version>2.4.7</version>
116             </dependency>
117             <dependency>
118                 <groupId>org.slf4j</groupId>
119                 <artifactId>slf4j-api</artifactId>
120                 <version>1.5.11</version>
121             </dependency>
122             <dependency>
123                 <groupId>org.slf4j</groupId>
124                 <artifactId>slf4j-jdk14</artifactId>
125                 <version>1.5.11</version>
126             </dependency>
127
128             <dependency>
129                 <groupId>javax.persistence</groupId>
130                 <artifactId>persistence-api</artifactId>
131                 <version>1.0</version>
132                 <scope>provided</scope>
133             </dependency>
134             <dependency>
135                 <groupId>javax.activation</groupId>
136                 <artifactId>activation</artifactId>
137                 <version>1.1</version>
138             </dependency>
139             <dependency>
140                 <groupId>javax.mail</groupId>
141                 <artifactId>mail</artifactId>
142                 <version>1.4.1</version>
143             </dependency>
144             <dependency>
145                 <groupId>javax.servlet</groupId>
146                 <artifactId>servlet-api</artifactId>
147                 <version>2.3</version>
148                 <type>jar</type>
149                 <scope>provided</scope>
150             </dependency>
151             <dependency>
152                 <groupId>mysql</groupId>
153                 <artifactId>mysql-connector-java</artifactId>
154                 <version>5.1.12</version>
155             </dependency>
156             <dependency>
157                 <groupId>org.apache.derby</groupId>
158                 <artifactId>derby</artifactId>
159                 <version>10.5.3.0_1</version>
160             </dependency>
161             <dependency>
162                 <groupId>org.apache.derby</groupId>
163                 <artifactId>derbyclient</artifactId>
164                 <version>10.5.3.0_1</version>
165             </dependency>
166             <dependency>
167                 <groupId>org.apache.derby</groupId>
168                 <artifactId>derbynet</artifactId>
169                 <version>10.5.3.0_1</version>
170             </dependency>
171             <dependency>
172                 <groupId>quartz</groupId>
173                 <artifactId>quartz</artifactId>
174                 <version>1.5.1</version>
175             </dependency>
176             <dependency>
177                 <groupId>jtidy</groupId>
178                 <artifactId>jtidy</artifactId>
179                 <version>4aug2000r7-dev</version>
180             </dependency>
181
182
183             <dependency>
184                 <groupId>commons-logging</groupId>
185                 <artifactId>commons-logging</artifactId>
186                 <version>1.0.2</version>
187             </dependency>
188             <dependency>
189                 <groupId>commons-httpclient</groupId>
190                 <artifactId>commons-httpclient</artifactId>
191                 <version>3.0</version>
192             </dependency>
193             <dependency>
194                 <groupId>commons-beanutils</groupId>
195                 <artifactId>commons-beanutils</artifactId>
196                 <version>1.7.0</version>
197             </dependency>
198             <dependency>
199                 <groupId>org.springframework</groupId>
200                 <artifactId>spring-beans</artifactId>
201                 <version>${spring.version}</version>
202             </dependency>
203             <dependency>
204                 <groupId>org.springframework</groupId>
205                 <artifactId>spring-web</artifactId>
206                 <version>${spring.version}</version>
207             </dependency>
208             <dependency>
209                 <groupId>org.springframework</groupId>
210                 <artifactId>spring-jms</artifactId>
211                 <version>${spring.version}</version>
212             </dependency>
213             <dependency>
214                 <groupId>org.springframework</groupId>
215                 <artifactId>spring-context</artifactId>
216                 <version>${spring.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.springframework</groupId>
220                 <artifactId>spring-hibernate3</artifactId>
221                 <version>${spring.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>org.springframework</groupId>
225                 <artifactId>spring-jpa</artifactId>
226                 <version>${spring.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.springframework</groupId>
230                 <artifactId>spring-aop</artifactId>
231                 <version>${spring.version}</version>
232             </dependency>
233
234             <!-- should be possible to remove the dependence on log4j -->
235             <dependency>
236                 <groupId>log4j</groupId>
237                 <artifactId>log4j</artifactId>
238                 <version>1.2.8</version>
239             </dependency>
240             <dependency>
241                 <groupId>dom4j</groupId>
242                 <artifactId>dom4j</artifactId>
243                 <version>1.6</version>
244                 <exclusions>
245                     <exclusion>
246                         <groupId>xml-apis</groupId>
247                         <artifactId>xml-apis</artifactId>
248                     </exclusion>
249                 </exclusions>
250             </dependency>
251             <dependency>
252                 <groupId>net.sf.ehcache</groupId>
253                 <artifactId>ehcache</artifactId>
254                 <version>1.2.3</version>
255             </dependency>
256             <dependency>
257                 <groupId>xerces</groupId>
258                 <artifactId>xercesImpl</artifactId>
259                 <version>2.8.1</version>
260             </dependency>
261
262
263             <dependency>
264                 <groupId>commons-email</groupId>
265                 <artifactId>commons-email</artifactId>
266                 <version>1.0</version>
267             </dependency>
268             <dependency>
269                 <groupId>jaxen</groupId>
270                 <artifactId>jaxen</artifactId>
271                 <version>1.1-beta-9</version>
272                 <exclusions>
273                     <exclusion>
274                         <groupId>xom</groupId>
275                         <artifactId>xom</artifactId>
276                     </exclusion>
277                     <exclusion>
278                         <groupId>xerces</groupId>
279                         <artifactId>xmlParserAPIs</artifactId>
280                     </exclusion>
281                 </exclusions>
282             </dependency>
283             <dependency>
284                 <groupId>jstl</groupId>
285                 <artifactId>jstl</artifactId>
286                 <version>1.1.2</version>
287             </dependency>
288             <dependency>
289                 <groupId>taglibs</groupId>
290                 <artifactId>standard</artifactId>
291                 <version>1.1.2</version>
292             </dependency>
293             <dependency>
294                 <groupId>jfree</groupId>
295                 <artifactId>jfreechart</artifactId>
296                 <version>1.0.1</version>
297             </dependency>
298             <dependency>
299                 <groupId>jfree</groupId>
300                 <artifactId>jcommon</artifactId>
301                 <version>1.0.2</version>
302             </dependency>
303
304             <dependency>
305                 <groupId>javaee</groupId>
306                 <artifactId>javaee-api</artifactId>
307                 <version>5</version>
308                 <scope>provided</scope>
309             </dependency>
310
311             <dependency>
312                 <groupId>commons-codec</groupId>
313                 <artifactId>commons-codec</artifactId>
314                 <version>1.3</version>
315             </dependency>
316
317             <dependency>
318                 <groupId>commons-dbcp</groupId>
319                 <artifactId>commons-dbcp</artifactId>
320                 <version>1.4</version>
321             </dependency>
322             <dependency>
323                 <groupId>toplink.essentials</groupId>
324                 <artifactId>toplink-essentials</artifactId>
325                 <version>2.0-36</version>
326             </dependency>
327             <dependency>
328                 <groupId>org.eclipse.persistence</groupId>
329                 <artifactId>eclipselink</artifactId>
330                 <version>2.0.0</version>
331                 <scope>compile</scope>
332             </dependency>
333
334
335
336         </dependencies>
337     </dependencyManagement>
338
339     <build>
340         <plugins>
341             <plugin>
342                 <groupId>org.codehaus.mojo</groupId>
343                 <artifactId>jalopy-maven-plugin</artifactId>
344                 <configuration>
345                     <fileFormat>UNIX</fileFormat>
346                     <convention>org.wamblee.jalopy.xml</convention>
347                 </configuration>
348             </plugin>
349             <plugin>
350                 <groupId>org.apache.maven.plugins</groupId>
351                 <artifactId>maven-compiler-plugin</artifactId>
352                 <configuration>
353                     <source>1.6</source>
354                     <target>1.6</target>
355                 </configuration>
356             </plugin>
357
358             <plugin>
359                 <groupId>org.apache.maven.plugins</groupId>
360                 <artifactId>maven-surefire-plugin</artifactId>
361                 <configuration>
362                     <includes>
363                         <include>**/*Test.java</include>
364                     </includes>
365                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
366                 </configuration>
367             </plugin>
368
369             <!-- Make sure other projects can use (or the test support
370            and test classes from the projects it uses. To use
371            a dependence on a test library of a project, an additinoal
372            dependence must be added with <type>test-jar</type>
373         -->
374
375             <plugin>
376                 <groupId>org.apache.maven.plugins</groupId>
377                 <artifactId>maven-jar-plugin</artifactId>
378                 <executions>
379                     <execution>
380                         <goals>
381                             <goal>test-jar</goal>
382                         </goals>
383                     </execution>
384                 </executions>
385             </plugin>
386
387             <plugin>
388                 <groupId>org.codehaus.mojo</groupId>
389                 <artifactId>cobertura-maven-plugin</artifactId>
390                 <executions>
391                     <execution>
392                         <goals>
393                             <goal>clean</goal>
394                         </goals>
395                     </execution>
396                 </executions>
397                 <configuration>
398                     <instrumentation>
399                         <excludes>
400                             <exclude>org/wamblee/crawler/kiss/**/*.class</exclude>
401                             <exclude>org/wamblee/mythtv/**/*.class</exclude>
402                         </excludes>
403                     </instrumentation>
404                 </configuration>
405             </plugin>
406
407
408         </plugins>
409
410     </build>
411
412     <reporting>
413         <plugins>
414             <plugin>
415                 <groupId>org.apache.maven.plugins</groupId>
416                 <artifactId>maven-project-info-reports-plugin</artifactId>
417                 <reportSets>
418                     <reportSet>
419                         <reports>
420                             <report>checkstyle</report>
421                             <report>javadoc</report>
422                             <report>dependencies</report>
423                             <report>project-team</report>
424                             <report>mailing-list</report>
425                             <report>issue-tracking</report>
426                             <report>license</report>
427                             <report>scm</report>
428                         </reports>
429                     </reportSet>
430                 </reportSets>
431             </plugin>
432             <plugin>
433                 <groupId>org.codehaus.mojo</groupId>
434                 <artifactId>changes-maven-plugin</artifactId>
435                 <version>2.0-beta-1</version>
436                 <reportSets>
437                     <reportSet>
438                         <reports>
439                             <report>changes-report</report>
440                         </reports>
441                     </reportSet>
442                 </reportSets>
443             </plugin>
444             <plugin>
445                 <groupId>org.apache.maven.plugins</groupId>
446                 <artifactId>maven-javadoc-plugin</artifactId>
447             </plugin>
448             <plugin>
449                 <groupId>org.codehaus.mojo</groupId>
450                 <artifactId>surefire-report-maven-plugin</artifactId>
451             </plugin>
452             <!-- Test coverage reporting -->
453             <plugin>
454                 <groupId>org.codehaus.mojo</groupId>
455                 <artifactId>cobertura-maven-plugin</artifactId>
456                 <configuration>
457                     <formats>
458                         <format>xml</format>
459                         <format>html</format>
460                     </formats>
461                 </configuration>
462             </plugin>
463
464             <!-- checkstyle -->
465             <plugin>
466                 <groupId>org.apache.maven.plugins</groupId>
467                 <artifactId>maven-checkstyle-plugin</artifactId>
468                 <configuration>
469                     <configLocation>config/sun_checks.xml</configLocation>
470                 </configuration>
471             </plugin>
472
473             <!-- taglist -->
474             <plugin>
475                 <groupId>org.codehaus.mojo</groupId>
476                 <artifactId>taglist-maven-plugin</artifactId>
477                 <configuration>
478                     <tags>
479                         <tag>TODO</tag>
480                         <tag>@todo</tag>
481                         <tag>FIXME</tag>
482                     </tags>
483                 </configuration>
484             </plugin>
485
486         </plugins>
487     </reporting>
488
489     <repositories>
490         <repository>
491             <id>javaee</id>
492             <name>Java EE repo at SUN</name>
493             <url>http://download.java.net/maven/1</url>
494             <layout>legacy</layout>
495         </repository>
496         <repository>
497             <id>EclipseLink Repo</id>
498             <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
499         </repository>
500
501     </repositories>
502
503     <profiles>
504         <profile>
505             <id>release</id>
506             <build>
507                 <plugins>
508                     <plugin>
509                         <groupId>org.apache.maven.plugins</groupId>
510                         <artifactId>maven-gpg-plugin</artifactId>
511                         <executions>
512                             <execution>
513                                 <id>sign-artifacts</id>
514                                 <phase>verify</phase>
515                                 <goals>
516                                     <goal>sign</goal>
517                                 </goals>
518                             </execution>
519                         </executions>
520                     </plugin>
521                 </plugins>
522             </build>
523         </profile>
524     </profiles>
525
526
527     <properties>
528         <spring.version>2.0.8</spring.version>
529         <jmock.version>2.4.0</jmock.version>
530     </properties>
531
532 </project>