0a74bef9dc35eec0162b635db7d5d3c8e1b5bfd1
[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>gps</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                 <groupId>org.codehaus.mojo</groupId>
334                 <artifactId>jalopy-maven-plugin</artifactId>
335                 <configuration>
336                     <fileFormat>UNIX</fileFormat>
337                     <convention>org.wamblee.jalopy.xml</convention>
338                 </configuration>
339             </plugin>
340             <plugin>
341                 <groupId>org.apache.maven.plugins</groupId>
342                 <artifactId>maven-compiler-plugin</artifactId>
343                 <configuration>
344                     <source>1.6</source>
345                     <target>1.6</target>
346                 </configuration>
347             </plugin>
348
349             <plugin>
350                 <groupId>org.apache.maven.plugins</groupId>
351                 <artifactId>maven-surefire-plugin</artifactId>
352                 <configuration>
353                     <includes>
354                         <include>**/*Test.java</include>
355                     </includes>
356                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
357                 </configuration>
358             </plugin>
359
360             <!-- Make sure other projects can use (or the test support
361            and test classes from the projects it uses. To use
362            a dependence on a test library of a project, an additinoal
363            dependence must be added with <type>test-jar</type>
364         -->
365
366             <plugin>
367                 <groupId>org.apache.maven.plugins</groupId>
368                 <artifactId>maven-jar-plugin</artifactId>
369                 <executions>
370                     <execution>
371                         <goals>
372                             <goal>test-jar</goal>
373                         </goals>
374                     </execution>
375                 </executions>
376             </plugin>
377
378             <plugin>
379                 <groupId>org.codehaus.mojo</groupId>
380                 <artifactId>cobertura-maven-plugin</artifactId>
381                 <executions>
382                     <execution>
383                         <goals>
384                             <goal>clean</goal>
385                         </goals>
386                     </execution>
387                 </executions>
388                 <configuration>
389                     <instrumentation>
390                         <excludes>
391                             <exclude>org/wamblee/mythtv/**/*.class</exclude>
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                         <modules>
513               <module>mythtv</module>
514                     </modules>
515         </profile>
516     </profiles>
517
518
519     <properties>
520         <spring.version>2.0.8</spring.version>
521         <jmock.version>2.4.0</jmock.version>
522     </properties>
523
524 </project>