hibernate4+spring4+struts2的Maven中的pom.xml文件的配置

  1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3     <modelVersion>4.0.0modelVersion>
  4     <groupId>com.wzh.webgroupId>
  5     <artifactId>blogartifactId>
  6     <packaging>warpackaging>
  7     <version>0.0.1-SNAPSHOTversion>
  8     <name>blog Maven Webappname>
  9     <url>http://maven.apache.orgurl>
 10     <properties>
 11         <org.springframework.version>4.1.3.RELEASEorg.springframework.version>
 12         <struts2.version>2.3.1struts2.version>
 13         <log4j.version>2.0log4j.version>
 14         <mysql.jdbc.version>5.1.21mysql.jdbc.version>
 15         <hibernate.version>4.3.1.Finalhibernate.version>
 16         <commons.fileupload.version>1.2.1commons.fileupload.version>
 17         <javassist.version>3.12.1.GAjavassist.version>
 18         <cxf.version>3.0.2cxf.version>
 19 
 20     properties>
 21 
 22     <dependencies>
 23         <dependency>
 24             <groupId>junitgroupId>
 25             <artifactId>junitartifactId>
 26             <version>4.11version>
 27             <scope>testscope>
 28         dependency>
 29         
 30         <dependency>
 31             <groupId>org.codehaus.jacksongroupId>
 32             <artifactId>jackson-mapper-aslartifactId>
 33             <version>1.9.13version>
 34         dependency>
 35  
 36         
 37         <dependency>
 38             <groupId>com.google.guavagroupId>
 39             <artifactId>guavaartifactId>
 40             <version>15.0-rc1version>
 41         dependency>
 42         
 43         
 44         <dependency>
 45             <groupId>javax.servletgroupId>
 46             <artifactId>javax.servlet-apiartifactId>
 47             <version>3.0.1version>
 48             <scope>providedscope>
 49         dependency>
 50         
 51         
 52         <dependency>
 53             <groupId>org.apache.cxfgroupId>
 54             <artifactId>cxf-coreartifactId>
 55             <version>${cxf.version}version>
 56         dependency>
 57 
 58         
 59         <dependency>
 60             <groupId>javassistgroupId>
 61             <artifactId>javassistartifactId>
 62             <version>${javassist.version}version>
 63         dependency>
 64 
 65         
 66         <dependency>
 67             <groupId>commons-fileuploadgroupId>
 68             <artifactId>commons-fileuploadartifactId>
 69             <version>${commons.fileupload.version}version>
 70         dependency>
 71         <dependency>
 72             <groupId>commons-iogroupId>
 73             <artifactId>commons-ioartifactId>
 74             <version>1.4version>
 75         dependency>
 76         <dependency>
 77             <groupId>commons-langgroupId>
 78             <artifactId>commons-langartifactId>
 79             <version>2.6version>
 80         dependency>
 81         <dependency>
 82             <groupId>commons-collectionsgroupId>
 83             <artifactId>commons-collectionsartifactId>
 84             <version>3.2.1version>
 85         dependency>
 86         <dependency>
 87             <groupId>commons-beanutilsgroupId>
 88             <artifactId>commons-beanutilsartifactId>
 89             <version>1.8.3version>
 90         dependency>
 91         <dependency>
 92             <groupId>commons-dbutilsgroupId>
 93             <artifactId>commons-dbutilsartifactId>
 94             <version>1.5version>
 95         dependency>
 96         <dependency>
 97             <groupId>commons-codecgroupId>
 98             <artifactId>commons-codecartifactId>
 99             <version>1.8version>
