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