pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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>pagehelper</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. <version>8.0.22</version>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <!-- 核心模块-->
  40. <dependency>
  41. <groupId>com.supervision</groupId>
  42. <artifactId>supervision-framework</artifactId>
  43. </dependency>
  44. <!-- 定时任务-->
  45. <dependency>
  46. <groupId>com.supervision</groupId>
  47. <artifactId>supervision-quartz</artifactId>
  48. </dependency>
  49. <!-- 代码生成-->
  50. <dependency>
  51. <groupId>com.supervision</groupId>
  52. <artifactId>supervision-generator</artifactId>
  53. </dependency>
  54. <!--二维码-->
  55. <dependency>
  56. <groupId>com.google.zxing</groupId>
  57. <artifactId>javase</artifactId>
  58. <version>3.3.0</version>
  59. </dependency>
  60. <!-- 生成pdf -->
  61. <dependency>
  62. <groupId>com.itextpdf</groupId>
  63. <artifactId>itextpdf</artifactId>
  64. <version>5.4.3</version>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  67. <dependency>
  68. <groupId>com.itextpdf</groupId>
  69. <artifactId>itext-asian</artifactId>
  70. <version>5.2.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.lowagie</groupId>
  74. <artifactId>itext</artifactId>
  75. <version>2.1.7</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>jasperreports</groupId>
  79. <artifactId>jasperreports</artifactId>
  80. <version>2.0.1</version>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.lowagie</groupId>
  84. <artifactId>itext</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.pdfbox</groupId>
  90. <artifactId>pdfbox</artifactId>
  91. <version>2.0.25</version>
  92. </dependency>
  93. <!--DOC-->
  94. <dependency>
  95. <groupId>e-iceblue</groupId>
  96. <artifactId>spire.office.free</artifactId>
  97. <version>5.3.1</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>e-iceblue</groupId>
  101. <artifactId>spire.doc.free</artifactId>
  102. <version>5.2.0</version>
  103. </dependency>
  104. <!--sqlserver 数据库-->
  105. <dependency>
  106. <groupId>com.microsoft.sqlserver</groupId>
  107. <artifactId>sqljdbc4</artifactId>
  108. <version>4.0</version>
  109. </dependency>
  110. <!--hutool工具包-->
  111. <dependency>
  112. <groupId>cn.hutool</groupId>
  113. <artifactId>hutool-all</artifactId>
  114. <version>5.8.5</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.freemarker</groupId>
  118. <artifactId>freemarker</artifactId>
  119. <version>2.3.31</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.projectlombok</groupId>
  123. <artifactId>lombok</artifactId>
  124. <scope>provided</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>net.java.dev.jna</groupId>
  128. <artifactId>jna</artifactId>
  129. <version>5.14.0</version>
  130. </dependency>
  131. <!-- <dependency>-->
  132. <!-- <groupId>net.java.dev.jna</groupId>-->
  133. <!-- <artifactId>jna-platform</artifactId>-->
  134. <!-- <version>5.14.0</version>-->
  135. <!-- </dependency>-->
  136. <dependency>
  137. <groupId>local</groupId>
  138. <artifactId>examples</artifactId>
  139. <version>1.0</version>
  140. <scope>system</scope>
  141. <systemPath>${project.basedir}/lib/examples.jar</systemPath>
  142. </dependency>
  143. <dependency>
  144. <groupId>local</groupId>
  145. <artifactId>dom4j</artifactId>
  146. <version>1.0</version>
  147. <scope>system</scope>
  148. <systemPath>${project.basedir}/lib/dom4j.jar</systemPath>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.json</groupId>
  152. <artifactId>json</artifactId>
  153. <version>20240303</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-text</artifactId>
  158. <version>1.11.0</version>
  159. </dependency>
  160. </dependencies>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-maven-plugin</artifactId>
  166. <version>2.1.1.RELEASE</version>
  167. <configuration>
  168. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  169. </configuration>
  170. <executions>
  171. <execution>
  172. <goals>
  173. <goal>repackage</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-war-plugin</artifactId>
  181. <version>3.1.0</version>
  182. <configuration>
  183. <failOnMissingWebXml>false</failOnMissingWebXml>
  184. <warName>${project.artifactId}</warName>
  185. </configuration>
  186. </plugin>
  187. </plugins>
  188. <finalName>${project.artifactId}</finalName>
  189. <resources>
  190. <resource>
  191. <directory>src/main/java</directory>
  192. <includes>
  193. <include>**/*.yml</include>
  194. <include>**/*.properties</include>
  195. <include>**/*.xml</include>
  196. </includes>
  197. <filtering>false</filtering>
  198. </resource>
  199. <resource>
  200. <directory>src/main/resources</directory>
  201. <includes>
  202. <include>**/*.yml</include>
  203. <include>**/*.properties</include>
  204. <include>**/*.xml</include>
  205. </includes>
  206. <filtering>false</filtering>
  207. </resource>
  208. </resources>
  209. </build>
  210. </project>