(no commit message)
[utils] / pom.xml
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6     <groupId>org.wamblee</groupId>
7     <artifactId>wamblee-utils</artifactId>
8     <packaging>pom</packaging>
9     <version>0.2.5-SNAPSHOT</version>
10     <name>/</name>
11     <description>wamblee.org utilities library</description>
12     <url>http://wamblee.org</url>
13     <licenses>
14         <license>
15             <name>The Apache Software License, Version 2.0</name>
16             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17             <distribution>repo</distribution>
18         </license>
19     </licenses>
20     <scm>
21         <url>https://wamblee.org/viewvc/utils</url>
22         <connection>scm:svn:https://wamblee.org/svn/public/utils/trunk</connection>
23         <developerConnection>scm:svn:https://wamblee.org/svn/public/utils/trunk</developerConnection>
24     </scm>
25     <developers>
26         <developer>
27             <email>erik@wamblee.org</email>
28             <name>Erik Brakkee</name>
29             <url>http://brakkee.org</url>
30         </developer>
31     </developers>
32
33     <modules>
34         <module>support</module>
35         <module>wicket</module>
36         <module>system</module>
37         <module>hibernate-jpa</module>
38         <module>security</module>
39         <module>test</module>
40     </modules>
41     <dependencies>
42         <dependency>
43             <groupId>junit</groupId>
44             <artifactId>junit</artifactId>
45             <scope>test</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.dbunit</groupId>
49             <artifactId>dbunit</artifactId>
50             <scope>test</scope>
51         </dependency>
52         <dependency>
53             <groupId>org.apache.derby</groupId>
54             <artifactId>derby</artifactId>
55             <scope>test</scope>
56         </dependency>
57         <dependency>
58             <groupId>org.apache.derby</groupId>
59             <artifactId>derbyclient</artifactId>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>org.apache.derby</groupId>
64             <artifactId>derbynet</artifactId>
65             <scope>test</scope>
66         </dependency>
67         <dependency>
68             <groupId>org.slf4j</groupId>
69             <artifactId>slf4j-api</artifactId>
70             <scope>test</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.slf4j</groupId>
74             <artifactId>slf4j-jdk14</artifactId>
75             <scope>test</scope>
76         </dependency>
77
78         <dependency>
79             <groupId>mysql</groupId>
80             <artifactId>mysql-connector-java</artifactId>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.mockito</groupId>
85             <artifactId>mockito-all</artifactId>
86             <version>1.8.5</version>
87             <scope>test</scope>
88         </dependency>
89
90         <!-- dependency>
91           <groupId>org.testng</groupId>
92           <artifactId>testng</artifactId>
93           <version>5.7</version>
94           <scope>test</scope>
95           <classifier>jdk15</classifier>
96         </dependency -->
97     </dependencies>
98
99     <dependencyManagement>
100         <dependencies>
101
102             <dependency>
103                 <groupId>org.jboss.weld</groupId>
104                 <artifactId>weld-se</artifactId>
105                 <version>1.0.1-Final</version>
106                 <scope>provided</scope>
107             </dependency>
108             
109             <dependency>
110                 <groupId>oro</groupId>
111                 <artifactId>oro</artifactId>
112                 <version>2.0.6</version>
113             </dependency>
114
115
116             <dependency>
117                 <groupId>javax.transaction</groupId>
118                 <artifactId>transaction-api</artifactId>
119                 <version>1.1</version>
120             </dependency>
121
122             <dependency>
123                 <groupId>junit</groupId>
124                 <artifactId>junit</artifactId>
125                 <version>4.4</version>
126             </dependency>
127             <dependency>
128                 <groupId>org.dbunit</groupId>
129                 <artifactId>dbunit</artifactId>
130                 <version>2.4.7</version>
131             </dependency>
132             <dependency>
133                 <groupId>org.slf4j</groupId>
134                 <artifactId>slf4j-api</artifactId>
135                 <version>1.5.11</version>
136             </dependency>
137             <dependency>
138                 <groupId>org.slf4j</groupId>
139                 <artifactId>slf4j-jdk14</artifactId>
140                 <version>1.5.11</version>
141             </dependency>
142
143             <dependency>
144                 <groupId>javax.persistence</groupId>
145                 <artifactId>persistence-api</artifactId>
146                 <version>1.0</version>
147                 <scope>provided</scope>
148             </dependency>
149             <dependency>
150                 <groupId>javax.activation</groupId>
151                 <artifactId>activation</artifactId>
152                 <version>1.1</version>
153             </dependency>
154             <dependency>
155                 <groupId>javax.mail</groupId>
156                 <artifactId>mail</artifactId>
157                 <version>1.4.1</version>
158             </dependency>
159             <dependency>
160                 <groupId>javax.servlet</groupId>
161                 <artifactId>servlet-api</artifactId>
162                 <version>2.3</version>
163                 <type>jar</type>
164                 <scope>provided</scope>
165             </dependency>
166             <dependency>
167                 <groupId>mysql</groupId>
168                 <artifactId>mysql-connector-java</artifactId>
169                 <version>5.1.12</version>
170             </dependency>
171             <dependency>
172                 <groupId>org.apache.derby</groupId>
173                 <artifactId>derby</artifactId>
174                 <version>10.5.3.0_1</version>
175             </dependency>
176             <dependency>
177                 <groupId>org.apache.derby</groupId>
178                 <artifactId>derbyclient</artifactId>
179                 <version>10.5.3.0_1</version>
180             </dependency>
181             <dependency>
182                 <groupId>org.apache.derby</groupId>
183                 <artifactId>derbynet</artifactId>
184                 <version>10.5.3.0_1</version>
185             </dependency>
186             <dependency>
187                 <groupId>quartz</groupId>
188                 <artifactId>quartz</artifactId>
189                 <version>1.5.1</version>
190             </dependency>
191             <dependency>
192                 <groupId>jtidy</groupId>
193                 <artifactId>jtidy</artifactId>
194                 <version>4aug2000r7-dev</version>
195             </dependency>
196
197
198             <dependency>
199                 <groupId>commons-logging</groupId>
200                 <artifactId>commons-logging</artifactId>
201                 <version>1.0.2</version>
202             </dependency>
203             <dependency>
204                 <groupId>commons-httpclient</groupId>
205                 <artifactId>commons-httpclient</artifactId>
206                 <version>3.0</version>
207             </dependency>
208             <dependency>
209                 <groupId>commons-beanutils</groupId>
210                 <artifactId>commons-beanutils</artifactId>
211                 <version>1.7.0</version>
212             </dependency>
213             <dependency>
214                 <groupId>org.springframework</groupId>
215                 <artifactId>spring-beans</artifactId>
216                 <version>${spring.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.springframework</groupId>
220                 <artifactId>spring-web</artifactId>
221                 <version>${spring.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>org.springframework</groupId>
225                 <artifactId>spring-jms</artifactId>
226                 <version>${spring.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.springframework</groupId>
230                 <artifactId>spring-context</artifactId>
231                 <version>${spring.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.springframework</groupId>
235                 <artifactId>spring-hibernate3</artifactId>
236                 <version>${spring.version}</version>
237             </dependency>
238             <dependency>
239                 <groupId>org.springframework</groupId>
240                 <artifactId>spring-jpa</artifactId>
241                 <version>${spring.version}</version>
242             </dependency>
243             <dependency>
244                 <groupId>org.springframework</groupId>
245                 <artifactId>spring-aop</artifactId>
246                 <version>${spring.version}</version>
247             </dependency>
248
249             <dependency>
250                 <groupId>dom4j</groupId>
251                 <artifactId>dom4j</artifactId>
252                 <version>1.6</version>
253                 <exclusions>
254                     <exclusion>
255                         <groupId>xml-apis</groupId>
256                         <artifactId>xml-apis</artifactId>
257                     </exclusion>
258                 </exclusions>
259             </dependency>
260             <dependency>
261                 <groupId>net.sf.ehcache</groupId>
262                 <artifactId>ehcache</artifactId>
263                 <version>1.2.3</version>
264             </dependency>
265
266             <dependency>
267                 <groupId>commons-email</groupId>
268                 <artifactId>commons-email</artifactId>
269                 <version>1.0</version>
270             </dependency>
271             <dependency>
272                 <groupId>jaxen</groupId>
273                 <artifactId>jaxen</artifactId>
274                 <version>1.1-beta-9</version>
275                 <exclusions>
276                     <exclusion>
277                         <groupId>xom</groupId>
278                         <artifactId>xom</artifactId>
279                     </exclusion>
280                     <exclusion>
281                         <groupId>xerces</groupId>
282                         <artifactId>xmlParserAPIs</artifactId>
283                     </exclusion>
284                 </exclusions>
285             </dependency>
286             <dependency>
287                 <groupId>jstl</groupId>
288                 <artifactId>jstl</artifactId>
289                 <version>1.1.2</version>
290             </dependency>
291             <dependency>
292                 <groupId>taglibs</groupId>
293                 <artifactId>standard</artifactId>
294                 <version>1.1.2</version>
295             </dependency>
296             <dependency>
297                 <groupId>jfree</groupId>
298                 <artifactId>jfreechart</artifactId>
299                 <version>1.0.1</version>
300             </dependency>
301             <dependency>
302                 <groupId>jfree</groupId>
303                 <artifactId>jcommon</artifactId>
304                 <version>1.0.2</version>
305             </dependency>
306
307             <dependency>
308                 <groupId>javax</groupId>
309                 <artifactId>javaee-api</artifactId>
310                 <version>6.0</version>
311                 <scope>provided</scope>
312             </dependency>
313
314             <dependency>
315                 <groupId>commons-codec</groupId>
316                 <artifactId>commons-codec</artifactId>
317                 <version>1.3</version>
318             </dependency>
319
320             <dependency>
321                 <groupId>commons-dbcp</groupId>
322                 <artifactId>commons-dbcp</artifactId>
323                 <version>1.4</version>
324             </dependency>
325             <dependency>
326                 <groupId>toplink.essentials</groupId>
327                 <artifactId>toplink-essentials</artifactId>
328                 <version>2.1-60f</version>
329             </dependency>
330             <dependency>
331                 <groupId>org.eclipse.persistence</groupId>
332                 <artifactId>eclipselink</artifactId>
333                 <version>2.0.2</version>
334                 <scope>compile</scope>
335             </dependency>
336
337         </dependencies>
338     </dependencyManagement>
339
340     <build>
341         <plugins>
342             <plugin>
343                 <groupId>org.apache.maven.plugins</groupId>
344                 <artifactId>maven-release-plugin</artifactId>
345                 <version>2.0</version>
346                 <configuration>
347                     <autoVersionSubmodules>true</autoVersionSubmodules>
348                     <goals>javadoc:jar deploy</goals>
349                 </configuration>
350             </plugin>
351             <plugin>
352                 <groupId>org.apache.maven.plugins</groupId>
353                 <artifactId>maven-checkstyle-plugin</artifactId>
354                 <version>2.5</version>
355                 <dependencies>
356                     <dependency>
357                         <groupId>org.wamblee</groupId>
358                         <artifactId>wamblee-code-style</artifactId>
359                         <version>1.1</version>
360                     </dependency>
361                 </dependencies>
362             </plugin>
363
364             <plugin>
365                 <groupId>org.codehaus.mojo</groupId>
366                 <artifactId>jalopy-maven-plugin</artifactId>
367                 <configuration>
368                     <fileFormat>UNIX</fileFormat>
369                     <convention>org.wamblee.jalopy.xml</convention>
370                 </configuration>
371                 <dependencies>
372                     <dependency>
373                         <groupId>org.wamblee</groupId>
374                         <artifactId>wamblee-code-style</artifactId>
375                         <version>1.1</version>
376                     </dependency>
377                 </dependencies>
378             </plugin>
379             <plugin>
380                 <groupId>org.apache.maven.plugins</groupId>
381                 <artifactId>maven-compiler-plugin</artifactId>
382                 <configuration>
383                     <source>1.6</source>
384                     <target>1.6</target>
385                 </configuration>
386             </plugin>
387
388             <plugin>
389                 <groupId>org.apache.maven.plugins</groupId>
390                 <artifactId>maven-surefire-plugin</artifactId>
391                 <configuration>
392                     <!-- enable forkMode to check if some tests do not setup their
393                          test fixture correctly --> 
394                     <!-- forkMode>always</forkMode -->
395                     <includes>
396                         <include>**/*Test.java</include>
397                     </includes>
398                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
399                 </configuration>
400             </plugin>
401
402             <!-- Make sure other projects can use (or the test support
403            and test classes from the projects it uses. To use
404            a dependence on a test library of a project, an additinoal
405            dependence must be added with <type>test-jar</type>
406         -->
407
408             <plugin>
409                 <groupId>org.apache.maven.plugins</groupId>
410                 <artifactId>maven-jar-plugin</artifactId>
411                 <executions>
412                     <execution>
413                         <goals>
414                             <goal>test-jar</goal>
415                         </goals>
416                     </execution>
417                 </executions>
418             </plugin>
419
420             <plugin>
421                 <groupId>org.codehaus.mojo</groupId>
422                 <artifactId>cobertura-maven-plugin</artifactId>
423                 <version>2.3</version>
424                 <executions>
425                     <execution>
426                         <goals>
427                             <goal>clean</goal>
428                         </goals>
429                     </execution>
430                 </executions>
431                 <configuration>
432                     <instrumentation>
433                         <excludes> </excludes>
434                     </instrumentation>
435                 </configuration>
436             </plugin>
437             <plugin>
438                 <artifactId>maven-site-plugin</artifactId>
439                 <configuration>
440                     <locales>en</locales>
441                 </configuration>
442             </plugin>
443
444
445         </plugins>
446
447         <pluginManagement>
448             <plugins>
449                 <plugin>
450                     <artifactId>maven-site-plugin</artifactId>
451                     <version>2.1.1</version>
452                 </plugin>
453             </plugins>
454         </pluginManagement>
455
456     </build>
457
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                 <version>2.5</version>
510             </plugin>
511             <plugin>
512                 <groupId>org.codehaus.mojo</groupId>
513                 <artifactId>surefire-report-maven-plugin</artifactId>
514             </plugin>
515             <!-- Test coverage reporting -->
516             <plugin>
517                 <groupId>org.codehaus.mojo</groupId>
518                 <artifactId>cobertura-maven-plugin</artifactId>
519                 <version>2.3</version>
520                 <configuration>
521                     <formats>
522                         <format>xml</format>
523                         <format>html</format>
524                     </formats>
525                 </configuration>
526             </plugin>
527
528             <!-- checkstyle -->
529             <plugin>
530                 <groupId>org.apache.maven.plugins</groupId>
531                 <artifactId>maven-checkstyle-plugin</artifactId>
532                 <version>2.5</version>
533                 <configuration>
534                     <configLocation>org.wamblee.checkstyle.xml</configLocation>
535                 </configuration>
536             </plugin>
537
538             <!-- taglist -->
539             <plugin>
540                 <groupId>org.codehaus.mojo</groupId>
541                 <artifactId>taglist-maven-plugin</artifactId>
542                 <configuration>
543                     <tags>
544                         <tag>TODO</tag>
545                         <tag>@todo</tag>
546                         <tag>FIXME</tag>
547                     </tags>
548                 </configuration>
549             </plugin>
550
551         </plugins>
552     </reporting>
553
554     <profiles>
555         <profile>
556             <id>release</id>
557             <activation>
558                 <property>
559                     <name>performRelease</name>
560                     <value>true</value>
561                 </property>
562             </activation>
563             <build>
564                 <plugins>
565                     <plugin>
566                         <groupId>org.apache.maven.plugins</groupId>
567                         <artifactId>maven-gpg-plugin</artifactId>
568                         <executions>
569                             <execution>
570                                 <id>sign-artifacts</id>
571                                 <phase>verify</phase>
572                                 <goals>
573                                     <goal>sign</goal>
574                                 </goals>
575                             </execution>
576                         </executions>
577                     </plugin>
578                 </plugins>
579             </build>
580             <distributionManagement>
581                 <repository>
582                     <id>sonatype-nexus-staging</id>
583                     <name>Nexus Release Repository</name>
584                     <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
585                 </repository>
586             </distributionManagement>
587
588         </profile>
589         <profile>
590             <id>all</id>
591             <activation>
592                 <property>
593                     <name>!performRelease</name>
594                 </property>
595             </activation>
596             <distributionManagement>
597                 <repository>
598                     <id>local</id>
599                     <name>Local directory</name>
600                     <url>file:${user.home}/java/workspace/deploy</url>
601                 </repository>
602             </distributionManagement>
603         </profile>
604     </profiles>
605
606     <distributionManagement>
607         <site>
608             <id>test-enterprise-site</id>
609             <url>file:${distrib}/main</url>
610         </site>
611     </distributionManagement>
612
613     <properties>
614         <spring.version>2.0.8</spring.version>
615         <jmock.version>2.4.0</jmock.version>
616     </properties>
617
618 </project>