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