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