No Description
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.

pom.xml 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  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.alibaba</groupId>
  144. <artifactId>druid</artifactId>
  145. </dependency>
  146. <!-- <dependency>-->
  147. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  148. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  149. <!-- </dependency>-->
  150. <!-- <dependency>-->
  151. <!-- <groupId>com.github.pagehelper</groupId>-->
  152. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId> -->
  153. <!-- </dependency>-->
  154. <!--数据库相关-->
  155. <!--代码生成-->
  156. <dependency>
  157. <groupId>org.freemarker</groupId>
  158. <artifactId>freemarker</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.baomidou</groupId>
  162. <artifactId>mybatis-plus-boot-starter</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.baomidou</groupId>
  166. <artifactId>mybatis-plus-generator</artifactId>
  167. </dependency>
  168. <!-- <dependency>-->
  169. <!-- <groupId>com.baomidou</groupId>-->
  170. <!-- <artifactId>mybatis-plus-extension</artifactId>-->
  171. <!-- </dependency>-->
  172. <dependency>
  173. <groupId>org.projectlombok</groupId>
  174. <artifactId>lombok</artifactId>
  175. </dependency>
  176. <!-- <dependency>-->
  177. <!-- <groupId>io.swagger</groupId>-->
  178. <!-- <artifactId>swagger-annotations</artifactId>-->
  179. <!-- </dependency>-->
  180. <dependency>
  181. <groupId>io.springfox</groupId>
  182. <artifactId>springfox-swagger2</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>io.springfox</groupId>
  186. <artifactId>springfox-swagger-ui</artifactId>
  187. </dependency>
  188. <!--代码生成-->
  189. <!--JSON相关-->
  190. <dependency>
  191. <groupId>com.alibaba</groupId>
  192. <artifactId>fastjson</artifactId>
  193. </dependency>
  194. <!--JSON相关-->
  195. <!--加密-->
  196. <dependency>
  197. <groupId>com.auth0</groupId>
  198. <artifactId>java-jwt</artifactId>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.bouncycastle</groupId>
  202. <artifactId>bcpkix-jdk18on</artifactId>
  203. </dependency>
  204. <!--加密-->
  205. <!--二维码-->
  206. <dependency>
  207. <groupId>com.google.zxing</groupId>
  208. <artifactId>core</artifactId>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.google.zxing</groupId>
  212. <artifactId>javase</artifactId>
  213. </dependency>
  214. <!--二维码-->
  215. <!-- <dependency>-->
  216. <!-- <groupId>io.github.cdancy</groupId>-->
  217. <!-- <artifactId>jenkins-rest</artifactId>-->
  218. <!-- <version>1.0.0</version>-->
  219. <!-- </dependency>-->
  220. <dependency>
  221. <groupId>cn.hutool</groupId>
  222. <artifactId>hutool-all</artifactId>
  223. </dependency>
  224. <!-- 公共方法和接口-->
  225. <dependency>
  226. <groupId>com.shinsoft</groupId>
  227. <artifactId>tools</artifactId>
  228. <version>1.0.1</version>
  229. <scope>system</scope>
  230. <systemPath>${project.basedir}/../lib/tools-1.0.1.jar</systemPath>
  231. </dependency>
  232. <dependency>
  233. <groupId>com.shinsoft</groupId>
  234. <artifactId>generator</artifactId>
  235. <version>1.0.0</version>
  236. <scope>system</scope>
  237. <systemPath>${project.basedir}/../lib/generator-1.0.0.jar</systemPath>
  238. </dependency>
  239. <!-- 公共方法和接口-->
  240. </dependencies>
  241. <profiles>
  242. <profile> <!-- 本地开发环境 -->
  243. <id>localhost</id>
  244. <properties>
  245. <profiles.active>localhost</profiles.active>
  246. </properties>
  247. <activation>
  248. <activeByDefault>true</activeByDefault>
  249. </activation>
  250. </profile>
  251. <profile> <!-- 服务器开发环境 -->
  252. <id>develop</id>
  253. <properties>
  254. <profiles.active>develop</profiles.active>
  255. </properties>
  256. </profile>
  257. <profile> <!-- 测试环境 -->
  258. <id>test</id>
  259. <properties>
  260. <profiles.active>test</profiles.active>
  261. </properties>
  262. </profile>
  263. <profile> <!-- 测试环境 -->
  264. <id>test-kylin</id>
  265. <properties>
  266. <profiles.active>test-kylin</profiles.active>
  267. </properties>
  268. </profile>
  269. <profile> <!-- 生产环境 -->
  270. <id>production</id>
  271. <properties>
  272. <profiles.active>production</profiles.active>
  273. </properties>
  274. </profile>
  275. <profile> <!-- litai环境 -->
  276. <id>litai</id>
  277. <properties>
  278. <profiles.active>litai</profiles.active>
  279. </properties>
  280. </profile>
  281. </profiles>
  282. <build>
  283. <finalName>${project.artifactId}</finalName>
  284. <!-- <finalName>${project.artifactId}-${profiles.active}</finalName>-->
  285. <resources>
  286. <resource>
  287. <directory>src/main/resources</directory>
  288. <!-- <excludes>-->
  289. <!-- <exclude>localhost/**</exclude>-->
  290. <!-- <exclude>develop/**</exclude>-->
  291. <!-- <exclude>test/**</exclude>-->
  292. <!-- <exclude>production/**</exclude>-->
  293. <!-- <exclude>production-sg/**</exclude>-->
  294. <!-- <exclude>production-jn/**</exclude>-->
  295. <!-- <exclude>production-lw/**</exclude>-->
  296. <!-- <exclude>production-rz/**</exclude>-->
  297. <!-- <exclude>classes/**</exclude>-->
  298. <!-- <exclude>lib/**</exclude>-->
  299. <!-- </excludes>-->
  300. </resource>
  301. <resource>
  302. <directory>src/main/resources/${profiles.active}</directory>
  303. </resource>
  304. <resource>
  305. <directory>src/main/resources</directory>
  306. <includes>
  307. <include>**/*.yml</include>
  308. <include>**/*.properties</include>
  309. <include>**/*.xml</include>
  310. </includes>
  311. <filtering>false</filtering>
  312. </resource>
  313. <resource>
  314. <directory>src/main/java</directory>
  315. <targetPath>${project.build.directory}/classes/mapper</targetPath>
  316. <includes>
  317. <include>**/*.xml</include>
  318. </includes>
  319. <filtering>false</filtering>
  320. </resource>
  321. </resources>
  322. <plugins>
  323. <plugin>
  324. <groupId>org.apache.maven.plugins</groupId>
  325. <artifactId>maven-jar-plugin</artifactId>
  326. <configuration>
  327. <archive>
  328. <manifest>
  329. <addClasspath>true</addClasspath>
  330. <classpathPrefix>lib/</classpathPrefix>
  331. <mainClass>com.shinsoft.framework.FrameworkApplication</mainClass>
  332. </manifest>
  333. <manifestEntries>
  334. <Class-Path>lib/tools-1.0.1.jar lib/generator-1.0.0.jar </Class-Path>
  335. </manifestEntries>
  336. </archive>
  337. <outputDirectory>
  338. <!-- ${output.path}/${project.artifactId}-->
  339. ${project.build.directory}
  340. <!-- /home/${project.artifactId}-->
  341. </outputDirectory>
  342. </configuration>
  343. </plugin>
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-dependency-plugin</artifactId>
  347. <executions>
  348. <execution>
  349. <id>copy</id>
  350. <phase>compile</phase>
  351. <goals>
  352. <goal>copy-dependencies</goal>
  353. </goals>
  354. <configuration>
  355. <outputDirectory>
  356. <!-- ${output.path}/${project.artifactId}/lib-->
  357. ${project.build.directory}/lib
  358. <!-- /home/${project.artifactId}/lib-->
  359. </outputDirectory>
  360. </configuration>
  361. </execution>
  362. <execution>
  363. <id>sys</id>
  364. <phase>compile</phase>
  365. <goals>
  366. <goal>copy-dependencies</goal>
  367. </goals>
  368. <configuration>
  369. <includeScope>system</includeScope>
  370. </configuration>
  371. </execution>
  372. </executions>
  373. </plugin>
  374. <plugin>
  375. <groupId>org.apache.maven.plugins</groupId>
  376. <artifactId>maven-resources-plugin</artifactId>
  377. <executions>
  378. <execution>
  379. <id>copy-resource</id>
  380. <phase>package</phase>
  381. <goals>
  382. <goal>copy-resources</goal>
  383. </goals>
  384. <configuration>
  385. <outputDirectory>
  386. <!-- ${output.path}/${project.artifactId}-->
  387. ${project.build.directory}
  388. <!-- /home/${project.artifactId}-->
  389. </outputDirectory>
  390. <resources>
  391. <resource>
  392. <directory>${project.basedir}/src/main/resources/${profiles.active}</directory>
  393. <includes>
  394. <include>Dockerfile</include>
  395. <include>bootstrap.properties</include>
  396. <include>run.sh</include>
  397. <include>bak.sh</include>
  398. </includes>
  399. </resource>
  400. </resources>
  401. </configuration>
  402. </execution>
  403. </executions>
  404. </plugin>
  405. </plugins>
  406. </build>
  407. </project>