Removed DOCUMENT ME comments that were generated and applied source code
[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.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>https://wamblee.org/viewvc/utils</url>
21         <connection>scm:svn:https://wamblee.org/svn/public/utils/trunk</connection>
22         <developerConnection>scm:svn:https://wamblee.org/svn/public/utils/trunk</developerConnection>
23     </scm>
24     <developers>
25         <developer>
26             <email>erik@wamblee.org</email>
27             <name>Erik Brakkee</name>
28             <url>http://brakkee.org</url>
29         </developer>
30     </developers>
31
32     <modules>
33         <module>support</module>
34         <module>system</module>
35         <module>hibernate-jpa</module>
36         <module>security</module>
37         <module>test</module>
38     </modules>
39     <dependencies>
40         <dependency>
41             <groupId>junit</groupId>
42             <artifactId>junit</artifactId>
43             <scope>test</scope>
44         </dependency>
45         <dependency>
46             <groupId>org.dbunit</groupId>
47             <artifactId>dbunit</artifactId>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>org.apache.derby</groupId>
52             <artifactId>derby</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.apache.derby</groupId>
57             <artifactId>derbyclient</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>org.apache.derby</groupId>
62             <artifactId>derbynet</artifactId>
63             <scope>test</scope>
64         </dependency>
65         <dependency>
66             <groupId>org.slf4j</groupId>
67             <artifactId>slf4j-api</artifactId>
68             <scope>test</scope>
69         </dependency>
70         <dependency>
71             <groupId>org.slf4j</groupId>
72             <artifactId>slf4j-jdk14</artifactId>
73             <scope>test</scope>
74         </dependency>
75
76         <dependency>
77             <groupId>mysql</groupId>
78             <artifactId>mysql-connector-java</artifactId>
79             <scope>test</scope>
80         </dependency>
81         <dependency>
82             <groupId>org.mockito</groupId>
83             <artifactId>mockito-all</artifactId>
84             <version>1.8.0</version>
85             <scope>test</scope>
86         </dependency>
87
88         <!-- dependency>
89           <groupId>org.testng</groupId>
90           <artifactId>testng</artifactId>
91           <version>5.7</version>
92           <scope>test</scope>
93           <classifier>jdk15</classifier>
94         </dependency -->
95     </dependencies>
96
97     <dependencyManagement>
98         <dependencies>
99
100             <dependency>
101                 <groupId>oro</groupId>
102                 <artifactId>oro</artifactId>
103                 <version>2.0.6</version>
104             </dependency>
105
106
107             <dependency>
108                 <groupId>javax.transaction</groupId>
109                 <artifactId>transaction-api</artifactId>
110                 <version>1.1</version>
111             </dependency>
112
113             <dependency>
114                 <groupId>junit</groupId>
115                 <artifactId>junit</artifactId>
116                 <version>4.4</version>
117             </dependency>
118             <dependency>
119                 <groupId>org.dbunit</groupId>
120                 <artifactId>dbunit</artifactId>
121                 <version>2.4.7</version>
122             </dependency>
123             <dependency>
124                 <groupId>org.slf4j</groupId>
125                 <artifactId>slf4j-api</artifactId>
126                 <version>1.5.11</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.slf4j</groupId>
130                 <artifactId>slf4j-jdk14</artifactId>
131                 <version>1.5.11</version>
132             </dependency>
133
134             <dependency>
135                 <groupId>javax.persistence</groupId>
136                 <artifactId>persistence-api</artifactId>
137                 <version>1.0</version>
138                 <scope>provided</scope>
139             </dependency>
140             <dependency>
141                 <groupId>javax.activation</groupId>
142                 <artifactId>activation</artifactId>
143                 <version>1.1</version>
144             </dependency>
145             <dependency>
146                 <groupId>javax.mail</groupId>
147                 <artifactId>mail</artifactId>
148                 <version>1.4.1</version>
149             </dependency>
150             <dependency>
151                 <groupId>javax.servlet</groupId>
152                 <artifactId>servlet-api</artifactId>
153                 <version>2.3</version>
154                 <type>jar</type>
155                 <scope>provided</scope>
156             </dependency>
157             <dependency>
158                 <groupId>mysql</groupId>
159                 <artifactId>mysql-connector-java</artifactId>
160                 <version>5.1.12</version>
161             </dependency>
162             <dependency>
163                 <groupId>org.apache.derby</groupId>
164                 <artifactId>derby</artifactId>
165                 <version>10.5.3.0_1</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.apache.derby</groupId>
169                 <artifactId>derbyclient</artifactId>
170                 <version>10.5.3.0_1</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.apache.derby</groupId>
174                 <artifactId>derbynet</artifactId>
175                 <version>10.5.3.0_1</version>
176             </dependency>
177             <dependency>
178                 <groupId>quartz</groupId>
179                 <artifactId>quartz</artifactId>
180                 <version>1.5.1</version>
181             </dependency>
182             <dependency>
183                 <groupId>jtidy</groupId>
184                 <artifactId>jtidy</artifactId>
185                 <version>4aug2000r7-dev</version>
186             </dependency>
187
188
189             <dependency>
190                 <groupId>commons-logging</groupId>
191                 <artifactId>commons-logging</artifactId>
192                 <version>1.0.2</version>
193             </dependency>
194             <dependency>
195                 <groupId>commons-httpclient</groupId>
196                 <artifactId>commons-httpclient</artifactId>
197                 <version>3.0</version>
198             </dependency>
199             <dependency>
200                 <groupId>commons-beanutils</groupId>
201                 <artifactId>commons-beanutils</artifactId>
202                 <version>1.7.0</version>
203             </dependency>
204             <dependency>
205                 <groupId>org.springframework</groupId>
206                 <artifactId>spring-beans</artifactId>
207                 <version>${spring.version}</version>
208             </dependency>
209             <dependency>
210                 <groupId>org.springframework</groupId>
211                 <artifactId>spring-web</artifactId>
212                 <version>${spring.version}</version>
213             </dependency>
214             <dependency>
215                 <groupId>org.springframework</groupId>
216                 <artifactId>spring-jms</artifactId>
217                 <version>${spring.version}</version>
218             </dependency>
219             <dependency>
220                 <groupId>org.springframework</groupId>
221                 <artifactId>spring-context</artifactId>
222                 <version>${spring.version}</version>
223             </dependency>
224             <dependency>
225                 <groupId>org.springframework</groupId>
226                 <artifactId>spring-hibernate3</artifactId>
227                 <version>${spring.version}</version>
228             </dependency>
229             <dependency>
230                 <groupId>org.springframework</groupId>
231                 <artifactId>spring-jpa</artifactId>
232                 <version>${spring.version}</version>
233             </dependency>
234             <dependency>
235                 <groupId>org.springframework</groupId>
236                 <artifactId>spring-aop</artifactId>
237                 <version>${spring.version}</version>
238             </dependency>
239
240             <!-- should be possible to remove the dependence on log4j -->
241             <dependency>
242                 <groupId>log4j</groupId>
243                 <artifactId>log4j</artifactId>
244                 <version>1.2.8</version>
245             </dependency>
246             <dependency>
247                 <groupId>dom4j</groupId>
248                 <artifactId>dom4j</artifactId>
249                 <version>1.6</version>
250                 <exclusions>
251                     <exclusion>
252                         <groupId>xml-apis</groupId>
253                         <artifactId>xml-apis</artifactId>
254                     </exclusion>
255                 </exclusions>
256             </dependency>
257             <dependency>
258                 <groupId>net.sf.ehcache</groupId>
259                 <artifactId>ehcache</artifactId>
260                 <version>1.2.3</version>
261             </dependency>
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>javax</groupId>
306                 <artifactId>javaee-api</artifactId>
307                 <version>6.0</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         </dependencies>
335     </dependencyManagement>
336
337     <build>
338         <plugins>
339             <plugin>
340                 <groupId>org.apache.maven.plugins</groupId>
341                 <artifactId>maven-release-plugin</artifactId>
342                 <version>2.0</version>
343                 <configuration>
344                     <autoVersionSubmodules>true</autoVersionSubmodules>
345                     <goals>javadoc:jar deploy</goals>
346                 </configuration>
347             </plugin>
348             <plugin>
349                 <groupId>org.apache.maven.plugins</groupId>
350                 <artifactId>maven-checkstyle-plugin</artifactId>
351                 <version>2.5</version>
352                 <dependencies>
353                     <dependency>
354                         <groupId>org.wamblee</groupId>
355                         <artifactId>wamblee-code-style</artifactId>
356                         <version>1.0</version>
357                     </dependency>
358                 </dependencies>
359             </plugin>
360
361             <plugin>
362                 <artifactId>maven-clean-plugin</artifactId>
363                 <version>2.4</version>
364                 <configuration>
365                     <filesets>
366                         <fileset>
367                             <directory>.</directory>
368                             <includes>
369                                 <include>derby.log</include>
370                                 <include>createDDL.jdbc</include>
371                                 <include>dropDDL.jdbc</include>
372                             </includes>
373                             <excludes>
374                                 <exclude>**/important.log</exclude>
375                                 <exclude>**/another-important.log</exclude>
376                             </excludes>
377                             <followSymlinks>false</followSymlinks>
378                         </fileset>
379                     </filesets>
380                 </configuration>
381             </plugin>
382
383             <plugin>
384                 <groupId>org.codehaus.mojo</groupId>
385                 <artifactId>jalopy-maven-plugin</artifactId>
386                 <configuration>
387                     <fileFormat>UNIX</fileFormat>
388                     <convention>org.wamblee.jalopy.xml</convention>
389                 </configuration>
390                 <dependencies>
391                     <dependency>
392                         <groupId>org.wamblee</groupId>
393                         <artifactId>wamblee-code-style</artifactId>
394                         <version>1.1-SNAPSHOT</version>
395                     </dependency>
396                 </dependencies>
397             </plugin>
398             <plugin>
399                 <groupId>org.apache.maven.plugins</groupId>
400                 <artifactId>maven-compiler-plugin</artifactId>
401                 <configuration>
402                     <source>1.6</source>
403                     <target>1.6</target>
404                 </configuration>
405             </plugin>
406
407             <plugin>
408                 <groupId>org.apache.maven.plugins</groupId>
409                 <artifactId>maven-surefire-plugin</artifactId>
410                 <configuration>
411                     <includes>
412                         <include>**/*Test.java</include>
413                     </includes>
414                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
415                 </configuration>
416             </plugin>
417
418             <!-- Make sure other projects can use (or the test support
419            and test classes from the projects it uses. To use
420            a dependence on a test library of a project, an additinoal
421            dependence must be added with <type>test-jar</type>
422         -->
423
424             <plugin>
425                 <groupId>org.apache.maven.plugins</groupId>
426                 <artifactId>maven-jar-plugin</artifactId>
427                 <executions>
428                     <execution>
429                         <goals>
430                             <goal>test-jar</goal>
431                         </goals>
432                     </execution>
433                 </executions>
434             </plugin>
435
436             <plugin>
437                 <groupId>org.codehaus.mojo</groupId>
438                 <artifactId>cobertura-maven-plugin</artifactId>
439                 <version>2.3</version>
440                 <executions>
441                     <execution>
442                         <goals>
443                             <goal>clean</goal>
444                         </goals>
445                     </execution>
446                 </executions>
447                 <configuration>
448                     <instrumentation>
449                         <excludes> </excludes>
450                     </instrumentation>
451                 </configuration>
452             </plugin>
453
454
455         </plugins>
456
457     </build>
458
459     <reporting>
460         <plugins>
461             <plugin>
462                 <groupId>org.apache.maven.plugins</groupId>
463                 <artifactId>maven-project-info-reports-plugin</artifactId>
464                 <reportSets>
465                     <reportSet>
466                         <reports>
467                             <report>checkstyle</report>
468                             <report>javadoc</report>
469                             <report>dependencies</report>
470                             <report>project-team</report>
471                             <report>mailing-list</report>
472                             <report>issue-tracking</report>
473                             <report>license</report>
474                             <report>scm</report>
475                         </reports>
476                     </reportSet>
477                 </reportSets>
478             </plugin>
479             <plugin>
480                 <groupId>org.codehaus.mojo</groupId>
481                 <artifactId>findbugs-maven-plugin</artifactId>
482                 <version>2.3.1</version>
483                 <configuration>
484                     <xmlOutput>true</xmlOutput>
485                     <!-- Optional derectory to put findbugs xdoc xml report -->
486                     <xmlOutputDirectory>target/site</xmlOutputDirectory>
487                     <findbugsXmlOutput>true</findbugsXmlOutput>
488                     <!-- Optional directory to put findbugs xml report -->
489                     <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
490                 </configuration>
491
492             </plugin>
493
494             <plugin>
495                 <groupId>org.codehaus.mojo</groupId>
496                 <artifactId>changes-maven-plugin</artifactId>
497                 <version>2.0-beta-1</version>
498                 <reportSets>
499                     <reportSet>
500                         <reports>
501                             <report>changes-report</report>
502                         </reports>
503                     </reportSet>
504                 </reportSets>
505             </plugin>
506             <plugin>
507                 <groupId>org.apache.maven.plugins</groupId>
508                 <artifactId>maven-javadoc-plugin</artifactId>
509             </plugin>
510             <plugin>
511                 <groupId>org.codehaus.mojo</groupId>
512                 <artifactId>surefire-report-maven-plugin</artifactId>
513             </plugin>
514             <!-- Test coverage reporting -->
515             <plugin>
516                 <groupId>org.codehaus.mojo</groupId>
517                 <artifactId>cobertura-maven-plugin</artifactId>
518                 <version>2.3</version>
519                 <configuration>
520                     <formats>
521                         <format>xml</format>
522                         <format>html</format>
523                     </formats>
524                 </configuration>
525             </plugin>
526
527             <!-- checkstyle -->
528             <plugin>
529                 <groupId>org.apache.maven.plugins</groupId>
530                 <artifactId>maven-checkstyle-plugin</artifactId>
531                 <version>2.5</version>
532                 <configuration>
533                     <configLocation>org.wamblee.checkstyle.xml</configLocation>
534                 </configuration>
535             </plugin>
536
537             <!-- taglist -->
538             <plugin>
539                 <groupId>org.codehaus.mojo</groupId>
540                 <artifactId>taglist-maven-plugin</artifactId>
541                 <configuration>
542                     <tags>
543                         <tag>TODO</tag>
544                         <tag>@todo</tag>
545                         <tag>FIXME</tag>
546                     </tags>
547                 </configuration>
548             </plugin>
549
550         </plugins>
551     </reporting>
552
553     <profiles>
554         <profile>
555             <id>release</id>
556             <activation>
557                 <property>
558                     <name>performRelease</name>
559                     <value>true</value>
560                 </property>
561             </activation>
562             <build>
563                 <plugins>
564                     <plugin>
565                         <groupId>org.apache.maven.plugins</groupId>
566                         <artifactId>maven-gpg-plugin</artifactId>
567                         <executions>
568                             <execution>
569                                 <id>sign-artifacts</id>
570                                 <phase>verify</phase>
571                                 <goals>
572                                     <goal>sign</goal>
573                                 </goals>
574                             </execution>
575                         </executions>
576                     </plugin>
577                 </plugins>
578             </build>
579             <distributionManagement>
580                 <repository>
581                     <id>sonatype-nexus-staging</id>
582                     <name>Nexus Release Repository</name>
583                     <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
584                 </repository>
585             </distributionManagement>
586
587         </profile>
588         <profile>
589             <id>all</id>
590             <activation>
591                 <property>
592                     <name>!performRelease</name>
593                 </property>
594             </activation>
595             <distributionManagement>
596                 <repository>
597                     <id>local</id>
598                     <name>Local directory</name>
599                     <url>file:${user.home}/java/workspace/deploy</url>
600                 </repository>
601             </distributionManagement>
602         </profile>
603     </profiles>
604
605
606     <properties>
607         <spring.version>2.0.8</spring.version>
608         <jmock.version>2.4.0</jmock.version>
609     </properties>
610
611 </project>