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