pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. <!-- &lt;!&ndash;GSON &ndash;&gt;-->
  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. <dependency>
  95. <groupId>org.apache.commons</groupId>
  96. <artifactId>commons-math3</artifactId>
  97. <version>3.6.1</version>
  98. </dependency>
  99. <!-- &lt;!&ndash; 热部署 &ndash;&gt;-->
  100. <!-- <dependency>-->
  101. <!-- <groupId>org.springframework.boot</groupId>-->
  102. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  103. <!-- <optional>true</optional>-->
  104. <!-- </dependency>-->
  105. <!-- &lt;!&ndash; websocket &ndash;&gt;-->
  106. <!-- <dependency>-->
  107. <!-- <groupId>org.springframework.boot</groupId>-->
  108. <!-- <artifactId>spring-boot-starter-websocket</artifactId>-->
  109. <!-- </dependency>-->
  110. <!-- 配置文件读取 -->
  111. <dependency>
  112. <groupId>commons-configuration</groupId>
  113. <artifactId>commons-configuration</artifactId>
  114. <version>1.10</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-configuration-processor</artifactId>
  119. <optional>true</optional>
  120. </dependency>
  121. <dependency>
  122. <groupId>commons-codec</groupId>
  123. <artifactId>commons-codec</artifactId>
  124. <version>1.9</version>
  125. </dependency>
  126. <!--quartz依赖-->
  127. <dependency>
  128. <groupId>org.quartz-scheduler</groupId>
  129. <artifactId>quartz</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-configuration-processor</artifactId>
  134. <optional>true</optional>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-data-redis</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>redis.clients</groupId>
  142. <artifactId>jedis</artifactId>
  143. <version>2.9.0</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.baomidou</groupId>
  147. <artifactId>mybatis-plus-boot-starter</artifactId>
  148. <version>3.2.0</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.baomidou</groupId>
  152. <artifactId>mybatis-plus-generator</artifactId>
  153. <version>3.3.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.freemarker</groupId>
  157. <artifactId>freemarker</artifactId>
  158. <version>2.3.28</version>
  159. </dependency>
  160. <!-- <dependency>-->
  161. <!-- <groupId>org.apache.poi</groupId>-->
  162. <!-- <artifactId>poi</artifactId>-->
  163. <!-- <version>3.9</version>-->
  164. <!-- </dependency>-->
  165. <!-- <dependency>-->
  166. <!-- <groupId>org.apache.poi</groupId>-->
  167. <!-- <artifactId>poi-ooxml</artifactId>-->
  168. <!-- <version>3.9</version>-->
  169. <!-- </dependency>-->
  170. <!-- <dependency>-->
  171. <!-- <groupId>org.apache.poi</groupId>-->
  172. <!-- <artifactId>poi-ooxml-schemas</artifactId>-->
  173. <!-- <version>3.9</version>-->
  174. <!-- </dependency>-->
  175. <!-- 添加swagger2 -->
  176. <dependency>
  177. <groupId>io.springfox</groupId>
  178. <artifactId>springfox-swagger2</artifactId>
  179. <version>2.7.0</version>
  180. </dependency>
  181. <!-- <dependency>-->
  182. <!-- <groupId>com.microsoft.sqlserver</groupId>-->
  183. <!-- <artifactId>sqljdbc4</artifactId>-->
  184. <!-- <version>4.0</version>-->
  185. <!-- </dependency>-->
  186. <dependency>
  187. <groupId>org.codehaus.jackson</groupId>
  188. <artifactId>jackson-mapper-asl</artifactId>
  189. <version>1.9.13</version>
  190. </dependency>
  191. <!-- <dependency>-->
  192. <!-- <groupId>org.apache.poi</groupId>-->
  193. <!-- <artifactId>poi</artifactId>-->
  194. <!-- <version>4.0.0</version>-->
  195. <!-- </dependency>-->
  196. <!-- <dependency>-->
  197. <!-- <groupId>org.apache.poi</groupId>-->
  198. <!-- <artifactId>poi-ooxml</artifactId>-->
  199. <!-- <version>4.0.0</version>-->
  200. <!-- </dependency>-->
  201. </dependencies>
  202. <build>
  203. <plugins>
  204. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-jar-plugin</artifactId>
  208. <version>3.0.2</version>
  209. <configuration>
  210. <archive>
  211. <manifest>
  212. <addClasspath>true</addClasspath>
  213. <classpathPrefix>lib/</classpathPrefix>
  214. <mainClass>com.gyee.gradeevaluation.GradeevaluationApplication</mainClass>
  215. </manifest>
  216. </archive>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-dependency-plugin</artifactId>
  222. <version>3.0.2</version>
  223. <executions>
  224. <execution>
  225. <id>copy-dependencies</id>
  226. <phase>package</phase>
  227. <goals>
  228. <goal>copy-dependencies</goal>
  229. </goals>
  230. <configuration>
  231. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  232. </configuration>
  233. </execution>
  234. </executions>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.springframework.boot</groupId>
  238. <artifactId>spring-boot-maven-plugin</artifactId>
  239. <configuration>
  240. <fork>true</fork>
  241. <!--增加jvm参数-->
  242. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  243. </configuration>
  244. </plugin>
  245. </plugins>
  246. </build>
  247. </project>