暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  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. <parent>
  7. <groupId>com.shinsoft</groupId>
  8. <artifactId>service</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.shinsoft</groupId>
  12. <artifactId>bas</artifactId>
  13. <version>1.0.0</version>
  14. <name>bas</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <maven.compiler.source>8</maven.compiler.source>
  18. <maven.compiler.target>8</maven.compiler.target>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <dependencies>
  22. <!--spring-->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-logging</artifactId>
  30. </exclusion>
  31. <exclusion>
  32. <groupId>org.hibernate</groupId>
  33. <artifactId>hibernate-validator</artifactId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <!--log4j2-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-log4j2</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.logging.log4j</groupId>
  44. <artifactId>log4j-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.logging.log4j</groupId>
  48. <artifactId>log4j-core</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.logging.log4j</groupId>
  52. <artifactId>log4j-jul</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.logging.log4j</groupId>
  56. <artifactId>log4j-slf4j-impl</artifactId>
  57. </dependency>
  58. <!--log4j2-->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba.cloud</groupId>
  66. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba.cloud</groupId>
  70. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-starter-openfeign</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-aop</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-data-redis</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-amqp</artifactId>
  95. </dependency>
  96. <!--spring-->
  97. <!--common-->
  98. <dependency>
  99. <groupId>org.apache.commons</groupId>
  100. <artifactId>commons-pool2</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-lang3</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-io</groupId>
  108. <artifactId>commons-io</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-fileupload</groupId>
  112. <artifactId>commons-fileupload</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>commons-dbutils</groupId>
  116. <artifactId>commons-dbutils</artifactId>
  117. </dependency>
  118. <!--common-->
  119. <!--数据库相关-->
  120. <dependency>
  121. <groupId>mysql</groupId>
  122. <artifactId>mysql-connector-java</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.oracle.database.jdbc</groupId>
  126. <artifactId>ojdbc8</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.oracle.database.nls</groupId>
  130. <artifactId>orai18n</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.dameng</groupId>
  134. <artifactId>DmJdbcDriver18</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.alibaba</groupId>
  138. <artifactId>druid</artifactId>
  139. </dependency>
  140. <!--数据库相关-->
  141. <!--代码生成-->
  142. <dependency>
  143. <groupId>org.freemarker</groupId>
  144. <artifactId>freemarker</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.baomidou</groupId>
  148. <artifactId>mybatis-plus-boot-starter</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.baomidou</groupId>
  152. <artifactId>mybatis-plus-generator</artifactId>
  153. </dependency>
  154. <!-- <dependency>-->
  155. <!-- <groupId>com.baomidou</groupId>-->
  156. <!-- <artifactId>mybatis-plus-extension</artifactId>-->
  157. <!-- </dependency>-->
  158. <dependency>
  159. <groupId>org.projectlombok</groupId>
  160. <artifactId>lombok</artifactId>
  161. </dependency>
  162. <dependency>
  163. <groupId>io.swagger</groupId>
  164. <artifactId>swagger-annotations</artifactId>
  165. </dependency>
  166. <!--代码生成-->
  167. <!--JSON相关-->
  168. <dependency>
  169. <groupId>com.alibaba</groupId>
  170. <artifactId>fastjson</artifactId>
  171. </dependency>
  172. <!--JSON相关-->
  173. <!--加密-->
  174. <dependency>
  175. <groupId>com.auth0</groupId>
  176. <artifactId>java-jwt</artifactId>
  177. </dependency>
  178. <!--加密-->
  179. <!--二维码-->
  180. <dependency>
  181. <groupId>com.google.zxing</groupId>
  182. <artifactId>core</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.google.zxing</groupId>
  186. <artifactId>javase</artifactId>
  187. </dependency>
  188. <!--二维码-->
  189. <!--POI office文档控制jar-->
  190. <!-- <dependency>-->
  191. <!-- <groupId>org.apache.poi</groupId>-->
  192. <!-- <artifactId>poi</artifactId>-->
  193. <!-- </dependency>-->
  194. <!-- <dependency>-->
  195. <!-- <groupId>org.apache.poi</groupId>-->
  196. <!-- <artifactId>poi-scratchpad</artifactId>-->
  197. <!-- </dependency>-->
  198. <!-- <dependency>-->
  199. <!-- <groupId>org.apache.poi</groupId>-->
  200. <!-- <artifactId>poi-ooxml</artifactId>-->
  201. <!-- </dependency>-->
  202. <!-- <dependency>-->
  203. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  204. <!-- <artifactId>xdocreport</artifactId>-->
  205. <!-- </dependency>-->
  206. <!-- <dependency>-->
  207. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  208. <!-- <artifactId>fr.opensagres.poi.xwpf.converter.core</artifactId>-->
  209. <!-- </dependency>-->
  210. <!-- <dependency>-->
  211. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  212. <!-- <artifactId>fr.opensagres.poi.xwpf.converter.xhtml</artifactId>-->
  213. <!-- </dependency>-->
  214. <!-- <dependency>-->
  215. <!-- <groupId>org.apache.poi</groupId>-->
  216. <!-- <artifactId>poi-ooxml-schemas</artifactId>-->
  217. <!-- </dependency>-->
  218. <!-- <dependency>-->
  219. <!-- <groupId>org.apache.poi</groupId>-->
  220. <!-- <artifactId>ooxml-schemas</artifactId>-->
  221. <!-- </dependency>-->
  222. <!--POI office文档控制jar-->
  223. <!--Excel导入导出-->
  224. <dependency>
  225. <groupId>com.alibaba</groupId>
  226. <artifactId>easyexcel</artifactId>
  227. </dependency>
  228. <!--Excel导入导出-->
  229. <!-- itext-->
  230. <dependency>
  231. <groupId>com.lowagie</groupId>
  232. <artifactId>itext</artifactId>
  233. </dependency>
  234. <!--itext-->
  235. <dependency>
  236. <groupId>cn.hutool</groupId>
  237. <artifactId>hutool-all</artifactId>
  238. </dependency>
  239. <dependency>
  240. <groupId>io.swagger</groupId>
  241. <artifactId>swagger-annotations</artifactId>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.squareup.okhttp3</groupId>
  245. <artifactId>okhttp</artifactId>
  246. </dependency>
  247. <!--对象存储-->
  248. <dependency>
  249. <groupId>io.minio</groupId>
  250. <artifactId>minio</artifactId>
  251. </dependency>
  252. <dependency>
  253. <groupId>com.qiniu</groupId>
  254. <artifactId>qiniu-java-sdk</artifactId>
  255. </dependency>
  256. <dependency>
  257. <groupId>software.amazon.awssdk</groupId>
  258. <artifactId>s3</artifactId>
  259. </dependency>
  260. <!-- 公共方法和接口-->
  261. <dependency>
  262. <groupId>com.shinsoft</groupId>
  263. <artifactId>tools</artifactId>
  264. <version>1.0.1</version>
  265. <scope>system</scope>
  266. <systemPath>${project.basedir}/../lib/tools-1.0.1.jar</systemPath>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.shinsoft</groupId>
  270. <artifactId>generator</artifactId>
  271. <version>1.0.0</version>
  272. <scope>system</scope>
  273. <systemPath>${project.basedir}/../lib/generator-1.0.0.jar</systemPath>
  274. </dependency>
  275. <dependency>
  276. <groupId>com.shinsoft</groupId>
  277. <artifactId>framework-api</artifactId>
  278. <version>1.0.1</version>
  279. <scope>system</scope>
  280. <systemPath>${project.basedir}/../lib/framework-api-1.0.1.jar</systemPath>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.shinsoft</groupId>
  284. <artifactId>workflow-api</artifactId>
  285. <version>1.0.1</version>
  286. <scope>system</scope>
  287. <systemPath>${project.basedir}/../lib/workflow-api-1.0.1.jar</systemPath>
  288. </dependency>
  289. <!-- 公共方法和接口-->
  290. </dependencies>
  291. <profiles>
  292. <profile> <!-- 本地开发环境 -->
  293. <id>localhost</id>
  294. <properties>
  295. <profiles.active>localhost</profiles.active>
  296. </properties>
  297. </profile>
  298. <profile> <!-- 服务器开发环境 -->
  299. <id>develop</id>
  300. <properties>
  301. <profiles.active>develop</profiles.active>
  302. </properties>
  303. <activation>
  304. <activeByDefault>true</activeByDefault>
  305. </activation>
  306. </profile>
  307. <profile> <!-- 测试环境 -->
  308. <id>test</id>
  309. <properties>
  310. <profiles.active>test</profiles.active>
  311. </properties>
  312. </profile>
  313. <profile> <!-- 生产环境 -->
  314. <id>production</id>
  315. <properties>
  316. <profiles.active>production</profiles.active>
  317. </properties>
  318. </profile>
  319. <profile> <!-- 个人 -->
  320. <id>litai</id>
  321. <properties>
  322. <profiles.active>litai</profiles.active>
  323. </properties>
  324. </profile>
  325. </profiles>
  326. <build>
  327. <finalName>${project.artifactId}</finalName>
  328. <resources>
  329. <resource>
  330. <directory>src/main/resources</directory>
  331. <!-- <excludes>-->
  332. <!-- <exclude>localhost/**</exclude>-->
  333. <!-- <exclude>develop/**</exclude>-->
  334. <!-- <exclude>production/**</exclude>-->
  335. <!-- <exclude>classes/**</exclude>-->
  336. <!-- <exclude>lib/**</exclude>-->
  337. <!-- </excludes>-->
  338. </resource>
  339. <resource>
  340. <directory>src/main/resources/${profiles.active}</directory>
  341. </resource>
  342. <resource>
  343. <directory>src/main/resources</directory>
  344. <includes>
  345. <include>**/*.yml</include>
  346. <include>**/*.properties</include>
  347. <include>**/*.xml</include>
  348. </includes>
  349. <filtering>false</filtering>
  350. </resource>
  351. <resource>
  352. <directory>src/main/java</directory>
  353. <targetPath>${project.build.directory}/classes/mapper</targetPath>
  354. <includes>
  355. <include>**/*.xml</include>
  356. </includes>
  357. <filtering>false</filtering>
  358. </resource>
  359. </resources>
  360. <plugins>
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-jar-plugin</artifactId>
  364. <configuration>
  365. <archive>
  366. <manifest>
  367. <addClasspath>true</addClasspath>
  368. <classpathPrefix>lib/</classpathPrefix>
  369. <mainClass>com.shinsoft.bas.BasApplication</mainClass>
  370. </manifest>
  371. <manifestEntries>
  372. <Class-Path>lib/tools-1.0.1.jar lib/generator-1.0.0.jar lib/framework-api-1.0.1.jar lib/workflow-api-1.0.1.jar
  373. </Class-Path>
  374. </manifestEntries>
  375. </archive>
  376. <outputDirectory>
  377. ${project.build.directory}
  378. </outputDirectory>
  379. </configuration>
  380. </plugin>
  381. <plugin>
  382. <groupId>org.apache.maven.plugins</groupId>
  383. <artifactId>maven-dependency-plugin</artifactId>
  384. <executions>
  385. <execution>
  386. <id>copy</id>
  387. <phase>compile</phase>
  388. <goals>
  389. <goal>copy-dependencies</goal>
  390. </goals>
  391. <configuration>
  392. <outputDirectory>
  393. ${project.build.directory}/lib
  394. </outputDirectory>
  395. </configuration>
  396. </execution>
  397. <execution>
  398. <id>sys</id>
  399. <phase>compile</phase>
  400. <goals>
  401. <goal>copy-dependencies</goal>
  402. </goals>
  403. <configuration>
  404. <includeScope>system</includeScope>
  405. </configuration>
  406. </execution>
  407. </executions>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.apache.maven.plugins</groupId>
  411. <artifactId>maven-resources-plugin</artifactId>
  412. <executions>
  413. <execution>
  414. <id>copy-resource</id>
  415. <phase>package</phase>
  416. <goals>
  417. <goal>copy-resources</goal>
  418. </goals>
  419. <configuration>
  420. <outputDirectory>
  421. ${project.build.directory}
  422. </outputDirectory>
  423. <resources>
  424. <resource>
  425. <directory>${project.basedir}/src/main/resources/${profiles.active}</directory>
  426. <includes>
  427. <include>Dockerfile</include>
  428. <include>bootstrap.properties</include>
  429. </includes>
  430. </resource>
  431. </resources>
  432. </configuration>
  433. </execution>
  434. </executions>
  435. </plugin>
  436. </plugins>
  437. </build>
  438. </project>