pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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. <groupId>org.springblade</groupId>
  7. <artifactId>szsq-boot</artifactId>
  8. <packaging>jar</packaging>
  9. <version>1.0.1.RELEASE</version>
  10. <properties>
  11. <bladex.version>2.5.0.RELEASE</bladex.version>
  12. <java.version>1.8</java.version>
  13. <lombok.version>1.18.8</lombok.version>
  14. <maven.plugin.version>3.8.1</maven.plugin.version>
  15. <spring.boot.version>2.2.4.RELEASE</spring.boot.version>
  16. <spring.platform.version>Cairo-SR8</spring.platform.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  20. </properties>
  21. <dependencyManagement>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-dependencies</artifactId>
  26. <version>${spring.boot.version}</version>
  27. <type>pom</type>
  28. <scope>import</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.spring.platform</groupId>
  32. <artifactId>platform-bom</artifactId>
  33. <version>${spring.platform.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. </dependencies>
  38. </dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.jsoup</groupId>
  42. <artifactId>jsoup</artifactId>
  43. <version>1.13.1</version>
  44. </dependency>
  45. <!--依赖-->
  46. <dependency>
  47. <groupId>org.springblade</groupId>
  48. <artifactId>bladex-sms</artifactId>
  49. <version>2.5.0.RELEASE</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springblade</groupId>
  53. <artifactId>bladex-admin</artifactId>
  54. <version>${bladex.version}</version>
  55. <exclusions>
  56. <exclusion>
  57. <groupId>org.springblade</groupId>
  58. <artifactId>blade-starter-redis</artifactId>
  59. </exclusion>
  60. <!-- <exclusion>-->
  61. <!-- <groupId>com.github.xiaoymin</groupId>-->
  62. <!-- <artifactId>knife4j-spring-ui</artifactId>-->
  63. <!-- </exclusion>-->
  64. <!-- <exclusion>-->
  65. <!-- <artifactId>blade-starter-excel</artifactId>-->
  66. <!-- <groupId>org.springblade</groupId>-->
  67. <!-- </exclusion>-->
  68. </exclusions>
  69. </dependency>
  70. <!--这里由于我的springboot版本是2.2.10.RELEASE,所以 springboot admin 也要用2.2.x版-->
  71. <dependency>
  72. <groupId>de.codecentric</groupId>
  73. <artifactId>spring-boot-admin-starter-client</artifactId>
  74. <version>2.2.4</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.springfox</groupId>
  78. <artifactId>springfox-swagger2</artifactId>
  79. <version>2.9.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.springfox</groupId>
  83. <artifactId>springfox-swagger-ui</artifactId>
  84. <version>2.9.2</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.github.swagger2markup</groupId>
  88. <artifactId>swagger2markup</artifactId>
  89. <version>1.3.3</version>
  90. </dependency>
  91. <!--spring security-->
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-security</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springblade</groupId>
  98. <artifactId>blade-core-test</artifactId>
  99. <version>${bladex.version}</version>
  100. <!-- <scope>test</scope> -->
  101. </dependency>
  102. <dependency>
  103. <groupId>org.projectlombok</groupId>
  104. <artifactId>lombok</artifactId>
  105. </dependency>
  106. <!--rabbitmq-->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-amqp</artifactId>
  110. <version>${spring.boot.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.googlecode.cqengine</groupId>
  114. <artifactId>cqengine</artifactId>
  115. <version>3.5.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. <version>1.2.68</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.poi</groupId>
  124. <artifactId>poi</artifactId>
  125. <version>3.17</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.poi</groupId>
  129. <artifactId>poi-ooxml</artifactId>
  130. <version>3.17</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>easyexcel</artifactId>
  135. <version>1.1.2-beta5</version>
  136. </dependency>
  137. <!--依赖-->
  138. <dependency>
  139. <groupId>net.sf.json-lib</groupId>
  140. <artifactId>json-lib</artifactId>
  141. <version>0.9</version>
  142. </dependency>
  143. <!--依赖-->
  144. <dependency>
  145. <groupId>org.springblade</groupId>
  146. <artifactId>blade-starter-excel</artifactId>
  147. <version>2.5.0.RELEASE</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>cn.hutool</groupId>
  151. <artifactId>hutool-all</artifactId>
  152. <version>5.6.5</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.ctg.ag</groupId>
  156. <artifactId>ag-sdk-biz-48734.tar.gz</artifactId>
  157. <version>20210528.182447-SNAPSHOT</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.eclipse.paho</groupId>
  161. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  162. <version>1.2.1</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>me.zhyd.oauth</groupId>
  166. <artifactId>JustAuth</artifactId>
  167. <version>1.16.5</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-configuration-processor</artifactId>
  172. </dependency>
  173. </dependencies>
  174. <build>
  175. <finalName>szsq-boot</finalName>
  176. <resources>
  177. <resource>
  178. <directory>src/main/resources</directory>
  179. </resource>
  180. <resource>
  181. <directory>src/main/java</directory>
  182. <includes>
  183. <include>**/*.xml</include>
  184. </includes>
  185. </resource>
  186. </resources>
  187. <pluginManagement>
  188. <plugins>
  189. <plugin>
  190. <groupId>org.asciidoctor</groupId>
  191. <artifactId>asciidoctor-maven-plugin</artifactId>
  192. <version>1.5.6</version>
  193. <configuration>
  194. <sourceDirectory>src/docs/asciidoc/generated</sourceDirectory>
  195. <outputDirectory>src/docs/asciidoc/html</outputDirectory>
  196. <backend>html</backend>
  197. <sourceHighlighter>coderay</sourceHighlighter>
  198. <attributes>
  199. <toc>left</toc>
  200. </attributes>
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.springframework.boot</groupId>
  205. <artifactId>spring-boot-maven-plugin</artifactId>
  206. <version>${spring.boot.version}</version>
  207. <configuration>
  208. <finalName>${project.build.finalName}</finalName>
  209. <layout>ZIP</layout>
  210. <includes>
  211. <include>
  212. <groupId>nothing</groupId>
  213. <artifactId>nothing</artifactId>
  214. </include>
  215. </includes>
  216. </configuration>
  217. <executions>
  218. <execution>
  219. <goals>
  220. <goal>repackage</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. </plugin>
  225. <plugin>
  226. <groupId>com.spotify</groupId>
  227. <artifactId>docker-maven-plugin</artifactId>
  228. <version>${docker.plugin.version}</version>
  229. <configuration>
  230. <imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
  231. <dockerDirectory>${project.basedir}</dockerDirectory>
  232. <dockerHost>${docker.registry.host}</dockerHost>
  233. <resources>
  234. <resource>
  235. <targetPath>/</targetPath>
  236. <directory>${project.build.directory}</directory>
  237. <include>${project.build.finalName}.jar</include>
  238. </resource>
  239. </resources>
  240. <registryUrl>${docker.registry.url}</registryUrl>
  241. <serverId>${docker.registry.url}</serverId>
  242. <pushImage>true</pushImage>
  243. </configuration>
  244. </plugin>
  245. </plugins>
  246. </pluginManagement>
  247. <plugins>
  248. <plugin>
  249. <groupId>org.springframework.boot</groupId>
  250. <artifactId>spring-boot-maven-plugin</artifactId>
  251. </plugin>
  252. <plugin>
  253. <artifactId>maven-compiler-plugin</artifactId>
  254. <version>${maven.plugin.version}</version>
  255. <configuration>
  256. <source>${java.version}</source>
  257. <target>${java.version}</target>
  258. <encoding>UTF-8</encoding>
  259. <compilerArgs>
  260. <arg>-parameters</arg>
  261. </compilerArgs>
  262. </configuration>
  263. </plugin>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-dependency-plugin</artifactId>
  267. <executions>
  268. <execution>
  269. <id>copy-dependencies</id>
  270. <phase>package</phase>
  271. <goals>
  272. <goal>copy-dependencies</goal>
  273. </goals>
  274. <configuration>
  275. <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
  276. <outputDirectory>target/lib</outputDirectory>
  277. <excludeTransitive>false</excludeTransitive>
  278. <stripVersion>false</stripVersion>
  279. <includeScope>runtime</includeScope>
  280. </configuration>
  281. </execution>
  282. </executions>
  283. </plugin>
  284. <plugin>
  285. <groupId>org.apache.maven.plugins</groupId>
  286. <artifactId>maven-resources-plugin</artifactId>
  287. <executions>
  288. <execution>
  289. <id>copy-resources</id>
  290. <phase>package</phase>
  291. <goals>
  292. <goal>copy-resources</goal>
  293. </goals>
  294. <configuration>
  295. <resources>
  296. <resource>
  297. <directory>src/main/resources</directory>
  298. </resource>
  299. </resources>
  300. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  301. </configuration>
  302. </execution>
  303. </executions>
  304. </plugin>
  305. </plugins>
  306. </build>
  307. <repositories>
  308. <repository>
  309. <snapshots>
  310. <enabled>false</enabled>
  311. </snapshots>
  312. <id>jcenter-releases</id>
  313. <name>jcenter</name>
  314. <url>http://jcenter.bintray.com</url>
  315. </repository>
  316. <repository>
  317. <id>local</id>
  318. <name>local Repository</name>
  319. <url>http://800pharm.7766.org:9081/repository/maven-public/</url>
  320. <layout>default</layout>
  321. </repository>
  322. </repositories>
  323. <distributionManagement>
  324. <repository>
  325. <id>nexus-releases</id>
  326. <name>ReleasesProxy</name>
  327. <url>http://800pharm.7766.org:9081/repository/maven-releases/</url>
  328. </repository>
  329. <snapshotRepository>
  330. <id>nexus-snapshots</id>
  331. <url>http://800pharm.7766.org:9081/repository/maven-snapshots/</url>
  332. </snapshotRepository>
  333. </distributionManagement>
  334. </project>