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