pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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>supervision</artifactId>
  7. <groupId>com.supervision</groupId>
  8. <version>3.8.2</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>supervision-admin</artifactId>
  13. <description>web服务入口</description>
  14. <dependencies>
  15. <!-- spring-boot-devtools -->
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-devtools</artifactId>
  19. <optional>true</optional> <!-- 表示依赖不会传递 -->
  20. </dependency>
  21. <!-- swagger3-->
  22. <dependency>
  23. <groupId>io.springfox</groupId>
  24. <artifactId>springfox-boot-starter</artifactId>
  25. </dependency>
  26. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  27. <dependency>
  28. <groupId>io.swagger</groupId>
  29. <artifactId>swagger-models</artifactId>
  30. <version>1.6.2</version>
  31. </dependency>
  32. <!-- Mysql驱动包 -->
  33. <dependency>
  34. <groupId>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. </dependency>
  37. <!-- 核心模块-->
  38. <dependency>
  39. <groupId>com.supervision</groupId>
  40. <artifactId>supervision-framework</artifactId>
  41. </dependency>
  42. <!-- 定时任务-->
  43. <dependency>
  44. <groupId>com.supervision</groupId>
  45. <artifactId>supervision-quartz</artifactId>
  46. </dependency>
  47. <!-- 代码生成-->
  48. <dependency>
  49. <groupId>com.supervision</groupId>
  50. <artifactId>supervision-generator</artifactId>
  51. </dependency>
  52. <!--二维码-->
  53. <dependency>
  54. <groupId>com.google.zxing</groupId>
  55. <artifactId>javase</artifactId>
  56. <version>3.3.0</version>
  57. </dependency>
  58. <!-- 生成pdf -->
  59. <dependency>
  60. <groupId>com.itextpdf</groupId>
  61. <artifactId>itextpdf</artifactId>
  62. <version>5.4.3</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  65. <dependency>
  66. <groupId>com.itextpdf</groupId>
  67. <artifactId>itext-asian</artifactId>
  68. <version>5.2.0</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.lowagie</groupId>
  72. <artifactId>itext</artifactId>
  73. <version>2.1.7</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>jasperreports</groupId>
  77. <artifactId>jasperreports</artifactId>
  78. <version>2.0.1</version>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>com.lowagie</groupId>
  82. <artifactId>itext</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.pdfbox</groupId>
  88. <artifactId>pdfbox</artifactId>
  89. <version>2.0.25</version>
  90. </dependency>
  91. <!--DOC-->
  92. <dependency>
  93. <groupId>e-iceblue</groupId>
  94. <artifactId>spire.office.free</artifactId>
  95. <version>5.3.1</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>e-iceblue</groupId>
  99. <artifactId>spire.doc.free</artifactId>
  100. <version>5.2.0</version>
  101. </dependency>
  102. <!--sqlserver 数据库-->
  103. <dependency>
  104. <groupId>com.microsoft.sqlserver</groupId>
  105. <artifactId>sqljdbc4</artifactId>
  106. <version>4.0</version>
  107. </dependency>
  108. <!--hutool工具包-->
  109. <dependency>
  110. <groupId>cn.hutool</groupId>
  111. <artifactId>hutool-all</artifactId>
  112. <version>5.8.5</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.freemarker</groupId>
  116. <artifactId>freemarker</artifactId>
  117. <version>2.3.31</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.projectlombok</groupId>
  121. <artifactId>lombok</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>net.java.dev.jna</groupId>
  126. <artifactId>jna</artifactId>
  127. <version>5.14.0</version>
  128. </dependency>
  129. <!-- <dependency>-->
  130. <!-- <groupId>net.java.dev.jna</groupId>-->
  131. <!-- <artifactId>jna-platform</artifactId>-->
  132. <!-- <version>5.14.0</version>-->
  133. <!-- </dependency>-->
  134. <dependency>
  135. <groupId>local</groupId>
  136. <artifactId>examples</artifactId>
  137. <version>1.0</version>
  138. <scope>system</scope>
  139. <systemPath>${project.basedir}/lib/examples.jar</systemPath>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.json</groupId>
  143. <artifactId>json</artifactId>
  144. <version>20240303</version>
  145. </dependency>
  146. </dependencies>
  147. <build>
  148. <plugins>
  149. <plugin>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-maven-plugin</artifactId>
  152. <version>2.1.1.RELEASE</version>
  153. <configuration>
  154. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  155. </configuration>
  156. <executions>
  157. <execution>
  158. <goals>
  159. <goal>repackage</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-war-plugin</artifactId>
  167. <version>3.1.0</version>
  168. <configuration>
  169. <failOnMissingWebXml>false</failOnMissingWebXml>
  170. <warName>${project.artifactId}</warName>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. <finalName>${project.artifactId}</finalName>
  175. <resources>
  176. <resource>
  177. <directory>src/main/java</directory>
  178. <includes>
  179. <include>**/*.yml</include>
  180. <include>**/*.properties</include>
  181. <include>**/*.xml</include>
  182. </includes>
  183. <filtering>false</filtering>
  184. </resource>
  185. <resource>
  186. <directory>src/main/resources</directory>
  187. <includes>
  188. <include>**/*.yml</include>
  189. <include>**/*.properties</include>
  190. <include>**/*.xml</include>
  191. </includes>
  192. <filtering>false</filtering>
  193. </resource>
  194. </resources>
  195. </build>
  196. </project>