pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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. <artifactId>sis-background</artifactId>
  7. <groupId>com.gyee</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.gyee</groupId>
  11. <artifactId>datacenter</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>datacenter</name>
  14. <description>数据中心</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <!-- SpringBoot Web容器 -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- SpringBoot集成mybatis框架 -->
  25. <!--<dependency>-->
  26. <!--<groupId>org.mybatis.spring.boot</groupId>-->
  27. <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->
  28. <!--<version>1.3.2</version>-->
  29. <!--</dependency>-->
  30. <!-- By Wang jiawen 从本地类库引入阿里巴巴 fastjson 版本1.27 系统级别 路径根目录lib文件夹下 云地址 https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  31. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  32. <dependency>
  33. <groupId>com.alibaba</groupId>
  34. <artifactId>fastjson</artifactId>
  35. <version>1.2.17</version>
  36. </dependency>
  37. <!--By Wang jiawen lombok 从云引入 目的提供get set方法-->
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. <version>1.18.12</version>
  42. </dependency>
  43. <!-- SpringBoot 测试 -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>cglib</groupId>
  51. <artifactId>cglib</artifactId>
  52. <version>2.2.2</version>
  53. </dependency>
  54. <!--GSON -->
  55. <dependency>
  56. <groupId>com.google.code.gson</groupId>
  57. <artifactId>gson</artifactId>
  58. </dependency>
  59. <!-- pageHelper -->
  60. <!-- <dependency>-->
  61. <!-- <groupId>com.github.pagehelper</groupId>-->
  62. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  63. <!-- <version>1.2.5</version>-->
  64. <!-- </dependency>-->
  65. <!-- mysql驱动7.0-->
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. </dependency>
  70. <!-- <dependency>-->
  71. <!-- <groupId>com.oracle</groupId>-->
  72. <!-- <artifactId>ojdbc6</artifactId>-->
  73. <!-- <version>11.2.0.3</version>-->
  74. <!-- <scope>runtime</scope>-->
  75. <!-- </dependency>-->
  76. <!-- <dependency>-->
  77. <!-- <groupId>oracle</groupId>-->
  78. <!-- <artifactId>oracle</artifactId>-->
  79. <!-- <version>11.2.0.3</version>-->
  80. <!-- <scope>system</scope>-->
  81. <!-- <systemPath>${project.basedir}/src/main/resources/lib/ojdbc6.jar</systemPath>-->
  82. <!-- </dependency>-->
  83. <dependency>
  84. <groupId>com.oracle</groupId>
  85. <artifactId>ojdbc6</artifactId>
  86. <version>11.2.0.3</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-jdbc</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-websocket</artifactId>
  95. </dependency>
  96. <!-- mysql驱动8.0
  97. <dependency>
  98. <groupId>mysql</groupId>
  99. <artifactId>mysql-connector-java</artifactId>
  100. <version>8.0.11</version>
  101. </dependency>
  102. -->
  103. <!--druid 数据源监控-->
  104. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>druid-spring-boot-starter</artifactId>
  108. <version>1.1.10</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-aop</artifactId>
  113. </dependency>
  114. <!--常用工具类 -->
  115. <dependency>
  116. <groupId>org.apache.commons</groupId>
  117. <artifactId>commons-lang3</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>commons-lang</groupId>
  121. <artifactId>commons-lang</artifactId>
  122. <version>2.4</version>
  123. </dependency>
  124. <!-- 热部署 -->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-devtools</artifactId>
  128. <optional>true</optional>
  129. </dependency>
  130. <!-- websocket -->
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-websocket</artifactId>
  134. </dependency>
  135. <!-- 配置文件读取 -->
  136. <dependency>
  137. <groupId>commons-configuration</groupId>
  138. <artifactId>commons-configuration</artifactId>
  139. <version>1.10</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-configuration-processor</artifactId>
  144. <optional>true</optional>
  145. </dependency>
  146. <!--百度UEditor依赖的jar包 -->
  147. <!-- <dependency>
  148. <groupId>org.json</groupId>
  149. <artifactId>json</artifactId>
  150. <version>20180813</version>
  151. </dependency>-->
  152. <dependency>
  153. <groupId>commons-codec</groupId>
  154. <artifactId>commons-codec</artifactId>
  155. <version>1.9</version>
  156. </dependency>
  157. <!--quartz依赖-->
  158. <dependency>
  159. <groupId>org.quartz-scheduler</groupId>
  160. <artifactId>quartz</artifactId>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-configuration-processor</artifactId>
  165. <optional>true</optional>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-starter-data-redis</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>redis.clients</groupId>
  173. <artifactId>jedis</artifactId>
  174. <version>2.9.0</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.baomidou</groupId>
  178. <artifactId>mybatis-plus-boot-starter</artifactId>
  179. <version>3.2.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.baomidou</groupId>
  183. <artifactId>mybatis-plus-generator</artifactId>
  184. <version>3.3.2</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.freemarker</groupId>
  188. <artifactId>freemarker</artifactId>
  189. <version>2.3.28</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.poi</groupId>
  193. <artifactId>poi</artifactId>
  194. <version>3.9</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.poi</groupId>
  198. <artifactId>poi-ooxml</artifactId>
  199. <version>3.9</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.poi</groupId>
  203. <artifactId>poi-ooxml-schemas</artifactId>
  204. <version>3.9</version>
  205. </dependency>
  206. <!-- 添加swagger2 -->
  207. <dependency>
  208. <groupId>io.springfox</groupId>
  209. <artifactId>springfox-swagger2</artifactId>
  210. <version>2.7.0</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.microsoft.sqlserver</groupId>
  214. <artifactId>sqljdbc4</artifactId>
  215. <version>4.0</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.codehaus.jackson</groupId>
  219. <artifactId>jackson-mapper-asl</artifactId>
  220. <version>1.9.13</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.apache.poi</groupId>
  224. <artifactId>poi</artifactId>
  225. <version>4.0.0</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.poi</groupId>
  229. <artifactId>poi-ooxml</artifactId>
  230. <version>4.0.0</version>
  231. </dependency>
  232. <!-- web Services -->
  233. <!-- <dependency>-->
  234. <!-- <groupId>org.jetbrains</groupId>-->
  235. <!-- <artifactId>annotations</artifactId>-->
  236. <!-- <version>3.4</version>-->
  237. <!-- <scope>compile</scope>-->
  238. <!-- </dependency>-->
  239. <!-- <dependency>-->
  240. <!-- <groupId>cxf</groupId>-->
  241. <!-- <artifactId>cxf</artifactId>-->
  242. <!-- <version>3.1.12</version>-->
  243. <!-- <scope>system</scope>-->
  244. <!-- <systemPath>${project.basedir}/src/main/resources/lib/cxf-jaxws.jar</systemPath>-->
  245. <!-- </dependency>-->
  246. <!-- <dependency>-->
  247. <!-- <groupId>cxf</groupId>-->
  248. <!-- <artifactId>cxf</artifactId>-->
  249. <!-- <version>3.1.12</version>-->
  250. <!-- <scope>system</scope>-->
  251. <!-- <systemPath>${project.basedir}/src/main/resources/lib/cxt-http.jar</systemPath>-->
  252. <!-- </dependency>-->
  253. </dependencies>
  254. <build>
  255. <plugins>
  256. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-jar-plugin</artifactId>
  260. <version>3.0.2</version>
  261. <configuration>
  262. <archive>
  263. <manifest>
  264. <addClasspath>true</addClasspath>
  265. <classpathPrefix>lib/</classpathPrefix>
  266. <mainClass>com.gyee.datacenter.DatacenterApplication</mainClass>
  267. </manifest>
  268. </archive>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.apache.maven.plugins</groupId>
  273. <artifactId>maven-dependency-plugin</artifactId>
  274. <version>3.0.2</version>
  275. <executions>
  276. <execution>
  277. <id>copy-dependencies</id>
  278. <phase>package</phase>
  279. <goals>
  280. <goal>copy-dependencies</goal>
  281. </goals>
  282. <configuration>
  283. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  284. </configuration>
  285. </execution>
  286. </executions>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.springframework.boot</groupId>
  290. <artifactId>spring-boot-maven-plugin</artifactId>
  291. <configuration>
  292. <fork>true</fork>
  293. <!--增加jvm参数-->
  294. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  295. </configuration>
  296. </plugin>
  297. </plugins>
  298. </build>
  299. </project>