(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                     <includes>
393                         <include>**/*Test.java</include>
394                     </includes>
395                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
396                 </configuration>
397             </plugin>
398
399             <!-- Make sure other projects can use (or the test support
400            and test classes from the projects it uses. To use
401            a dependence on a test library of a project, an additinoal
402            dependence must be added with <type>test-jar</type>
403         -->
404
405             <plugin>
406                 <groupId>org.apache.maven.plugins</groupId>
407                 <artifactId>maven-jar-plugin</artifactId>
408                 <executions>
409                     <execution>
410                         <goals>
411                             <goal>test-jar</goal>
412                         </goals>
413                     </execution>
414                 </executions>
415             </plugin>
416
417             <plugin>
418                 <groupId>org.codehaus.mojo</groupId>
419                 <artifactId>cobertura-maven-plugin</artifactId>
420                 <version>2.3</version>
421                 <executions>
422                     <execution>
423                         <goals>
424                             <goal>clean</goal>
425                         </goals>
426                     </execution>
427                 </executions>
428                 <configuration>
429                     <instrumentation>
430                         <excludes> </excludes>
431                     </instrumentation>
432                 </configuration>
433             </plugin>
434             <plugin>
435                 <artifactId>maven-site-plugin</artifactId>
436                 <configuration>
437                     <locales>en</locales>
438                 </configuration>
439             </plugin>
440
441
442         </plugins>
443
444         <pluginManagement>
445             <plugins>
446                 <plugin>
447                     <artifactId>maven-site-plugin</artifactId>
448                     <version>2.1.1</version>
449                 </plugin>
450             </plugins>
451         </pluginManagement>
452
453     </build>
454
455
456     <reporting>
457         <plugins>
458             <plugin>
459                 <groupId>org.apache.maven.plugins</groupId>
460                 <artifactId>maven-project-info-reports-plugin</artifactId>
461                 <reportSets>
462                     <reportSet>
463                         <reports>
464                             <report>checkstyle</report>
465                             <report>javadoc</report>
466                             <!--report>dependencies</report -->
467                             <!-- report>project-team</report -->
468                             <!-- report>mailing-list</report -->
469                             <!-- report>issue-tracking</report -->
470                             <!-- report>license</report -->
471                             <!--report>scm</report -->
472                         </reports>
473                     </reportSet>
474                 </reportSets>
475             </plugin>
476             <plugin>
477                 <groupId>org.codehaus.mojo</groupId>
478                 <artifactId>findbugs-maven-plugin</artifactId>
479                 <version>2.3.1</version>
480                 <configuration>
481                     <xmlOutput>true</xmlOutput>
482                     <!-- Optional derectory to put findbugs xdoc xml report -->
483                     <xmlOutputDirectory>target/site</xmlOutputDirectory>
484                     <findbugsXmlOutput>true</findbugsXmlOutput>
485                     <!-- Optional directory to put findbugs xml report -->
486                     <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
487                 </configuration>
488
489             </plugin>
490
491             <plugin>
492                 <groupId>org.codehaus.mojo</groupId>
493                 <artifactId>changes-maven-plugin</artifactId>
494                 <version>2.0-beta-1</version>
495                 <reportSets>
496                     <reportSet>
497                         <reports>
498                             <report>changes-report</report>
499                         </reports>
500                     </reportSet>
501                 </reportSets>
502             </plugin>
503             <plugin>
504                 <groupId>org.apache.maven.plugins</groupId>
505                 <artifactId>maven-javadoc-plugin</artifactId>
506                 <version>2.5</version>
507             </plugin>
508             <plugin>
509                 <groupId>org.codehaus.mojo</groupId>
510                 <artifactId>surefire-report-maven-plugin</artifactId>
511             </plugin>
512             <!-- Test coverage reporting -->
513             <plugin>
514                 <groupId>org.codehaus.mojo</groupId>
515                 <artifactId>cobertura-maven-plugin</artifactId>
516                 <version>2.3</version>
517                 <configuration>
518                     <formats>
519                         <format>xml</format>
520                         <format>html</format>
521                     </formats>
522                 </configuration>
523             </plugin>
524
525             <!-- checkstyle -->
526             <plugin>
527                 <groupId>org.apache.maven.plugins</groupId>
528                 <artifactId>maven-checkstyle-plugin</artifactId>
529                 <version>2.5</version>
530                 <configuration>
531                     <configLocation>org.wamblee.checkstyle.xml</configLocation>
532                 </configuration>
533             </plugin>
534
535             <!-- taglist -->
536             <plugin>
537                 <groupId>org.codehaus.mojo</groupId>
538                 <artifactId>taglist-maven-plugin</artifactId>
539                 <configuration>
540                     <tags>
541                         <tag>TODO</tag>
542                         <tag>@todo</tag>
543                         <tag>FIXME</tag>
544                     </tags>
545                 </configuration>
546             </plugin>
547
548         </plugins>
549     </reporting>
550
551     <profiles>
552         <profile>
553             <id>release</id>
554             <activation>
555                 <property>
556                     <name>performRelease</name>
557                     <value>true</value>
558                 </property>
559             </activation>
560             <build>
561                 <plugins>
562                     <plugin>
563                         <groupId>org.apache.maven.plugins</groupId>
564                         <artifactId>maven-gpg-plugin</artifactId>
565                         <executions>
566                             <execution>
567                                 <id>sign-artifacts</id>
568                                 <phase>verify</phase>
569                                 <goals>
570                                     <goal>sign</goal>
571                                 </goals>
572                             </execution>
573                         </executions>
574                     </plugin>
575                 </plugins>
576             </build>
577             <distributionManagement>
578                 <repository>
579                     <id>sonatype-nexus-staging</id>
580                     <name>Nexus Release Repository</name>
581                     <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
582                 </repository>
583             </distributionManagement>
584
585         </profile>
586         <profile>
587             <id>all</id>
588             <activation>
589                 <property>
590                     <name>!performRelease</name>
591                 </property>
592             </activation>
593             <distributionManagement>
594                 <repository>
595                     <id>local</id>
596                     <name>Local directory</name>
597                     <url>file:${user.home}/java/workspace/deploy</url>
598                 </repository>
599             </distributionManagement>
600         </profile>
601     </profiles>
602
603     <distributionManagement>
604         <site>
605             <id>test-enterprise-site</id>
606             <url>file:${distrib}/main</url>
607         </site>
608     </distributionManagement>
609
610     <properties>
611         <spring.version>2.0.8</spring.version>
612         <jmock.version>2.4.0</jmock.version>
613     </properties>
614
615 </project>