100         dependency>
101         <dependency>
102             <groupId>commons-configurationgroupId>
103             <artifactId>commons-configurationartifactId>
104             <version>1.10version>
105         dependency>
106 
107         
108         <dependency>
109             <groupId>org.aspectjgroupId>
110             <artifactId>aspectjrtartifactId>
111             <version>1.8.4version>
112         dependency>
113         <dependency>
114             <groupId>org.aspectjgroupId>
115             <artifactId>aspectjweaverartifactId>
116             <version>1.8.4version>
117         dependency>
118         <dependency>
119             <groupId>org.aspectjgroupId>
120             <artifactId>aspectjlibartifactId>
121             <version>1.6.2version>
122         dependency>
123 
124         
125         <dependency>
126             <groupId>org.quartz-schedulergroupId>
127             <artifactId>quartzartifactId>
128             <version>2.2.0version>
129         dependency>
130 
131         
132         <dependency>
133             <groupId>mysqlgroupId>
134             <artifactId>mysql-connector-javaartifactId>
135             <version>${mysql.jdbc.version}version>
136         dependency>
137 
138         
139         <dependency>
140             <groupId>c3p0groupId>
141             <artifactId>c3p0artifactId>
142             <version>0.9.1.2version>
143         dependency>
144 
145         
146         <dependency>
147             <groupId>org.slf4jgroupId>
148             <artifactId>slf4j-log4j12artifactId>
149             <version>1.7.2version>
150         dependency>
151         
152         
153         <dependency>
154             <groupId>org.apache.logging.log4jgroupId>
155             <artifactId>log4j-apiartifactId>
156             <version>${log4j.version}version>
157         dependency>
158         <dependency>
159             <groupId>org.apache.logging.log4jgroupId>
160             <artifactId>log4j-coreartifactId>
161             <version>${log4j.version}version>
162         dependency>
163 
164         
165         <dependency>
166             <groupId>org.apache.strutsgroupId>
167             <artifactId>struts2-coreartifactId>
168             <version>${struts2.version}version>
169 
170         dependency>
171         
172         
173         <dependency>
174             <groupId>org.hibernategroupId>
175             <artifactId>hibernate-coreartifactId>
176             <version>${hibernate.version}version>
177         dependency>
178         <dependency>
179             <groupId>org.hibernategroupId>
180             <artifactId>hibernate-validatorartifactId>
181             <version>${hibernate.version}version>
182         dependency>
183         <dependency>
184             <groupId>org.hibernategroupId>
185             <artifactId>hibernate-entitymanagerartifactId>
186             <version>${hibernate.version}version>
187         dependency>
188         <dependency>
189             <groupId>javax.validationgroupId>
190             <artifactId>validation-apiartifactId>
191             <version>1.0.0.GAversion>
192             <scope>providedscope>
193         dependency>
194         
195 
196         
197         <dependency>
198             <groupId>org.springframeworkgroupId>
199             <artifactId>spring-coreartifactId>
200             <version>${org.springframework.version}version>
201         dependency>
202         <dependency>
203             <groupId>org.springframeworkgroupId>
204             <artifactId>spring-expressionartifactId>
205             <version>${org.springframework.version}version>
206         dependency>
207 
208         
210         <dependency>
211             <groupId>org.springframeworkgroupId>
212             <artifactId>spring-beansartifactId>
213             <version>${org.springframework.version}version>
214         dependency>
215 
216         
218         <dependency>
219             <groupId>org.springframeworkgroupId>
220             <artifactId>spring-aopartifactId>
221             <version>${org.springframework.version}version>
222         dependency>
223         
226         <dependency>
227             <groupId>org.springframeworkgroupId>
228             <artifactId>spring-contextartifactId>
229             <version>${org.springframework.version}version>
230         dependency>
231 
232         
234         <dependency>
235             <groupId>org.springframeworkgroupId>
236             <artifactId>spring-context-supportartifactId>
237             <version>${org.springframework.version}version>
238         dependency>
239 
240         
243         <dependency>
244             <groupId>org.springframeworkgroupId>
245             <artifactId>spring-txartifactId>
246             <version>${org.springframework.version}version>
247         dependency>
248         
250         <dependency>
251             <groupId>org.springframeworkgroupId>
252             <artifactId>spring-jdbcartifactId>
253             <version>${org.springframework.version}version>
254         dependency>
255 
256         
259         <dependency>
260             <groupId>org.springframeworkgroupId>
261             <artifactId>spring-ormartifactId>
262             <version>${org.springframework.version}version>
263         dependency>
264 
265         
268         <dependency>
269             <groupId>org.springframeworkgroupId>
270             <artifactId>spring-oxmartifactId>
271             <version>${org.springframework.version}version>
272         dependency>
273         
277         <dependency>
278             <groupId>org.springframeworkgroupId>
279             <artifactId>spring-webartifactId>
280             <version>${org.springframework.version}version>
281         dependency>
282 
283         
286         <dependency>
287             <groupId>org.springframeworkgroupId>
288             <artifactId>spring-webmvcartifactId>
289             <version>${org.springframework.version}version>
290         dependency>
291         
294         <dependency>
295             <groupId>org.springframeworkgroupId>
296             <artifactId>spring-webmvc-portletartifactId>
297             <version>${org.springframework.version}version>
298         dependency>
299 
300         
303         <dependency>
304             <groupId>org.springframeworkgroupId>
305             <artifactId>spring-testartifactId>
306             <version>${org.springframework.version}version>
307             <scope>testscope>
308         dependency>
309 
310     dependencies>
311     <build>
312         <finalName>blogfinalName>
313     build>
314 project>

以上是在网络上收集整理出来的,使用的是maven默认仓库,经Myeclipse2013测试可以下载。

转载于:https://www.cnblogs.com/wangzhihua/p/4380392.html

你可能感兴趣的:(hibernate4+spring4+struts2的Maven中的pom.xml文件的配置)