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