Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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