1+ <?xml  version =" 1.0"  encoding =" UTF-8"  ?>
2+ <project  xmlns =" http://maven.apache.org/POM/4.0.0" 
3+          xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" 
4+          xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"  >
5+     <modelVersion >4.0.0</modelVersion >
6+ 
7+     <groupId >com.xncoding</groupId >
8+     <artifactId >springboot-cxf</artifactId >
9+     <version >1.0.0-SNAPSHOT</version >
10+     <packaging >jar</packaging >
11+ 
12+     <name >springboot-restful</name >
13+     <description >CXF实现WebService</description >
14+ 
15+     <parent >
16+         <groupId >org.springframework.boot</groupId >
17+         <artifactId >spring-boot-starter-parent</artifactId >
18+         <version >1.5.10.RELEASE</version >
19+         <relativePath />
20+     </parent >
21+ 
22+     <properties >
23+         <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
24+         <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
25+         <java .version>1.8</java .version>
26+     </properties >
27+ 
28+     <dependencies >
29+         <dependency >
30+             <groupId >org.springframework.boot</groupId >
31+             <artifactId >spring-boot-starter-web</artifactId >
32+             <exclusions >
33+                 <exclusion >
34+                     <groupId >org.springframework.boot</groupId >
35+                     <artifactId >spring-boot-starter-tomcat</artifactId >
36+                 </exclusion >
37+             </exclusions >
38+         </dependency >
39+         <dependency >
40+             <groupId >org.springframework.boot</groupId >
41+             <artifactId >spring-boot-starter-jetty</artifactId >
42+         </dependency >
43+ 
44+         <!--  CXF webservice --> 
45+         <dependency >
46+             <groupId >org.apache.cxf</groupId >
47+             <artifactId >cxf-spring-boot-starter-jaxws</artifactId >
48+             <version >3.2.4</version >
49+         </dependency >
50+         <!--  CXF webservice --> 
51+ 
52+         <dependency >
53+             <groupId >org.springframework.boot</groupId >
54+             <artifactId >spring-boot-starter-test</artifactId >
55+             <scope >test</scope >
56+         </dependency >
57+         <dependency >
58+             <groupId >org.hamcrest</groupId >
59+             <artifactId >hamcrest-all</artifactId >
60+             <version >1.3</version >
61+             <scope >test</scope >
62+         </dependency >
63+     </dependencies >
64+ 
65+     <build >
66+         <plugins >
67+             <plugin >
68+                 <groupId >org.apache.maven.plugins</groupId >
69+                 <artifactId >maven-compiler-plugin</artifactId >
70+                 <version >3.6.1</version >
71+                 <configuration >
72+                     <!-- <proc>none</proc>--> 
73+                     <source >1.8</source >
74+                     <target >1.8</target >
75+                 </configuration >
76+             </plugin >
77+             <plugin >
78+                 <groupId >org.apache.maven.plugins</groupId >
79+                 <artifactId >maven-surefire-plugin</artifactId >
80+                 <version >2.20</version >
81+                 <configuration >
82+                     <skip >true</skip >
83+                 </configuration >
84+             </plugin >
85+             <plugin >
86+                 <groupId >org.springframework.boot</groupId >
87+                 <artifactId >spring-boot-maven-plugin</artifactId >
88+                 <executions >
89+                 </executions >
90+             </plugin >
91+         </plugins >
92+ 
93+         <resources >
94+             <resource >
95+                 <directory >src/main/resources</directory >
96+             </resource >
97+             <resource >
98+                 <directory >src/main/java</directory >
99+                 <includes >
100+                     <include >**/*.xml</include >
101+                 </includes >
102+             </resource >
103+         </resources >
104+     </build >
105+ 
106+ </project >
0 commit comments