pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.jzlife.report</groupId>
  6. <artifactId>report</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.1.1.RELEASE</version>
  13. <relativePath/> <!-- lookup parent from repository -->
  14. </parent>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.sun.mail</groupId>
  22. <artifactId>javax.mail</artifactId>
  23. </dependency>
  24. <!-- 阿里sdk -->
  25. <dependency>
  26. <groupId>com.aliyun</groupId>
  27. <artifactId>aliyun-java-sdk-core</artifactId>
  28. <version>4.4.2</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.bstek.ureport</groupId>
  32. <artifactId>ureport2-console</artifactId>
  33. <version>2.2.9</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.google.guava</groupId>
  37. <artifactId>guava</artifactId>
  38. <version>31.0.1-jre</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>cn.afterturn</groupId>
  42. <artifactId>easypoi-base</artifactId>
  43. <version>4.4.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-devtools</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.fasterxml.jackson.core</groupId>
  52. <artifactId>jackson-databind</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <!-- Spring Boot Mybatis 依赖 -->
  64. <dependency>
  65. <groupId>org.mybatis.spring.boot</groupId>
  66. <artifactId>mybatis-spring-boot-starter</artifactId>
  67. <version>1.2.0</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>tk.mybatis</groupId>
  71. <artifactId>mapper-spring-boot-starter</artifactId>
  72. <version>1.2.4</version>
  73. </dependency>
  74. <!-- MySQL 连接驱动依赖 -->
  75. <dependency>
  76. <groupId>mysql</groupId>
  77. <artifactId>mysql-connector-java</artifactId>
  78. <version>8.0.25</version>
  79. </dependency>
  80. <!-- 数据库连接池 -->
  81. <dependency>
  82. <groupId>com.alibaba</groupId>
  83. <artifactId>druid-spring-boot-starter</artifactId>
  84. <version>1.2.8</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.alibaba</groupId>
  88. <artifactId>fastjson</artifactId>
  89. <version>1.2.79</version>
  90. </dependency>
  91. <!-- For log4j -->
  92. <dependency>
  93. <groupId>log4j</groupId>
  94. <artifactId>log4j</artifactId>
  95. <version>1.2.17</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.commons</groupId>
  99. <artifactId>commons-lang3</artifactId>
  100. <version>3.12.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>eu.bitwalker</groupId>
  104. <artifactId>UserAgentUtils</artifactId>
  105. <version>1.21</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-httpclient</groupId>
  109. <artifactId>commons-httpclient</artifactId>
  110. <version>3.1</version>
  111. </dependency>
  112. <!--redis依赖配置 -->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-data-redis</artifactId>
  116. </dependency>
  117. <!--lombok依赖 -->
  118. <dependency>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. <version>1.18.28</version>
  122. <optional>true</optional>
  123. </dependency>
  124. <dependency>
  125. <groupId>io.springfox</groupId>
  126. <artifactId>springfox-swagger2</artifactId>
  127. <version>2.6.1</version>
  128. <scope>compile</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.springfox</groupId>
  132. <artifactId>springfox-swagger-ui</artifactId>
  133. <version>2.6.1</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.github.xiaoymin</groupId>
  137. <artifactId>knife4j-spring-boot-starter</artifactId>
  138. <version>2.0.4</version>
  139. </dependency>
  140. <!-- ppi -->
  141. <dependency>
  142. <groupId>org.apache.poi</groupId>
  143. <artifactId>poi</artifactId>
  144. <version>3.17</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.poi</groupId>
  148. <artifactId>poi-ooxml</artifactId>
  149. <version>3.17</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>xerces</groupId>
  153. <artifactId>xercesImpl</artifactId>
  154. <version>2.9.0</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.github.pagehelper</groupId>
  158. <artifactId>pagehelper-spring-boot-starter</artifactId>
  159. <version>1.2.5</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework</groupId>
  163. <artifactId>spring-aop</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework</groupId>
  167. <artifactId>spring-aspects</artifactId>
  168. </dependency>
  169. <!--okHttp-->
  170. <dependency>
  171. <groupId>com.squareup.okhttp3</groupId>
  172. <artifactId>okhttp</artifactId>
  173. <version>4.9.2</version>
  174. </dependency>
  175. <!--katolin-->
  176. <dependency>
  177. <groupId>org.jetbrains.kotlin</groupId>
  178. <artifactId>kotlin-stdlib</artifactId>
  179. <version>1.3.70</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>easyexcel</artifactId>
  184. <version>3.3.2</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>cn.hutool</groupId>
  188. <artifactId>hutool-all</artifactId>
  189. <version>5.6.5</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.shiro</groupId>
  193. <artifactId>shiro-spring</artifactId>
  194. <version>1.4.0</version>
  195. </dependency>
  196. </dependencies>
  197. <dependencyManagement>
  198. <dependencies>
  199. <dependency>
  200. <groupId>org.springframework.cloud</groupId>
  201. <artifactId>spring-cloud-dependencies</artifactId>
  202. <version>${spring-cloud.version}</version>
  203. <type>pom</type>
  204. <scope>import</scope>
  205. </dependency>
  206. </dependencies>
  207. </dependencyManagement>
  208. <build>
  209. <finalName>reportservice</finalName>
  210. <resources>
  211. <resource>
  212. <directory>src/main/java</directory>
  213. <includes>
  214. <include>**/*.yml</include>
  215. <include>**/*.properties</include>
  216. <include>**/*.xml</include>
  217. </includes>
  218. <filtering>false</filtering>
  219. </resource>
  220. <resource>
  221. <directory>src/main/resources</directory>
  222. <includes>
  223. <include>**/*.yml</include>
  224. <include>**/*.properties</include>
  225. <include>**/*.xml</include>
  226. </includes>
  227. <filtering>false</filtering>
  228. </resource>
  229. <resource>
  230. <directory>lib</directory>
  231. <targetPath>BOOT-INF/lib/</targetPath>
  232. <includes>
  233. <include>**/*.jar</include>
  234. </includes>
  235. <filtering>false</filtering>
  236. </resource>
  237. </resources>
  238. <plugins>
  239. <plugin>
  240. <groupId>org.springframework.boot</groupId>
  241. <artifactId>spring-boot-maven-plugin</artifactId>
  242. <configuration>
  243. <fork>true</fork>
  244. </configuration>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-compiler-plugin</artifactId>
  249. <version>3.1</version>
  250. <configuration>
  251. <source>1.8</source>
  252. <target>1.8</target>
  253. <encoding>UTF-8</encoding>
  254. <!-- <compilerArguments>-->
  255. <!-- <verbose/>-->
  256. <!-- <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>-->
  257. <!-- <extdirs>${project.basedir}/src/main/webapp/WEB-INF/lib</extdirs>-->
  258. <!-- </compilerArguments>-->
  259. </configuration>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.apache.maven.plugins</groupId>
  263. <artifactId>maven-resources-plugin</artifactId>
  264. <executions>
  265. <execution>
  266. <id>default-resources</id>
  267. <phase>validate</phase>
  268. <goals>
  269. <goal>copy-resources</goal>
  270. </goals>
  271. <configuration>
  272. <outputDirectory>target/classes</outputDirectory>
  273. <useDefaultDelimiters>false</useDefaultDelimiters>
  274. <delimiters>
  275. <delimiter>#</delimiter>
  276. </delimiters>
  277. <resources>
  278. <resource>
  279. <directory>src/main/resources/</directory>
  280. <filtering>true</filtering>
  281. </resource>
  282. <resource>
  283. <directory>src/main/resources.${spring.profiles.active}</directory>
  284. <filtering>false</filtering>
  285. </resource>
  286. </resources>
  287. <nonFilteredFileExtensions>
  288. <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
  289. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  290. <nonFilteredFileExtension>ttc</nonFilteredFileExtension>
  291. </nonFilteredFileExtensions>
  292. </configuration>
  293. </execution>
  294. </executions>
  295. </plugin>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-surefire-plugin</artifactId>
  299. <version>2.5</version>
  300. <configuration>
  301. <skipTests>true</skipTests>
  302. </configuration>
  303. </plugin>
  304. </plugins>
  305. </build>
  306. <profiles>
  307. <!--开发环境 -->
  308. <profile>
  309. <id>dev</id>
  310. <properties>
  311. <spring.profiles.active>dev</spring.profiles.active>
  312. </properties>
  313. <activation>
  314. <activeByDefault>true</activeByDefault>
  315. </activation>
  316. </profile>
  317. <!--生产环境 -->
  318. <profile>
  319. <id>pro</id>
  320. <properties>
  321. <spring.profiles.active>pro</spring.profiles.active>
  322. </properties>
  323. </profile>
  324. <profile>
  325. <id>uat</id>
  326. <properties>
  327. <spring.profiles.active>uat</spring.profiles.active>
  328. </properties>
  329. </profile>
  330. <profile>
  331. <id>uatbak</id>
  332. <properties>
  333. <spring.profiles.active>uatbak</spring.profiles.active>
  334. </properties>
  335. </profile>
  336. </profiles>
  337. </project>