pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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>cache</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>cache</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. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  31. <dependency>
  32. <groupId>com.alibaba</groupId>
  33. <artifactId>fastjson</artifactId>
  34. <version>1.2.17</version>
  35. </dependency>
  36. <!--By Wang jiawen lombok 从云引入 目的提供get set方法-->
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <version>1.18.12</version>
  41. </dependency>
  42. <!-- SpringBoot 测试 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>cglib</groupId>
  50. <artifactId>cglib</artifactId>
  51. <version>2.2.2</version>
  52. </dependency>
  53. <!--GSON -->
  54. <dependency>
  55. <groupId>com.google.code.gson</groupId>
  56. <artifactId>gson</artifactId>
  57. </dependency>
  58. <!-- pageHelper -->
  59. <!-- <dependency>-->
  60. <!-- <groupId>com.github.pagehelper</groupId>-->
  61. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  62. <!-- <version>1.2.5</version>-->
  63. <!-- </dependency>-->
  64. <!-- mysql驱动7.0-->
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.oracle</groupId>
  71. <artifactId>ojdbc6</artifactId>
  72. <version>11.2.0.3</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-jdbc</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-websocket</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>druid-spring-boot-starter</artifactId>
  85. <version>1.1.21</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-aop</artifactId>
  90. </dependency>
  91. <!--常用工具类 -->
  92. <dependency>
  93. <groupId>org.apache.commons</groupId>
  94. <artifactId>commons-lang3</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-lang</groupId>
  98. <artifactId>commons-lang</artifactId>
  99. <version>2.4</version>
  100. </dependency>
  101. <!-- 热部署 -->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-devtools</artifactId>
  105. <optional>true</optional>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi</artifactId>
  110. <version>3.9</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.poi</groupId>
  114. <artifactId>poi-ooxml</artifactId>
  115. <version>3.9</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.poi</groupId>
  119. <artifactId>poi-ooxml-schemas</artifactId>
  120. <version>3.9</version>
  121. </dependency>
  122. <!-- websocket -->
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-websocket</artifactId>
  126. </dependency>
  127. <!-- 配置文件读取 -->
  128. <dependency>
  129. <groupId>commons-configuration</groupId>
  130. <artifactId>commons-configuration</artifactId>
  131. <version>1.10</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-configuration-processor</artifactId>
  136. <optional>true</optional>
  137. </dependency>
  138. <dependency>
  139. <groupId>commons-codec</groupId>
  140. <artifactId>commons-codec</artifactId>
  141. <version>1.9</version>
  142. </dependency>
  143. <!--quartz依赖-->
  144. <dependency>
  145. <groupId>org.quartz-scheduler</groupId>
  146. <artifactId>quartz</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-configuration-processor</artifactId>
  151. <optional>true</optional>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-data-redis</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>redis.clients</groupId>
  159. <artifactId>jedis</artifactId>
  160. <version>2.9.0</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.baomidou</groupId>
  164. <artifactId>mybatis-plus-boot-starter</artifactId>
  165. <version>3.2.0</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.baomidou</groupId>
  169. <artifactId>mybatis-plus-generator</artifactId>
  170. <version>3.3.2</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.freemarker</groupId>
  174. <artifactId>freemarker</artifactId>
  175. <version>2.3.28</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.microsoft.sqlserver</groupId>
  179. <artifactId>sqljdbc4</artifactId>
  180. <version>4.0</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.codehaus.jackson</groupId>
  184. <artifactId>jackson-mapper-asl</artifactId>
  185. <version>1.9.13</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.apache.poi</groupId>
  189. <artifactId>poi</artifactId>
  190. <version>4.0.0</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.apache.poi</groupId>
  194. <artifactId>poi-ooxml</artifactId>
  195. <version>4.0.0</version>
  196. </dependency>
  197. </dependencies>
  198. <build>
  199. <plugins>
  200. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-jar-plugin</artifactId>
  204. <version>3.0.2</version>
  205. <configuration>
  206. <archive>
  207. <manifest>
  208. <addClasspath>true</addClasspath>
  209. <classpathPrefix>lib/</classpathPrefix>
  210. <mainClass>com.gyee.cache.CacheApplication</mainClass>
  211. </manifest>
  212. </archive>
  213. </configuration>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-dependency-plugin</artifactId>
  218. <version>3.0.2</version>
  219. <executions>
  220. <execution>
  221. <id>copy-dependencies</id>
  222. <phase>package</phase>
  223. <goals>
  224. <goal>copy-dependencies</goal>
  225. </goals>
  226. <configuration>
  227. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  228. </configuration>
  229. </execution>
  230. </executions>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.springframework.boot</groupId>
  234. <artifactId>spring-boot-maven-plugin</artifactId>
  235. <configuration>
  236. <fork>true</fork>
  237. <!--增加jvm参数-->
  238. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  239. </configuration>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. </project>