putting the hibernate-jpa dependencies in a separate project.
[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>wamblee.org utility libraries</name>
10   <url>http://wamblee.org</url>
11   <modules>
12     <module>support</module>
13     <module>hibernate-jpa</module>
14     <module>socketproxy</module>
15     <module>crawler</module>
16     <module>gps</module>
17     <module>mythtv</module>
18   </modules>
19   <dependencies>
20     <dependency>
21       <groupId>junit</groupId>
22       <artifactId>junit</artifactId>
23       <version>3.8.1</version>
24       <scope>test</scope>
25     </dependency>
26     <dependency>
27       <groupId>dbunit</groupId>
28       <artifactId>dbunit</artifactId>
29       <version>2.1</version>
30       <scope>test</scope>
31     </dependency>
32     <dependency>
33       <groupId>jmock</groupId>
34       <artifactId>jmock-cglib</artifactId>
35       <version>1.1.0</version>
36       <scope>test</scope>
37       <exclusions>
38         <exclusion>
39           <groupId>cglib</groupId>
40           <artifactId>cglib-full</artifactId>
41         </exclusion>
42       </exclusions>
43     </dependency>
44   </dependencies>
45
46   <dependencyManagement>
47     <dependencies>
48       <dependency>
49         <groupId>org.wamblee</groupId>
50         <artifactId>wamblee-support</artifactId>
51         <version>${project.version}</version>
52       </dependency>
53       <dependency>
54         <groupId>org.wamblee</groupId>
55         <artifactId>wamblee-support</artifactId>
56         <type>test-jar</type>
57         <version>${project.version}</version>
58       </dependency>
59       <dependency>
60         <groupId>org.wamblee</groupId>
61         <artifactId>wamblee-hibernate-jpa</artifactId>
62         <version>${project.version}</version>
63       </dependency>
64       <dependency>
65         <groupId>org.wamblee</groupId>
66         <artifactId>wamblee-hibernate-jpa</artifactId>
67         <version>${project.version}</version>
68         <type>test-jar</type>
69       </dependency>
70       <dependency>
71         <groupId>org.wamblee</groupId>
72         <artifactId>wamblee-socketproxy</artifactId>
73         <version>${project.version}</version>
74       </dependency>
75       <dependency>
76         <groupId>org.wamblee</groupId>
77         <artifactId>wamblee-socketproxy</artifactId>
78         <type>test-jar</type>
79         <version>${project.version}</version>
80       </dependency>
81       <dependency>
82         <groupId>org.wamblee</groupId>
83         <artifactId>wamblee-crawler</artifactId>
84         <version>${project.version}</version>
85       </dependency>
86       <dependency>
87         <groupId>org.wamblee</groupId>
88         <artifactId>wamblee-crawler</artifactId>
89         <type>test-jar</type>
90         <version>${project.version}</version>
91       </dependency>
92       <dependency>
93         <groupId>org.wamblee</groupId>
94         <artifactId>wamblee-crawler-basic</artifactId>
95         <version>${project.version}</version>
96       </dependency>
97       <dependency>
98         <groupId>org.wamblee</groupId>
99         <artifactId>wamblee-crawler-basic</artifactId>
100         <type>test-jar</type>
101         <version>${project.version}</version>
102       </dependency>
103
104       <dependency>
105         <groupId>javax.persistence</groupId>
106         <artifactId>persistence-api</artifactId>
107         <version>1.0</version>
108         <scope>provided</scope>
109       </dependency>
110       <dependency>
111         <groupId>javax.servlet</groupId>
112         <artifactId>servlet-api</artifactId>
113         <version>2.3</version>
114         <type>jar</type>
115         <scope>provided</scope>
116       </dependency>
117       <dependency>
118         <groupId>org.apache.derby</groupId>
119         <artifactId>derby</artifactId>
120         <version>10.3.2.1</version>
121       </dependency>
122       <dependency>
123         <groupId>org.apache.derby</groupId>
124         <artifactId>derbyclient</artifactId>
125         <version>10.3.2.1</version>
126       </dependency>
127       <dependency>
128         <groupId>org.apache.derby</groupId>
129         <artifactId>derbynet</artifactId>
130         <version>10.3.2.1</version>
131       </dependency>
132       <dependency>
133         <groupId>quartz</groupId>
134         <artifactId>quartz</artifactId>
135         <version>1.5.1</version>
136       </dependency>
137       <dependency>
138         <groupId>jtidy</groupId>
139         <artifactId>jtidy</artifactId>
140         <version>4aug2000r7-dev</version>
141       </dependency>
142
143     
144       <dependency>
145         <groupId>commons-logging</groupId>
146         <artifactId>commons-logging</artifactId>
147         <version>1.0.2</version>
148       </dependency>
149       <dependency>
150         <groupId>commons-httpclient</groupId>
151         <artifactId>commons-httpclient</artifactId>
152         <version>3.0</version>
153       </dependency>
154       <dependency>
155         <groupId>commons-beanutils</groupId>
156         <artifactId>commons-beanutils</artifactId>
157         <version>1.7.0</version>
158       </dependency>
159       <dependency>
160         <groupId>org.springframework</groupId>
161         <artifactId>spring-beans</artifactId>
162         <version>${springversion}</version>
163       </dependency>
164       <dependency>
165         <groupId>org.springframework</groupId>
166         <artifactId>spring-web</artifactId>
167         <version>${springversion}</version>
168       </dependency>
169       <dependency>
170         <groupId>org.springframework</groupId>
171         <artifactId>spring-jms</artifactId>
172         <version>${springversion}</version>
173       </dependency>
174       <dependency>
175         <groupId>org.springframework</groupId>
176         <artifactId>spring-context</artifactId>
177         <version>${springversion}</version>
178       </dependency>
179       <dependency>
180         <groupId>org.springframework</groupId>
181         <artifactId>spring-hibernate3</artifactId>
182         <version>${springversion}</version>
183       </dependency>
184       <dependency>
185         <groupId>org.springframework</groupId>
186         <artifactId>spring-jpa</artifactId>
187         <version>${springversion}</version>
188       </dependency>
189       <dependency>
190         <groupId>org.springframework</groupId>
191         <artifactId>spring-aop</artifactId>
192         <version>${springversion}</version>
193       </dependency>
194
195       <!-- should be possible to remove the dependence on log4j -->
196       <dependency>
197         <groupId>log4j</groupId>
198         <artifactId>log4j</artifactId>
199         <version>1.2.8</version>
200       </dependency>
201       <dependency>
202         <groupId>dom4j</groupId>
203         <artifactId>dom4j</artifactId>
204         <version>1.6</version>
205         <exclusions>
206           <exclusion>
207             <groupId>xml-apis</groupId>
208             <artifactId>xml-apis</artifactId>
209           </exclusion>
210         </exclusions>
211       </dependency>
212       <dependency>
213         <groupId>net.sf.ehcache</groupId>
214         <artifactId>ehcache</artifactId>
215         <version>1.2.3</version>
216       </dependency>
217       <dependency>
218         <groupId>xerces</groupId>
219         <artifactId>xercesImpl</artifactId>
220         <version>2.8.1</version>
221       </dependency>
222      
223      
224       <dependency>
225         <groupId>commons-email</groupId>
226         <artifactId>commons-email</artifactId>
227         <version>1.0</version>
228       </dependency>
229       <dependency>
230         <groupId>javax.mail</groupId>
231         <artifactId>mail</artifactId>
232         <version>1.3.3_01</version>
233       </dependency>
234       <dependency>
235         <groupId>jaxen</groupId>
236         <artifactId>jaxen</artifactId>
237         <version>1.1-beta-9</version>
238         <exclusions>
239           <exclusion>
240             <groupId>xom</groupId>
241             <artifactId>xom</artifactId>
242           </exclusion>
243           <exclusion>
244             <groupId>xerces</groupId>
245             <artifactId>xmlParserAPIs</artifactId>
246           </exclusion>
247         </exclusions>
248       </dependency>
249       <dependency>
250         <groupId>jstl</groupId>
251         <artifactId>jstl</artifactId>
252         <version>1.1.2</version>
253       </dependency>
254       <dependency>
255         <groupId>taglibs</groupId>
256         <artifactId>standard</artifactId>
257         <version>1.1.2</version>
258       </dependency>
259       <dependency>
260         <groupId>jfree</groupId>
261         <artifactId>jfreechart</artifactId>
262         <version>1.0.1</version>
263       </dependency>
264       <dependency>
265         <groupId>jfree</groupId>
266         <artifactId>jcommon</artifactId>
267         <version>1.0.2</version>
268       </dependency>
269       
270       <dependency>
271         <groupId>javaee</groupId>
272         <artifactId>javaee-api</artifactId>
273         <version>5</version>
274         <scope>provided</scope>
275       </dependency>
276
277
278     </dependencies>
279   </dependencyManagement>
280
281   <build>
282     <plugins>
283       <plugin>
284         <groupId>org.apache.maven.plugins</groupId>
285         <artifactId>maven-compiler-plugin</artifactId>
286         <configuration>
287           <source>1.6</source>
288           <target>1.6</target>
289         </configuration>
290       </plugin>
291
292       <plugin>
293         <groupId>org.apache.maven.plugins</groupId>
294         <artifactId>maven-surefire-plugin</artifactId>
295         <configuration>
296           <includes>
297             <include>**/*Test.java</include>
298           </includes>
299         </configuration>
300       </plugin>
301
302       <!-- Make sure other projects can use (or the test support
303            and test classes from the projects it uses. To use
304            a dependence on a test library of a project, an additinoal
305            dependence must be added with <type>test-jar</type>
306         -->
307
308       <plugin>
309         <groupId>org.apache.maven.plugins</groupId>
310         <artifactId>maven-jar-plugin</artifactId>
311         <executions>
312           <execution>
313             <goals>
314               <goal>test-jar</goal>
315             </goals>
316           </execution>
317         </executions>
318       </plugin>
319
320       <plugin>
321         <groupId>org.codehaus.mojo</groupId>
322         <artifactId>cobertura-maven-plugin</artifactId>
323         <executions>
324           <execution>
325             <goals>
326               <goal>clean</goal>
327             </goals>
328           </execution>
329         </executions>
330       </plugin>
331
332     </plugins>
333
334   </build>
335
336   <reporting>
337     <plugins>
338       <plugin>
339         <groupId>org.apache.maven.plugins</groupId>
340         <artifactId>maven-project-info-reports-plugin</artifactId>
341         <reportSets>
342           <reportSet>
343             <reports>
344               <report>checkstyle</report>
345               <report>javadoc</report>
346               <report>dependencies</report>
347               <report>project-team</report>
348               <report>mailing-list</report>
349               <report>issue-tracking</report>
350               <report>license</report>
351               <report>scm</report>
352             </reports>
353           </reportSet>
354         </reportSets>
355       </plugin>
356       <plugin>
357         <groupId>org.codehaus.mojo</groupId>
358         <artifactId>changes-maven-plugin</artifactId>
359         <version>2.0-beta-1</version>
360         <reportSets>
361           <reportSet>
362             <reports>
363               <report>changes-report</report>
364             </reports>
365           </reportSet>
366         </reportSets>
367       </plugin>
368       <plugin>
369         <groupId>org.apache.maven.plugins</groupId>
370         <artifactId>maven-javadoc-plugin</artifactId>
371       </plugin>
372       <plugin>
373         <groupId>org.codehaus.mojo</groupId>
374         <artifactId>surefire-report-maven-plugin</artifactId>
375       </plugin>
376       <!-- Test coverage reporting -->
377       <plugin>
378         <groupId>org.codehaus.mojo</groupId>
379         <artifactId>cobertura-maven-plugin</artifactId>
380       </plugin>
381
382       <!-- checkstyle -->
383       <plugin>
384         <groupId>org.apache.maven.plugins</groupId>
385         <artifactId>maven-checkstyle-plugin</artifactId>
386         <configuration>
387           <configLocation>config/sun_checks.xml</configLocation>
388         </configuration>
389       </plugin>
390
391       <!-- taglist -->
392       <plugin>
393         <groupId>org.codehaus.mojo</groupId>
394         <artifactId>taglist-maven-plugin</artifactId>
395         <configuration>
396           <tags>
397             <tag>TODO</tag>
398             <tag>@todo</tag>
399             <tag>FIXME</tag>
400           </tags>
401         </configuration>
402       </plugin>
403
404     </plugins>
405   </reporting>
406   
407   <repositories>
408     <repository>
409       <id>javaee</id>
410       <name>Java EE repo at SUN</name>
411       <url>http://download.java.net/maven/1</url>
412       <layout>legacy</layout>
413     </repository>
414   </repositories>
415
416   <properties>
417     <springversion>2.0.8</springversion>
418   </properties>
419
420 </project>