暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pom.xml 17KB

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