pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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>gradeevaluation</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>gradeevaluation</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. <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. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.oracle</groupId>
  64. <artifactId>ojdbc6</artifactId>
  65. <version>11.2.0.3</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-jdbc</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-websocket</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>druid-spring-boot-starter</artifactId>
  78. <version>1.1.10</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-aop</artifactId>
  83. </dependency>
  84. <!--常用工具类 -->
  85. <dependency>
  86. <groupId>org.apache.commons</groupId>
  87. <artifactId>commons-lang3</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-lang</groupId>
  91. <artifactId>commons-lang</artifactId>
  92. <version>2.4</version>
  93. </dependency>
  94. <!-- 热部署 -->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-devtools</artifactId>
  98. <optional>true</optional>
  99. </dependency>
  100. <!-- websocket -->
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-websocket</artifactId>
  104. </dependency>
  105. <!-- 配置文件读取 -->
  106. <dependency>
  107. <groupId>commons-configuration</groupId>
  108. <artifactId>commons-configuration</artifactId>
  109. <version>1.10</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-configuration-processor</artifactId>
  114. <optional>true</optional>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-codec</groupId>
  118. <artifactId>commons-codec</artifactId>
  119. <version>1.9</version>
  120. </dependency>
  121. <!--quartz依赖-->
  122. <dependency>
  123. <groupId>org.quartz-scheduler</groupId>
  124. <artifactId>quartz</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-configuration-processor</artifactId>
  129. <optional>true</optional>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-data-redis</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>redis.clients</groupId>
  137. <artifactId>jedis</artifactId>
  138. <version>2.9.0</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.baomidou</groupId>
  142. <artifactId>mybatis-plus-boot-starter</artifactId>
  143. <version>3.2.0</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.baomidou</groupId>
  147. <artifactId>mybatis-plus-generator</artifactId>
  148. <version>3.3.2</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.freemarker</groupId>
  152. <artifactId>freemarker</artifactId>
  153. <version>2.3.28</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.poi</groupId>
  157. <artifactId>poi</artifactId>
  158. <version>3.9</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.poi</groupId>
  162. <artifactId>poi-ooxml</artifactId>
  163. <version>3.9</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.poi</groupId>
  167. <artifactId>poi-ooxml-schemas</artifactId>
  168. <version>3.9</version>
  169. </dependency>
  170. <!-- 添加swagger2 -->
  171. <dependency>
  172. <groupId>io.springfox</groupId>
  173. <artifactId>springfox-swagger2</artifactId>
  174. <version>2.7.0</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.microsoft.sqlserver</groupId>
  178. <artifactId>sqljdbc4</artifactId>
  179. <version>4.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.codehaus.jackson</groupId>
  183. <artifactId>jackson-mapper-asl</artifactId>
  184. <version>1.9.13</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.apache.poi</groupId>
  188. <artifactId>poi</artifactId>
  189. <version>4.0.0</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.poi</groupId>
  193. <artifactId>poi-ooxml</artifactId>
  194. <version>4.0.0</version>
  195. </dependency>
  196. </dependencies>
  197. <build>
  198. <plugins>
  199. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-jar-plugin</artifactId>
  203. <version>3.0.2</version>
  204. <configuration>
  205. <archive>
  206. <manifest>
  207. <addClasspath>true</addClasspath>
  208. <classpathPrefix>lib/</classpathPrefix>
  209. <mainClass>com.gyee.gradeevaluation.GradeevaluationApplication</mainClass>
  210. </manifest>
  211. </archive>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-dependency-plugin</artifactId>
  217. <version>3.0.2</version>
  218. <executions>
  219. <execution>
  220. <id>copy-dependencies</id>
  221. <phase>package</phase>
  222. <goals>
  223. <goal>copy-dependencies</goal>
  224. </goals>
  225. <configuration>
  226. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  227. </configuration>
  228. </execution>
  229. </executions>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.springframework.boot</groupId>
  233. <artifactId>spring-boot-maven-plugin</artifactId>
  234. <configuration>
  235. <fork>true</fork>
  236. <!--增加jvm参数-->
  237. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  238. </configuration>
  239. </plugin>
  240. </plugins>
  241. </build>
  242. </project>