12588f8d21bf301182fc5d7f4867494f593f9d20
[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                     <goals>javadoc:jar deploy</goals>
340                 </configuration>
341             </plugin>
342             <plugin>
343                 <artifactId>maven-clean-plugin</artifactId>
344                 <version>2.4</version>
345                 <configuration>
346                     <filesets>
347                         <fileset>
348                             <directory>.</directory>
349                             <includes>
350                                 <include>derby.log</include>
351                                 <include>createDDL.jdbc</include>
352                                 <include>dropDDL.jdbc</include>
353                             </includes>
354                             <excludes>
355                                 <exclude>**/important.log</exclude>
356                                 <exclude>**/another-important.log</exclude>
357                             </excludes>
358                             <followSymlinks>false</followSymlinks>
359                         </fileset>
360                     </filesets>
361                 </configuration>
362             </plugin>
363
364             <plugin>
365                 <groupId>org.codehaus.mojo</groupId>
366                 <artifactId>jalopy-maven-plugin</artifactId>
367                 <configuration>
368                     <fileFormat>UNIX</fileFormat>
369                     <convention>org.wamblee.jalopy.xml</convention>
370                 </configuration>
371             </plugin>
372             <plugin>
373                 <groupId>org.apache.maven.plugins</groupId>
374                 <artifactId>maven-compiler-plugin</artifactId>
375                 <configuration>
376                     <source>1.6</source>
377                     <target>1.6</target>
378                 </configuration>
379             </plugin>
380
381             <plugin>
382                 <groupId>org.apache.maven.plugins</groupId>
383                 <artifactId>maven-surefire-plugin</artifactId>
384                 <configuration>
385                     <includes>
386                         <include>**/*Test.java</include>
387                     </includes>
388                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
389                 </configuration>
390             </plugin>
391
392             <!-- Make sure other projects can use (or the test support
393            and test classes from the projects it uses. To use
394            a dependence on a test library of a project, an additinoal
395            dependence must be added with <type>test-jar</type>
396         -->
397
398             <plugin>
399                 <groupId>org.apache.maven.plugins</groupId>
400                 <artifactId>maven-jar-plugin</artifactId>
401                 <executions>
402                     <execution>
403                         <goals>
404                             <goal>test-jar</goal>
405                         </goals>
406                     </execution>
407                 </executions>
408             </plugin>
409
410             <plugin>
411                 <groupId>org.codehaus.mojo</groupId>
412                 <artifactId>cobertura-maven-plugin</artifactId>
413                 <executions>
414                     <execution>
415                         <goals>
416                             <goal>clean</goal>
417                         </goals>
418                     </execution>
419                 </executions>
420                 <configuration>
421                     <instrumentation>
422                         <excludes> </excludes>
423                     </instrumentation>
424                 </configuration>
425             </plugin>
426
427
428         </plugins>
429
430     </build>
431
432     <reporting>
433         <plugins>
434             <plugin>
435                 <groupId>org.apache.maven.plugins</groupId>
436                 <artifactId>maven-project-info-reports-plugin</artifactId>
437                 <reportSets>
438                     <reportSet>
439                         <reports>
440                             <report>checkstyle</report>
441                             <report>javadoc</report>
442                             <report>dependencies</report>
443                             <report>project-team</report>
444                             <report>mailing-list</report>
445                             <report>issue-tracking</report>
446                             <report>license</report>
447                             <report>scm</report>
448                         </reports>
449                     </reportSet>
450                 </reportSets>
451             </plugin>
452             <plugin>
453                 <groupId>org.codehaus.mojo</groupId>
454                 <artifactId>changes-maven-plugin</artifactId>
455                 <version>2.0-beta-1</version>
456                 <reportSets>
457                     <reportSet>
458                         <reports>
459                             <report>changes-report</report>
460                         </reports>
461                     </reportSet>
462                 </reportSets>
463             </plugin>
464             <plugin>
465                 <groupId>org.apache.maven.plugins</groupId>
466                 <artifactId>maven-javadoc-plugin</artifactId>
467             </plugin>
468             <plugin>
469                 <groupId>org.codehaus.mojo</groupId>
470                 <artifactId>surefire-report-maven-plugin</artifactId>
471             </plugin>
472             <!-- Test coverage reporting -->
473             <plugin>
474                 <groupId>org.codehaus.mojo</groupId>
475                 <artifactId>cobertura-maven-plugin</artifactId>
476                 <configuration>
477                     <formats>
478                         <format>xml</format>
479                         <format>html</format>
480                     </formats>
481                 </configuration>
482             </plugin>
483
484             <!-- checkstyle -->
485             <plugin>
486                 <groupId>org.apache.maven.plugins</groupId>
487                 <artifactId>maven-checkstyle-plugin</artifactId>
488                 <configuration>
489                     <configLocation>config/sun_checks.xml</configLocation>
490                 </configuration>
491             </plugin>
492
493             <!-- taglist -->
494             <plugin>
495                 <groupId>org.codehaus.mojo</groupId>
496                 <artifactId>taglist-maven-plugin</artifactId>
497                 <configuration>
498                     <tags>
499                         <tag>TODO</tag>
500                         <tag>@todo</tag>
501                         <tag>FIXME</tag>
502                     </tags>
503                 </configuration>
504             </plugin>
505
506         </plugins>
507     </reporting>
508
509     <profiles>
510         <profile>
511             <id>release</id>
512             <activation>
513                 <property>
514                     <name>performRelease</name>
515                     <value>true</value>
516                 </property>
517             </activation>
518             <build>
519                 <plugins>
520                     <plugin>
521                         <groupId>org.apache.maven.plugins</groupId>
522                         <artifactId>maven-gpg-plugin</artifactId>
523                         <executions>
524                             <execution>
525                                 <id>sign-artifacts</id>
526                                 <phase>verify</phase>
527                                 <goals>
528                                     <goal>sign</goal>
529                                 </goals>
530                             </execution>
531                         </executions>
532                     </plugin>
533                 </plugins>
534             </build>
535         </profile>
536         <profile>
537             <id>all</id>
538             <activation>
539                 <property>
540                     <name>!performRelease</name>
541                 </property>
542             </activation>
543             <distributionManagement>
544                 <repository>
545                     <id>local</id>
546                     <name>Local directory</name>
547                     <url>file:${user.home}/java/workspace/deploy</url>
548                 </repository>
549             </distributionManagement>
550         </profile>
551     </profiles>
552
553
554     <properties>
555         <spring.version>2.0.8</spring.version>
556         <jmock.version>2.4.0</jmock.version>
557     </properties>
558
559 </project>