pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.kingdee</groupId>
  12. <artifactId>GtiitSyn</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>GtiitSyn</name>
  16. <description>GtiitSyn</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.mybatis.spring.boot</groupId>
  27. <artifactId>mybatis-spring-boot-starter</artifactId>
  28. <version>2.3.1</version>
  29. </dependency>
  30. <!--sqlserver依赖 驱动jar-->
  31. <dependency>
  32. <groupId>com.microsoft.sqlserver</groupId>
  33. <artifactId>mssql-jdbc</artifactId>
  34. <scope>runtime</scope>
  35. <version>6.4.0.jre8</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-tomcat</artifactId>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-test</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.mybatis.spring.boot</groupId>
  54. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  55. <version>2.3.1</version>
  56. <scope>test</scope>
  57. </dependency>
  58. <!-- 配置文件加解密 -->
  59. <dependency>
  60. <groupId>com.github.ulisesbocchio</groupId>
  61. <artifactId>jasypt-spring-boot-starter</artifactId>
  62. <version>3.0.5</version>
  63. </dependency>
  64. <!-- 定时任务配置 -->
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-context</artifactId>
  68. </dependency>
  69. <!-- mybatis -->
  70. <!--引入mybatis依赖-->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-boot-starter</artifactId>
  74. <version>3.5.1</version>
  75. </dependency>
  76. <!--引入分页插件依赖-->
  77. <dependency>
  78. <groupId>com.github.pagehelper</groupId>
  79. <artifactId>pagehelper-spring-boot-starter</artifactId>
  80. <version>1.4.6</version>
  81. </dependency>
  82. <!--热部署-->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-devtools</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba</groupId>
  90. <artifactId>druid-spring-boot-starter</artifactId>
  91. <version>1.1.10</version>
  92. </dependency>
  93. <!-- thymeleaf静态文件 -->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  97. </dependency>
  98. <!--axis 依赖-->
  99. <dependency>
  100. <groupId>org.apache.axis</groupId>
  101. <artifactId>axis</artifactId>
  102. <version>1.4</version>
  103. </dependency>
  104. <!--commons-codec 依赖-->
  105. <dependency>
  106. <groupId>commons-codec</groupId>
  107. <artifactId>commons-codec</artifactId>
  108. <version>1.10</version>
  109. </dependency>
  110. <!--commons-discovery 依赖-->
  111. <dependency>
  112. <groupId>commons-discovery</groupId>
  113. <artifactId>commons-discovery</artifactId>
  114. <version>0.2</version>
  115. </dependency>
  116. <!--commons-httpclient 依赖-->
  117. <dependency>
  118. <groupId>commons-httpclient</groupId>
  119. <artifactId>commons-httpclient</artifactId>
  120. <version>3.1</version>
  121. </dependency>
  122. <!--commons-logging 依赖-->
  123. <dependency>
  124. <groupId>commons-logging</groupId>
  125. <artifactId>commons-logging</artifactId>
  126. <version>1.2</version>
  127. </dependency>
  128. <!--httpclient依赖-->
  129. <dependency>
  130. <groupId>org.apache.httpcomponents</groupId>
  131. <artifactId>httpclient</artifactId>
  132. <version>4.5</version>
  133. </dependency>
  134. <!--httpcore 依赖-->
  135. <dependency>
  136. <groupId>org.apache.httpcomponents</groupId>
  137. <artifactId>httpcore</artifactId>
  138. <version>4.4.1</version>
  139. </dependency>
  140. <!--httpmime依赖-->
  141. <dependency>
  142. <groupId>org.apache.httpcomponents</groupId>
  143. <artifactId>httpmime</artifactId>
  144. <version>4.5</version>
  145. </dependency>
  146. <!--javax.servlet-api 依赖-->
  147. <dependency>
  148. <groupId>javax.servlet</groupId>
  149. <artifactId>javax.servlet-api</artifactId>
  150. <version>3.0.1</version>
  151. </dependency>
  152. <!--slf4j-api 依赖-->
  153. <dependency>
  154. <groupId>org.slf4j</groupId>
  155. <artifactId>slf4j-api</artifactId>
  156. <version>1.7.16</version>
  157. </dependency>
  158. <!--引入第三方-->
  159. <dependency>
  160. <groupId>Eclipse.orbit</groupId>
  161. <artifactId>WSDL4J</artifactId>
  162. <version>2.0.1</version>
  163. <scope>system</scope>
  164. <systemPath>${pom.basedir}/src/main/resources/lib/javax.wsdl_1.6.2.v201012040545.jar</systemPath>
  165. </dependency>
  166. <!--引入第三方-->
  167. <dependency>
  168. <groupId>org.apache</groupId>
  169. <artifactId>jaxrpc</artifactId>
  170. <version>1.0</version>
  171. <scope>system</scope>
  172. <systemPath>${pom.basedir}/src/main/resources/lib/jaxrpc.jar</systemPath>
  173. </dependency>
  174. <!--引入第三方-->
  175. <dependency>
  176. <groupId>org.apache</groupId>
  177. <artifactId>saaj</artifactId>
  178. <version>1.0</version>
  179. <scope>system</scope>
  180. <systemPath>${pom.basedir}/src/main/resources/lib/saaj.jar</systemPath>
  181. </dependency>
  182. <!--引入第三方-->
  183. <dependency>
  184. <groupId>com.kingdee</groupId>
  185. <artifactId>osfws</artifactId>
  186. <version>1.0</version>
  187. <scope>system</scope>
  188. <systemPath>${pom.basedir}/src/main/resources/lib/shr_osfws_client.jar</systemPath>
  189. </dependency>
  190. <!-- 调用osf依赖 -->
  191. <dependency>
  192. <groupId>com.osf</groupId>
  193. <artifactId>osf</artifactId>
  194. <version>1.0</version>
  195. <scope>system</scope>
  196. <systemPath>${pom.basedir}/src/main/resources/lib/shr_sso_client.jar</systemPath>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.alibaba</groupId>
  200. <artifactId>fastjson</artifactId>
  201. <version>1.2.55</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>io.springfox</groupId>
  205. <artifactId>springfox-boot-starter</artifactId>
  206. <version>3.0.0</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>cn.hutool</groupId>
  210. <artifactId>hutool-all</artifactId>
  211. <version>5.3.0</version>
  212. </dependency>
  213. </dependencies>
  214. <build>
  215. <plugins>
  216. <plugin>
  217. <groupId>org.springframework.boot</groupId>
  218. <artifactId>spring-boot-maven-plugin</artifactId>
  219. <configuration>
  220. <image>
  221. <builder>paketobuildpacks/builder-jammy-base:latest</builder>
  222. </image>
  223. <excludes>
  224. <exclude>
  225. <groupId>org.projectlombok</groupId>
  226. <artifactId>lombok</artifactId>
  227. </exclude>
  228. </excludes>
  229. <!--打包加入引入外部jar-->
  230. <includeSystemScope>true</includeSystemScope>
  231. </configuration>
  232. </plugin>
  233. <!--处理打包打第三方没有依赖坐标的包问题-->
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-war-plugin</artifactId>
  237. <configuration>
  238. <webResources>
  239. <resource>
  240. <directory>src/main/resources/lib</directory>
  241. <targetPath>WEB-INF/lib/</targetPath>
  242. <includes>
  243. <include>**/*.jar</include>
  244. </includes>
  245. </resource>
  246. </webResources>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. <resources>
  251. <resource>
  252. <directory>src/main/resources</directory>
  253. <includes>
  254. <include>**/*</include>
  255. </includes>
  256. </resource>
  257. <resource>
  258. <!-- 设定主资源目录 -->
  259. <directory>src/main/java</directory>
  260. <!-- maven default生命周期,process-resources阶段执行maven-resources-plugin插件的resources目标处理主资源目下的资源文件时,只处理如下配置中包含的资源类型 -->
  261. <includes>
  262. <include>**/*.xml</include>
  263. </includes>
  264. <!-- maven default生命周期,process-resources阶段执行maven-resources-plugin插件的resources目标处理主资源目下的资源文件时,不处理如下配置中包含的资源类型(剔除下如下配置中包含的资源类型)-->
  265. <excludes>
  266. <exclude>**/*.yml</exclude>
  267. </excludes>
  268. <!-- maven default生命周期,process-resources阶段执行maven-resources-plugin插件的resources目标处理主资源目下的资源文件时,指定处理后的资源文件输出目录,默认是${build.outputDirectory}指定的目录-->
  269. <!--<targetPath>${build.outputDirectory}</targetPath> -->
  270. <!-- maven default生命周期,process-resources阶段执行maven-resources-plugin插件的resources目标处理主资源目下的资源文件时,是否对主资源目录开启资源过滤 -->
  271. <filtering>true</filtering>
  272. </resource>
  273. </resources>
  274. </build>
  275. </project>