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