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