pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. <parent>
  6. <artifactId>health</artifactId>
  7. <groupId>com.bzd</groupId>
  8. <version>4.7.9</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>health-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-devtools</artifactId>
  26. <optional>true</optional> <!-- 表示依赖不会传递 -->
  27. </dependency>
  28. <!-- swagger3-->
  29. <dependency>
  30. <groupId>io.springfox</groupId>
  31. <artifactId>springfox-boot-starter</artifactId>
  32. </dependency>
  33. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  34. <dependency>
  35. <groupId>io.swagger</groupId>
  36. <artifactId>swagger-models</artifactId>
  37. <version>1.6.2</version>
  38. </dependency>
  39. <!-- Mysql驱动包 -->
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. </dependency>
  44. <!-- 核心模块-->
  45. <dependency>
  46. <groupId>com.bzd</groupId>
  47. <artifactId>health-framework</artifactId>
  48. </dependency>
  49. <!-- 其他依赖 -->
  50. <!-- <dependency>-->
  51. <!-- <groupId>com.bzd</groupId>-->
  52. <!-- <artifactId>aip-java-sdk-4.16.19.jar</artifactId>-->
  53. <!-- <version>4.16.19</version>-->
  54. <!-- <scope>compile</scope>-->
  55. <!-- <systemPath>${project.basedir}/lib/aip-java-sdk-4.16.19.jar</systemPath>-->
  56. <!-- </dependency>-->
  57. <!-- <dependency>-->
  58. <!-- <groupId>com.bzd</groupId>-->
  59. <!-- <artifactId>json-20160810.jar</artifactId>-->
  60. <!-- <version>20160810</version>-->
  61. <!-- <scope>compile</scope>-->
  62. <!-- <systemPath>${project.basedir}/lib/json-20160810.jar</systemPath>-->
  63. <!-- </dependency>-->
  64. <!-- 百度 AI 平台 Java SDK -->
  65. <dependency>
  66. <groupId>com.baidu.aip</groupId>
  67. <artifactId>java-sdk</artifactId>
  68. <version>4.16.19</version> <!-- 请替换为实际的最新版本号 -->
  69. </dependency>
  70. <!-- JSON 库 -->
  71. <dependency>
  72. <groupId>org.json</groupId>
  73. <artifactId>json</artifactId>
  74. <version>20160810</version>
  75. </dependency>
  76. <!-- 定时任务-->
  77. <dependency>
  78. <groupId>com.bzd</groupId>
  79. <artifactId>health-quartz</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.bouncycastle</groupId>
  83. <artifactId>bcprov-jdk15on</artifactId>
  84. <version>1.68</version> <!-- 请使用最新版本 -->
  85. </dependency>
  86. <!-- 代码生成-->
  87. <dependency>
  88. <groupId>com.bzd</groupId>
  89. <artifactId>health-generator</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.bouncycastle</groupId>
  93. <artifactId>bcprov-jdk18on</artifactId>
  94. <version>1.73</version>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <version>2.5.15</version>
  103. <configuration>
  104. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-war-plugin</artifactId>
  117. <version>3.0.0</version>
  118. <configuration>
  119. <failOnMissingWebXml>false</failOnMissingWebXml>
  120. <warName>${project.artifactId}</warName>
  121. </configuration>
  122. </plugin>
  123. <!-- YUI Compressor (CSS/JS压缩)
  124. <plugin>
  125. <groupId>net.alchim31.maven</groupId>
  126. <artifactId>yuicompressor-maven-plugin</artifactId>
  127. <version>1.5.1</version>
  128. <executions>
  129. <execution>
  130. <phase>prepare-package</phase>
  131. <goals>
  132. <goal>compress</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. <configuration>
  137. <encoding>UTF-8</encoding>
  138. <jswarn>false</jswarn>
  139. <nosuffix>true</nosuffix>
  140. <linebreakpos>50000</linebreakpos>
  141. <sourceDirectory>src/main/resources/static</sourceDirectory>
  142. <force>true</force>
  143. <includes>
  144. <include>**/*.js</include>
  145. <include>**/*.css</include>
  146. </includes>
  147. <excludes>
  148. <exclude>**/*.min.js</exclude>
  149. <exclude>**/*.min.css</exclude>
  150. <exclude>**/fileinput.js</exclude>
  151. <exclude>**/validate/**</exclude>
  152. <exclude>**/bootstrap-table/**</exclude>
  153. </excludes>
  154. </configuration>
  155. </plugin> -->
  156. </plugins>
  157. <finalName>${project.artifactId}</finalName>
  158. </build>
  159. </project>