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