pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <!-- 风电机组健康体检平台 -->
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.3.2.RELEASE</version>
  11. <relativePath/>
  12. </parent>
  13. <groupId>com.zhzn.energy</groupId>
  14. <artifactId>energy-manage-healthcheck</artifactId>
  15. <version>1.0.0-SNAPSHOT</version>
  16. <packaging>jar</packaging>
  17. <name>energy-manage-healthcheck</name>
  18. <description>风电机组健康体检平台接口服务</description>
  19. <properties>
  20. <java.version>1.8</java.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  23. <energy-manage-common.version>1.0.0-SNAPSHOT</energy-manage-common.version>
  24. <fastjson.version>1.2.9</fastjson.version>
  25. <mybatis.starter.version>1.3.1</mybatis.starter.version>
  26. <mapper.starter.version>4.2.1</mapper.starter.version>
  27. <pagehelper.starter.version>1.2.10</pagehelper.starter.version>
  28. <druid.starter.version>1.1.10</druid.starter.version>
  29. <knife4j.version>3.0.1</knife4j.version>
  30. <swagger.version>1.5.21</swagger.version>
  31. </properties>
  32. <dependencies>
  33. <!-- 公共模块:PO / 基础能力 / 共享 CacheService、AlgorithmProperties、分析常量 -->
  34. <dependency>
  35. <groupId>com.zhzn.energy</groupId>
  36. <artifactId>energy-manage-common</artifactId>
  37. <version>${energy-manage-common.version}</version>
  38. </dependency>
  39. <!-- spring boot web -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-aop</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-validation</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-jdbc</artifactId>
  55. </dependency>
  56. <!-- redis -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-data-redis</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>io.lettuce</groupId>
  63. <artifactId>lettuce-core</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>redis.clients</groupId>
  69. <artifactId>jedis</artifactId>
  70. <version>3.1.0</version>
  71. </dependency>
  72. <!-- mybatis -->
  73. <dependency>
  74. <groupId>org.mybatis.spring.boot</groupId>
  75. <artifactId>mybatis-spring-boot-starter</artifactId>
  76. <version>${mybatis.starter.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>tk.mybatis</groupId>
  80. <artifactId>mapper-spring-boot-starter</artifactId>
  81. <version>${mapper.starter.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.github.pagehelper</groupId>
  85. <artifactId>pagehelper-spring-boot-starter</artifactId>
  86. <version>${pagehelper.starter.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba</groupId>
  90. <artifactId>druid-spring-boot-starter</artifactId>
  91. <version>${druid.starter.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>mysql</groupId>
  95. <artifactId>mysql-connector-java</artifactId>
  96. <version>8.0.21</version>
  97. </dependency>
  98. <!-- json -->
  99. <dependency>
  100. <groupId>com.alibaba</groupId>
  101. <artifactId>fastjson</artifactId>
  102. <version>${fastjson.version}</version>
  103. </dependency>
  104. <!-- swagger / knife4j 接口文档 -->
  105. <dependency>
  106. <groupId>io.springfox</groupId>
  107. <artifactId>springfox-boot-starter</artifactId>
  108. <version>3.0.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>io.swagger</groupId>
  112. <artifactId>swagger-annotations</artifactId>
  113. <version>${swagger.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>io.swagger</groupId>
  117. <artifactId>swagger-models</artifactId>
  118. <version>${swagger.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.github.xiaoymin</groupId>
  122. <artifactId>knife4j-spring-boot-starter</artifactId>
  123. <version>${knife4j.version}</version>
  124. </dependency>
  125. <!-- kafka -->
  126. <dependency>
  127. <groupId>org.springframework.kafka</groupId>
  128. <artifactId>spring-kafka</artifactId>
  129. </dependency>
  130. <!-- xxl-job 分布式任务 -->
  131. <dependency>
  132. <groupId>com.xuxueli</groupId>
  133. <artifactId>xxl-job-core</artifactId>
  134. <version>2.3.0</version>
  135. </dependency>
  136. <!-- minio -->
  137. <dependency>
  138. <groupId>io.minio</groupId>
  139. <artifactId>minio</artifactId>
  140. <version>8.0.3</version>
  141. </dependency>
  142. <!--拼音-->
  143. <dependency>
  144. <groupId>com.belerweb</groupId>
  145. <artifactId>pinyin4j</artifactId>
  146. <version>2.5.1</version>
  147. </dependency>
  148. <!-- forest 远程连接框架 -->
  149. <dependency>
  150. <groupId>com.dtflys.forest</groupId>
  151. <artifactId>forest-spring-boot-starter</artifactId>
  152. <version>1.5.30</version>
  153. </dependency>
  154. <!-- jjwt -->
  155. <dependency>
  156. <groupId>com.auth0</groupId>
  157. <artifactId>java-jwt</artifactId>
  158. <version>3.4.0</version>
  159. </dependency>
  160. <!-- 工具 -->
  161. <dependency>
  162. <groupId>cn.hutool</groupId>
  163. <artifactId>hutool-all</artifactId>
  164. <version>5.7.15</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.projectlombok</groupId>
  168. <artifactId>lombok</artifactId>
  169. <version>1.14.4</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.commons</groupId>
  173. <artifactId>commons-lang3</artifactId>
  174. <version>3.10</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>commons-fileupload</groupId>
  178. <artifactId>commons-fileupload</artifactId>
  179. <version>1.3.1</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.hibernate.validator</groupId>
  183. <artifactId>hibernate-validator</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.fasterxml.jackson.datatype</groupId>
  187. <artifactId>jackson-datatype-joda</artifactId>
  188. <version>2.9.10</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>net.lingala.zip4j</groupId>
  192. <artifactId>zip4j</artifactId>
  193. <version>1.3.2</version>
  194. </dependency>
  195. <!-- test -->
  196. <dependency>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-starter-test</artifactId>
  199. <scope>test</scope>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>org.junit.vintage</groupId>
  203. <artifactId>junit-vintage-engine</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. </dependencies>
  208. <build>
  209. <finalName>${project.artifactId}</finalName>
  210. <resources>
  211. <resource>
  212. <directory>src/main/resources/</directory>
  213. <filtering>true</filtering>
  214. <includes>
  215. <include>**/*.properties</include>
  216. </includes>
  217. </resource>
  218. <resource>
  219. <directory>src/main/resources/</directory>
  220. <filtering>true</filtering>
  221. <excludes>
  222. <exclude>**/*.properties</exclude>
  223. </excludes>
  224. </resource>
  225. </resources>
  226. <plugins>
  227. <plugin>
  228. <groupId>org.springframework.boot</groupId>
  229. <artifactId>spring-boot-maven-plugin</artifactId>
  230. <configuration>
  231. <mainClass>com.energy.manage.service.HealthCheckApplication</mainClass>
  232. </configuration>
  233. <executions>
  234. <execution>
  235. <goals>
  236. <goal>repackage</goal>
  237. </goals>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-resources-plugin</artifactId>
  244. <configuration>
  245. <encoding>UTF-8</encoding>
  246. <nonFilteredFileExtensions>
  247. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  248. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  249. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  250. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  251. </nonFilteredFileExtensions>
  252. </configuration>
  253. </plugin>
  254. </plugins>
  255. </build>
  256. <profiles>
  257. <profile>
  258. <id>datang</id>
  259. <properties>
  260. <profiles.active>datang</profiles.active>
  261. </properties>
  262. <activation>
  263. <activeByDefault>true</activeByDefault>
  264. </activation>
  265. </profile>
  266. <profile>
  267. <id>dev</id>
  268. <properties>
  269. <profiles.active>dev</profiles.active>
  270. </properties>
  271. </profile>
  272. <profile>
  273. <id>show</id>
  274. <properties>
  275. <profiles.active>show</profiles.active>
  276. </properties>
  277. </profile>
  278. <profile>
  279. <id>prod</id>
  280. <properties>
  281. <profiles.active>prod</profiles.active>
  282. </properties>
  283. </profile>
  284. <profile>
  285. <id>tidb</id>
  286. <properties>
  287. <profiles.active>tidb</profiles.active>
  288. </properties>
  289. </profile>
  290. </profiles>
  291. </project>