use guice to DI servlet, service, dao . use easymock to unit test
[jibu.git] / pom.xml
blobace8d5eb223a7ce7ef11fe6afa4f54ab89202abd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Licensed to the Apache Software Foundation (ASF) under one or more
4    contributor license agreements.  See the NOTICE file distributed with
5    this work for additional information regarding copyright ownership.
6    The ASF licenses this file to You under the Apache License, Version 2.0
7    (the "License"); you may not use this file except in compliance with
8    the License.  You may obtain a copy of the License at
10    http://www.apache.org/licenses/LICENSE-2.0
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17   -->
18 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
19          xmlns="http://maven.apache.org/POM/4.0.0" 
20          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21   <modelVersion>4.0.0</modelVersion>
23   <groupId>org.gaixie.jibu</groupId>
24   <artifactId>jibu-parent</artifactId>
25   <version>1.0.0-SNAPSHOT</version>
26   <packaging>pom</packaging>
28   <name>Jibu</name>
29   <description>稳定、高效、简洁的Web开发框架。</description>
30   <inceptionYear>2010</inceptionYear>
32   <organization>
33     <name>Gaixie.ORG</name>
34     <url>http://www.gaixie.org/</url>
35   </organization>
37   <licenses>
38     <license>
39       <name>The Apache Software License, Version 2.0</name>
40       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
41     </license>
42   </licenses>
44   <properties>
45     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46     <derby.version>10.6.1.0</derby.version>
47     <guice.version>2.0</guice.version>
48     <dbutils.version>1.3</dbutils.version>
49     <dbcp.version>1.4</dbcp.version>
50     <slf4j.version>1.6.1</slf4j.version>
51     <logback.version>0.9.24</logback.version>
52   </properties>
54   <modules>
55     <module>jibu-core</module>
56     <module>jibu-web</module>
57   </modules>
59   <build>
60     <pluginManagement>
61       <plugins>
62         <plugin>
63           <groupId>org.apache.maven.plugins</groupId>
64           <artifactId>maven-compiler-plugin</artifactId>
65           <configuration>
66             <!--  DBCP 1.4 compiles and runs under JDK 1.6 only (JDBC 4) -->
67             <source>1.6</source>
68             <target>1.6</target>
69             <encoding>utf-8</encoding>                        
70           </configuration>
71         </plugin>
72         <plugin>
73           <groupId>org.apache.maven.plugins</groupId>
74           <artifactId>maven-assembly-plugin</artifactId>
75         </plugin>
76         <plugin>
77           <groupId>org.apache.maven.plugins</groupId>
78           <artifactId>maven-war-plugin</artifactId>
79         </plugin>
80         <plugin>
81           <groupId>org.apache.maven.plugins</groupId>
82           <artifactId>maven-jar-plugin</artifactId>
83         </plugin>
84         <plugin>
85           <groupId>org.mortbay.jetty</groupId>
86           <artifactId>jetty-maven-plugin</artifactId>
87           <version>7.1.5.v20100705</version>
88           <configuration>
89             <webAppConfig>
90               <contextPath>/</contextPath>
91             </webAppConfig>
92           </configuration>
93         </plugin>
94       </plugins>
95     </pluginManagement>
96   </build>
98   <dependencyManagement>
99     <dependencies>
100       <dependency>
101         <groupId>junit</groupId>
102         <artifactId>junit</artifactId>
103         <version>4.8.1</version>
104         <scope>test</scope>
105       </dependency>
106       <dependency>
107         <groupId>org.dbunit</groupId>
108         <artifactId>dbunit</artifactId>
109         <version>2.4.7</version>
110         <scope>test</scope>
111       </dependency>
112       <dependency>
113         <groupId>org.easymock</groupId>
114         <artifactId>easymock</artifactId>
115         <version>3.0</version>
116         <scope>test</scope>
117       </dependency>
118       <dependency>
119         <groupId>com.google.inject</groupId>
120         <artifactId>guice</artifactId>
121         <version>${guice.version}</version>
122       </dependency>
123       <dependency>
124         <groupId>com.google.inject.extensions</groupId>
125         <artifactId>guice-servlet</artifactId>
126         <version>${guice.version}</version>
127       </dependency>
128       <dependency>
129         <groupId>org.mortbay.jetty</groupId>  
130         <artifactId>servlet-api</artifactId> 
131         <version>2.5-20081211</version> 
132         <scope>provided</scope>
133       </dependency> 
134       <dependency>  
135         <groupId>org.apache.derby</groupId>  
136         <artifactId>derby</artifactId>  
137         <version>${derby.version}</version> 
138       </dependency>
139       <dependency>
140         <groupId>commons-dbutils</groupId>
141         <artifactId>commons-dbutils</artifactId>
142         <version>${dbutils.version}</version>
143       </dependency>
144       <dependency>
145         <groupId>commons-dbcp</groupId>
146         <artifactId>commons-dbcp</artifactId>
147         <version>${dbcp.version}</version>
148       </dependency>
149       <dependency>  
150         <groupId>org.slf4j</groupId>
151         <artifactId>slf4j-api</artifactId>
152         <version>${slf4j.version}</version> 
153       </dependency>
154       <dependency>
155         <groupId>ch.qos.logback</groupId>
156         <artifactId>logback-core</artifactId>
157         <version>${logback.version}</version>
158       </dependency>
159       <dependency>
160         <groupId>ch.qos.logback</groupId>
161         <artifactId>logback-classic</artifactId>
162         <version>${logback.version}</version>
163       </dependency>
164       <dependency>
165         <groupId>org.gaixie.jibu</groupId>
166         <artifactId>jibu-core</artifactId>
167         <version>1.0.0-SNAPSHOT</version>
168       </dependency>
169       <dependency>
170         <groupId>org.gaixie.jibu.web</groupId>
171         <artifactId>extjs-wrapped</artifactId>
172         <version>3.2.1</version>
173         <type>zip</type>
174         <scope>runtime</scope>
175       </dependency>
176     </dependencies>
177   </dependencyManagement>
178 </project>