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