pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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.7</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <packaging>jar</packaging>
  12. <groupId>com.qy</groupId>
  13. <artifactId>workSheetSystem</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>workSheetSystem</name>
  16. <description>workSheetSystem</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <dependencies>
  22. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  23. <dependency>
  24. <groupId>cn.hutool</groupId>
  25. <artifactId>hutool-all</artifactId>
  26. <version>5.8.17</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.junit.vintage</groupId>
  30. <artifactId>junit-vintage-engine</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <!--mysql数据库驱动-->
  35. <!-- <dependency>-->
  36. <!-- <groupId>mysql</groupId>-->
  37. <!-- <artifactId>mysql-connector-java</artifactId>-->
  38. <!-- <scope>runtime</scope>-->
  39. <!-- </dependency>-->
  40. <!-- <dependency>-->
  41. <!-- <groupId>com.alibaba</groupId>-->
  42. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  43. <!-- <version>1.1.23</version>-->
  44. <!-- </dependency>-->
  45. <dependency>
  46. <groupId>log4j</groupId>
  47. <artifactId>log4j</artifactId>
  48. <version>1.2.17</version>
  49. </dependency>
  50. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid</artifactId>
  54. <version>1.2.6</version>
  55. </dependency>
  56. <!--整合Shiro安全框架-->
  57. <dependency>
  58. <groupId>org.apache.shiro</groupId>
  59. <artifactId>shiro-spring</artifactId>
  60. <version>1.7.1</version>
  61. </dependency>
  62. <!--集成jwt实现token认证-->
  63. <dependency>
  64. <groupId>com.auth0</groupId>
  65. <artifactId>java-jwt</artifactId>
  66. <version>3.2.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.google.guava</groupId>
  70. <artifactId>guava</artifactId>
  71. <version>33.2.0-jre</version>
  72. </dependency>
  73. <!--<dependency>
  74. <groupId>javax.mail</groupId>
  75. <artifactId>mail</artifactId>
  76. <version>1.6.2</version>
  77. </dependency> -->
  78. <!-- 集成swagger接口文档 -->
  79. <dependency>
  80. <groupId>io.springfox</groupId>
  81. <artifactId>springfox-swagger-ui</artifactId>
  82. <version>2.9.2</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-swagger2</artifactId>
  87. <version>2.9.2</version>
  88. </dependency>
  89. <!--SpringBoot 的aop 模块-->
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-aop</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  97. </dependency>
  98. <!-- <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-web</artifactId>
  101. </dependency>-->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-web</artifactId>
  105. <!-- <exclusions>
  106. <exclusion>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-tomcat</artifactId>
  109. </exclusion>
  110. </exclusions>-->
  111. </dependency>
  112. <!-- <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-tomcat</artifactId>
  115. <scope>provided</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-undertow</artifactId>
  120. <scope>provided</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.mybatis.spring.boot</groupId>
  124. <artifactId>mybatis-spring-boot-starter</artifactId>
  125. <version>2.2.2</version>
  126. </dependency>-->
  127. <dependency>
  128. <groupId>com.baomidou</groupId>
  129. <artifactId>mybatis-plus-boot-starter</artifactId>
  130. <version>3.4.3.4</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-test</artifactId>
  135. <scope>test</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-starter</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.oracle.database.jdbc</groupId>
  143. <artifactId>ojdbc8</artifactId>
  144. <version>12.2.0.1</version>
  145. <scope>runtime</scope>
  146. </dependency>
  147. <!-- <dependency>
  148. <groupId>com.microsoft.sqlserver</groupId>
  149. <artifactId>mssql-jdbc</artifactId>
  150. <version>12.8.1.jre8</version>
  151. </dependency>-->
  152. <dependency>
  153. <groupId>org.projectlombok</groupId>
  154. <artifactId>lombok</artifactId>
  155. <optional>true</optional>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.github.pagehelper</groupId>
  159. <artifactId>pagehelper</artifactId>
  160. <version>5.3.3</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.commons</groupId>
  164. <artifactId>commons-lang3</artifactId>
  165. <version>3.7</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.github.pagehelper</groupId>
  169. <artifactId>pagehelper-spring-boot-starter</artifactId>
  170. <version>1.4.7</version>
  171. </dependency>
  172. <!-- https://mvnrepository.com/artifact/axis/axis -->
  173. <dependency>
  174. <groupId>axis</groupId>
  175. <artifactId>axis</artifactId>
  176. <version>1.4</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>junit</groupId>
  180. <artifactId>junit</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>ch.qos.logback</groupId>
  184. <artifactId>logback-classic</artifactId>
  185. <version>1.2.3</version> <!-- 使用最新的版本 -->
  186. </dependency>
  187. <dependency>
  188. <groupId>com.kingdee.ksql</groupId> <!--自定义-->
  189. <artifactId>ksql-sdk</artifactId> <!--自定义-->
  190. <version>0.0.1-SNAPSHOT</version> <!--自定义-->
  191. <scope>system</scope>
  192. <!--jar包路径 注意:这里用的是 {pom.basedir}-->
  193. <systemPath>${pom.basedir}/lib/ksql.jar</systemPath>
  194. </dependency>
  195. <!-- <dependency>
  196. <groupId>com.kingdee.sso</groupId>
  197. <artifactId>sso-sdk</artifactId>
  198. <version>0.0.1-SNAPSHOT</version>
  199. <scope>system</scope>
  200. <systemPath>lib/shr_sso_client_pro.jar</systemPath>
  201. </dependency>-->
  202. <dependency>
  203. <groupId>com.google.code.gson</groupId>
  204. <artifactId>gson</artifactId>
  205. <version>2.9.0</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.httpcomponents</groupId>
  209. <artifactId>httpclient</artifactId>
  210. <version>4.5.13</version> <!-- 请使用最新的版本号 -->
  211. </dependency>
  212. <dependency>
  213. <groupId>javax.servlet</groupId>
  214. <artifactId>javax.servlet-api</artifactId>
  215. <version>4.0.1</version>
  216. <scope>provided</scope>
  217. </dependency>
  218. </dependencies>
  219. <profiles>
  220. <profile>
  221. <id>dev</id>
  222. <activation>
  223. <activeByDefault>true</activeByDefault>
  224. </activation>
  225. <dependencies>
  226. <!-- 开发环境特有的依赖 -->
  227. <dependency>
  228. <groupId>com.kingdee.sso</groupId> <!--自定义-->
  229. <artifactId>sso-sdk</artifactId> <!--自定义-->
  230. <version>0.0.1-SNAPSHOT</version> <!--自定义-->
  231. <scope>system</scope>
  232. <!--jar包路径 注意:这里用的是 {pom.basedir}-->
  233. <systemPath>${pom.basedir}/lib/shr_sso_client_dev.jar</systemPath>
  234. </dependency>
  235. <!-- 其他开发环境依赖 -->
  236. </dependencies>
  237. </profile>
  238. <profile>
  239. <id>pro</id>
  240. <dependencies>
  241. <!-- 生产环境特有的依赖 -->
  242. <dependency>
  243. <groupId>com.kingdee.sso</groupId> <!--自定义-->
  244. <artifactId>sso-sdk</artifactId> <!--自定义-->
  245. <version>0.0.1-SNAPSHOT</version> <!--自定义-->
  246. <scope>system</scope>
  247. <!--jar包路径 注意:这里用的是 {pom.basedir}-->
  248. <systemPath>${pom.basedir}/lib/shr_sso_client_pro.jar</systemPath>
  249. </dependency>
  250. <!-- 其他生产环境依赖 -->
  251. </dependencies>
  252. </profile>
  253. </profiles>
  254. <build>
  255. <plugins>
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-site-plugin</artifactId>
  259. <version>3.8.2</version>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-maven-plugin</artifactId>
  264. <configuration>
  265. <excludes>
  266. <exclude>
  267. <groupId>org.projectlombok</groupId>
  268. <artifactId>lombok</artifactId>
  269. </exclude>
  270. </excludes>
  271. <includeSystemScope>true</includeSystemScope>
  272. <profiles>${spring.profiles.active}</profiles>
  273. </configuration>
  274. <executions>
  275. <execution>
  276. <goals>
  277. <goal>repackage</goal>
  278. </goals>
  279. </execution>
  280. </executions>
  281. </plugin>
  282. </plugins>
  283. <resources>
  284. <resource>
  285. <directory>src/main/java</directory>
  286. <excludes>
  287. <exclude>**/*.java</exclude>
  288. </excludes>
  289. </resource>
  290. <resource>
  291. <directory>src/main/resources</directory>
  292. <includes>
  293. <include>**/*.*</include>
  294. </includes>
  295. </resource>
  296. </resources>
  297. <finalName>workSheet</finalName>
  298. </build>
  299. </project>