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