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