Maven Spring2.5+ibatis2.3.4.276+xfire1.2.6 整合

pom.xml 管理依赖

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
< 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">
< modelVersion >4.0.0</ modelVersion >
< groupId >com.asino</ groupId >
< artifactId >killws</ artifactId >
< packaging >war</ packaging >
< version >2.1</ version >
< name >killws</ name >
< description >init0;通过xfire官方例子改版而成</ description >
< properties >
< maven.test.skip >true</ maven.test.skip >
< spring.version >2.5.6</ spring.version >
</ properties >
< dependencies >
< dependency >
< groupId >org.codehaus.xfire</ groupId >
< artifactId >xfire-aegis</ artifactId >
< version >1.2.6</ version >
</ dependency >
< dependency >
< groupId >org.codehaus.xfire</ groupId >
< artifactId >xfire-core</ artifactId >
< version >1.2.6</ version >
</ dependency >
< dependency >
< groupId >org.codehaus.xfire</ groupId >
< artifactId >xfire-spring</ artifactId >
< version >1.2.6</ version >
< exclusions >
< exclusion >
< groupId >org.springframework</ groupId >
< artifactId >spring</ artifactId >
</ exclusion >
< exclusion >
< groupId >org.codehaus.xfire</ groupId >
< artifactId >xfire-annotations</ artifactId >
</ exclusion >
</ exclusions >
</ dependency >
<!-- spring -->
< dependency >
< groupId >org.springframework</ groupId >
< artifactId >spring-webmvc</ artifactId >
< version >${spring.version}</ version >
</ dependency >
< dependency >
< groupId >org.springframework</ groupId >
< artifactId >spring-aop</ artifactId >
< version >${spring.version}</ version >
</ dependency >
< dependency >
< groupId >org.springframework</ groupId >
< artifactId >spring-jdbc</ artifactId >
< version >${spring.version}</ version >
</ dependency >
< dependency >
< groupId >org.springframework</ groupId >
< artifactId >spring-orm</ artifactId >
< version >${spring.version}</ version >
</ dependency >
<!-- <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId>
<version>3.2.3</version> </dependency> -->
< dependency >
< groupId >org.aspectj</ groupId >
< artifactId >aspectjweaver</ artifactId >
< version >1.6.11</ version >
</ dependency >
< dependency >
< groupId >org.apache.ibatis</ groupId >
< artifactId >ibatis-sqlmap</ artifactId >
< version >2.3.4.726</ version >
</ dependency >
<!-- commons -->
< dependency >
< groupId >commons-chain</ groupId >
< artifactId >commons-chain</ artifactId >
< version >1.2</ version >
</ dependency >
< dependency >
< groupId >commons-io</ groupId >
< artifactId >commons-io</ artifactId >
< version >2.4</ version >
</ dependency >
< dependency >
< groupId >commons-pool</ groupId >
< artifactId >commons-pool</ artifactId >
< version >1.6</ version >
</ dependency >
< dependency >
< groupId >commons-dbcp</ groupId >
< artifactId >commons-dbcp</ artifactId >
< version >1.4</ version >
</ dependency >
< dependency >
< groupId >com.oracle</ groupId >
< artifactId >ojdbc14</ artifactId >
< version >10.2.0.1.0</ version >
</ dependency >
< dependency >
< groupId >commons-lang</ groupId >
< artifactId >commons-lang</ artifactId >
< version >2.4</ version >
</ dependency >
<!-- xml -->
< dependency >
< groupId >dom4j</ groupId >
< artifactId >dom4j</ artifactId >
< version >1.6.1</ version >
</ dependency >
<!-- test -->
< dependency >
< groupId >junit</ groupId >
< artifactId >junit</ artifactId >
< version >3.8.1</ version >
< scope >test</ scope >
</ dependency >
<!-- 日志 -->
< dependency >
< groupId >log4j</ groupId >
< artifactId >log4j</ artifactId >
< version >1.2.11</ version >
< scope >runtime</ scope >
</ dependency >
</ dependencies >
< build >
< defaultGoal >war</ defaultGoal >
< sourceDirectory >${basedir}/src/main</ sourceDirectory >
< resources >
< resource >
< directory >${basedir}/src/main</ directory >
< includes >
< include >**/*.xml</ include >
</ includes >
< filtering >false</ filtering >
</ resource >
</ resources >
< plugins >
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version> <configuration> <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
</configuration> </plugin> -->
< plugin >
< groupId >org.mortbay.jetty</ groupId >
< artifactId >maven-jetty-plugin</ artifactId >
< version >6.1.10</ version >
</ plugin >
</ plugins >
</ build >
< repositories >
< repository >
< id >codehaus</ id >
< name >Codehaus maven repository</ name >
< url >http://dist.codehaus.org/</ url >
< layout >legacy</ layout >
</ repository >
< repository >
< id >jboss</ id >
< name >jboss repository</ name >
< url >http://repository.jboss.com/maven2/</ url >
< layout >legacy</ layout >
</ repository >
< repository >
< id >maven</ id >
< name >maven repository</ name >
< url >http://repo1.maven.org/maven2/</ url >
< layout >legacy</ layout >
</ repository >
< repository >
< id >sonatype</ id >
< name >sonatype repository</ name >
< url >http://repository.sonatype.org/content/groups/public/</ url >
< layout >legacy</ layout >
</ repository >
< repository >
< id >ibiblio</ id >
< name >ibiblio repository</ name >
< url >http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/</ url >
< layout >legacy</ layout >
</ repository >
</ repositories >
</ project >

 

 加入spring 声明式事务

spring2.5.6 只能和ibatis2.3.4版本进行整合。不能与myibatis整合




本文转自 randy_shandong 51CTO博客,原文链接:http://blog.51cto.com/dba10g/1350286,如需转载请自行联系原作者

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值