ccl冷凝胶后端
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.

457 lines
18 KiB

2 years ago
2 years ago
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion> <!-- 模型版本 -->
  5. <groupId>com.spring</groupId>
  6. <artifactId>ccl-lnj-java</artifactId>
  7. <packaging>jar</packaging>
  8. <description>ccl-lnj-java</description>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.2.4.RELEASE</version>
  13. </parent>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. <mybatisplus.version>3.3.1</mybatisplus.version>
  19. <mysql.version>8.0.17</mysql.version>
  20. <mssql.version>4.0</mssql.version>
  21. <oracle.version>11.2.0.3</oracle.version>
  22. <druid.version>1.1.13</druid.version>
  23. <quartz.version>2.3.0</quartz.version>
  24. <commons.lang.version>2.6</commons.lang.version>
  25. <commons.fileupload.version>1.2.2</commons.fileupload.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.codec.version>1.10</commons.codec.version>
  28. <commons.configuration.version>1.10</commons.configuration.version>
  29. <shiro.version>1.4.0</shiro.version>
  30. <jwt.version>0.7.0</jwt.version>
  31. <kaptcha.version>0.0.9</kaptcha.version>
  32. <qiniu.version>7.2.23</qiniu.version>
  33. <aliyun.oss.version>2.8.3</aliyun.oss.version>
  34. <qcloud.cos.version>4.4</qcloud.cos.version>
  35. <swagger.version>2.7.0</swagger.version>
  36. <joda.time.version>2.9.9</joda.time.version>
  37. <gson.version>2.8.5</gson.version>
  38. <fastjson.version>1.2.72</fastjson.version>
  39. <hutool.version>4.1.1</hutool.version>
  40. <lombok.version>1.18.4</lombok.version>
  41. <json.lib.version>2.4</json.lib.version>
  42. <alibaba.easyexcel.version>2.1.1</alibaba.easyexcel.version>
  43. <apache.xmlbeans.version>3.1.0</apache.xmlbeans.version>
  44. <!-- <log4j2.version>2.16.0</log4j2.version>-->
  45. <!--wagon plugin 配置-->
  46. <service-path>/root/gataofast/java</service-path>
  47. <pack-name>${project.artifactId}-${project.version}.jar</pack-name>
  48. <remote-addr>116.62.165.118:22</remote-addr>
  49. <remote-username>root</remote-username>
  50. <remote-passwd>951212.Sl</remote-passwd>
  51. </properties>
  52. <dependencies>
  53. <!-- JavaMail API -->
  54. <dependency>
  55. <groupId>com.sun.mail</groupId>
  56. <artifactId>javax.mail</artifactId>
  57. <version>1.6.2</version>
  58. </dependency>
  59. <!-- JavaBeans Activation Framework (JAF) -->
  60. <dependency>
  61. <groupId>javax.activation</groupId>
  62. <artifactId>activation</artifactId>
  63. <version>1.1.1</version>
  64. </dependency>
  65. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-pool2</artifactId>
  69. </dependency>
  70. <!--excel解析-->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>easyexcel</artifactId>
  74. <version>${alibaba.easyexcel.version}</version>
  75. </dependency>
  76. <!--excel解析依赖-->
  77. <dependency>
  78. <groupId>org.apache.xmlbeans</groupId>
  79. <artifactId>xmlbeans</artifactId>
  80. <version>${apache.xmlbeans.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>commons-net</groupId>
  84. <artifactId>commons-net</artifactId>
  85. <version>3.6</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>net.sf.json-lib</groupId>
  89. <artifactId>json-lib</artifactId>
  90. <version>2.4</version>
  91. <classifier>jdk15</classifier>
  92. </dependency>
  93. <dependency>
  94. <groupId>xom</groupId>
  95. <artifactId>xom</artifactId>
  96. <version>1.2.5</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.commons</groupId>
  100. <artifactId>commons-lang3</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi</artifactId>
  105. <version>4.1.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi-ooxml</artifactId>
  110. <version>4.1.2</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.poi</groupId>
  114. <artifactId>poi-ooxml-schemas</artifactId>
  115. <version>4.1.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-freemarker</artifactId>
  120. </dependency>
  121. <!--sqlServer driver -->
  122. <dependency>
  123. <groupId>com.microsoft.sqlserver</groupId>
  124. <artifactId>sqljdbc4</artifactId>
  125. <version>4.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-starter-test</artifactId>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-web</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-aop</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-context-support</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-data-redis</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-configuration-processor</artifactId>
  151. <optional>true</optional>
  152. </dependency>
  153. <!--<dependency>-->
  154. <!--<groupId>org.springframework.boot</groupId>-->
  155. <!--<artifactId>spring-boot-devtools</artifactId>-->
  156. <!--<optional>true</optional>-->
  157. <!--</dependency>-->
  158. <dependency>
  159. <groupId>com.baomidou</groupId>
  160. <artifactId>mybatis-plus-boot-starter</artifactId>
  161. <version>${mybatisplus.version}</version>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>com.baomidou</groupId>
  165. <artifactId>mybatis-plus-generator</artifactId>
  166. </exclusion>
  167. </exclusions>
  168. </dependency>
  169. <dependency>
  170. <groupId>mysql</groupId>
  171. <artifactId>mysql-connector-java</artifactId>
  172. <version>${mysql.version}</version>
  173. </dependency>
  174. <!--oracle驱动-->
  175. <dependency>
  176. <groupId>com.oracle</groupId>
  177. <artifactId>ojdbc6</artifactId>
  178. <version>${oracle.version}</version>
  179. </dependency>
  180. <!--mssql驱动-->
  181. <dependency>
  182. <groupId>com.microsoft.sqlserver</groupId>
  183. <artifactId>sqljdbc4</artifactId>
  184. <version>${mssql.version}</version>
  185. </dependency>
  186. <!--postgresql驱动-->
  187. <dependency>
  188. <groupId>org.postgresql</groupId>
  189. <artifactId>postgresql</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.alibaba</groupId>
  193. <artifactId>druid-spring-boot-starter</artifactId>
  194. <version>${druid.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.quartz-scheduler</groupId>
  198. <artifactId>quartz</artifactId>
  199. <version>${quartz.version}</version>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>com.mchange</groupId>
  203. <artifactId>c3p0</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>commons-lang</groupId>
  209. <artifactId>commons-lang</artifactId>
  210. <version>${commons.lang.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>commons-fileupload</groupId>
  214. <artifactId>commons-fileupload</artifactId>
  215. <version>${commons.fileupload.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>commons-io</groupId>
  219. <artifactId>commons-io</artifactId>
  220. <version>${commons.io.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>commons-codec</groupId>
  224. <artifactId>commons-codec</artifactId>
  225. <version>${commons.codec.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>commons-configuration</groupId>
  229. <artifactId>commons-configuration</artifactId>
  230. <version>${commons.configuration.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.shiro</groupId>
  234. <artifactId>shiro-core</artifactId>
  235. <version>${shiro.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.shiro</groupId>
  239. <artifactId>shiro-spring</artifactId>
  240. <version>${shiro.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>io.jsonwebtoken</groupId>
  244. <artifactId>jjwt</artifactId>
  245. <version>${jwt.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.github.axet</groupId>
  249. <artifactId>kaptcha</artifactId>
  250. <version>${kaptcha.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>io.springfox</groupId>
  254. <artifactId>springfox-swagger2</artifactId>
  255. <version>${swagger.version}</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>io.springfox</groupId>
  259. <artifactId>springfox-swagger-ui</artifactId>
  260. <version>${swagger.version}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.qiniu</groupId>
  264. <artifactId>qiniu-java-sdk</artifactId>
  265. <version>${qiniu.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>com.aliyun.oss</groupId>
  269. <artifactId>aliyun-sdk-oss</artifactId>
  270. <version>${aliyun.oss.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>com.qcloud</groupId>
  274. <artifactId>cos_api</artifactId>
  275. <version>${qcloud.cos.version}</version>
  276. <exclusions>
  277. <exclusion>
  278. <groupId>org.slf4j</groupId>
  279. <artifactId>slf4j-log4j12</artifactId>
  280. </exclusion>
  281. </exclusions>
  282. </dependency>
  283. <dependency>
  284. <groupId>joda-time</groupId>
  285. <artifactId>joda-time</artifactId>
  286. <version>${joda.time.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.google.code.gson</groupId>
  290. <artifactId>gson</artifactId>
  291. <version>${gson.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.alibaba</groupId>
  295. <artifactId>fastjson</artifactId>
  296. <version>${fastjson.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>cn.hutool</groupId>
  300. <artifactId>hutool-all</artifactId>
  301. <version>${hutool.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.projectlombok</groupId>
  305. <artifactId>lombok</artifactId>
  306. <version>${lombok.version}</version>
  307. </dependency>
  308. <!-- <dependency>-->
  309. <!-- <groupId>org.springframework.boot</groupId>-->
  310. <!-- <artifactId>spring-boot-autoconfigure</artifactId>-->
  311. <!-- <version>2.2.4.RELEASE</version>-->
  312. <!-- </dependency>-->
  313. </dependencies>
  314. <build>
  315. <finalName>${project.artifactId}</finalName>
  316. <extensions>
  317. <extension>
  318. <groupId>org.apache.maven.wagon</groupId>
  319. <artifactId>wagon-ssh</artifactId>
  320. <version>2.8</version>
  321. </extension>
  322. </extensions>
  323. <plugins>
  324. <plugin>
  325. <groupId>org.springframework.boot</groupId>
  326. <artifactId>spring-boot-maven-plugin</artifactId>
  327. <configuration>
  328. <fork>true</fork>
  329. </configuration>
  330. </plugin>
  331. <!-- 跳过单元测试 -->
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-surefire-plugin</artifactId>
  335. <configuration>
  336. <skipTests>true</skipTests>
  337. </configuration>
  338. </plugin>
  339. <plugin>
  340. <groupId>org.codehaus.mojo</groupId>
  341. <artifactId>wagon-maven-plugin</artifactId>
  342. <version>1.0</version>
  343. <configuration>
  344. <fromFile>target/${pack-name}</fromFile>
  345. <url><![CDATA[scp://${remote-username}:${remote-passwd}@${remote-addr}${service-path}]]></url>
  346. <commands>
  347. <!-- Kill Old Process -->
  348. <command>kill -9 `ps -ef |grep ${project.artifactId}.jar|grep -v "grep" |awk '{print $2}'`
  349. </command>
  350. <!-- Restart jar package,write result into gaotao.log -spring.profiles.active=dev-->
  351. <command>
  352. <![CDATA[nohup java -jar ${service-path}/${pack-name} > ${service-path}/gaotao.log 2>&1 & ]]></command>
  353. <command><![CDATA[netstat -nptl]]></command>
  354. <command><![CDATA[ps -ef | grep java | grep -v grep]]></command>
  355. </commands>
  356. <!-- 运行命令 mvn clean package wagon:upload-single wagon:sshexec-->
  357. <displayCommandOutputs>true</displayCommandOutputs>
  358. </configuration>
  359. </plugin>
  360. <!-- <plugin>-->
  361. <!-- <groupId>com.spotify</groupId>-->
  362. <!-- <artifactId>docker-maven-plugin</artifactId>-->
  363. <!-- <version>0.4.14</version>-->
  364. <!-- &lt;!&ndash;<executions>&ndash;&gt;-->
  365. <!-- &lt;!&ndash;<execution>&ndash;&gt;-->
  366. <!-- &lt;!&ndash;<phase>package</phase>&ndash;&gt;-->
  367. <!-- &lt;!&ndash;<goals>&ndash;&gt;-->
  368. <!-- &lt;!&ndash;<goal>build</goal>&ndash;&gt;-->
  369. <!-- &lt;!&ndash;</goals>&ndash;&gt;-->
  370. <!-- &lt;!&ndash;</execution>&ndash;&gt;-->
  371. <!-- &lt;!&ndash;</executions>&ndash;&gt;-->
  372. <!-- <configuration>-->
  373. <!-- <imageName>sxm/fast</imageName>-->
  374. <!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
  375. <!-- <resources>-->
  376. <!-- <resource>-->
  377. <!-- <targetPath>/</targetPath>-->
  378. <!-- <directory>${project.build.directory}</directory>-->
  379. <!-- <include>${project.build.finalName}.jar</include>-->
  380. <!-- </resource>-->
  381. <!-- </resources>-->
  382. <!-- </configuration>-->
  383. <!-- &lt;!&ndash; 运行命令 mvn clean package docker:build 打包并生成docker镜像 &ndash;&gt;-->
  384. <!-- </plugin>-->
  385. <!-- <plugin>-->
  386. <!-- <groupId>com.spotify</groupId>-->
  387. <!-- <artifactId>docker-maven-plugin</artifactId>-->
  388. <!-- <version>1.0.0</version>-->
  389. <!-- <executions>-->
  390. <!-- <execution>-->
  391. <!-- <id>build-image</id>-->
  392. <!-- <phase>package</phase>-->
  393. <!-- <goals>-->
  394. <!-- <goal>build</goal>-->
  395. <!-- </goals>-->
  396. <!-- </execution>-->
  397. <!-- </executions>-->
  398. <!-- <configuration>-->
  399. <!-- <dockerHost>http://116.62.165.118:2375</dockerHost>-->
  400. <!-- <imageName>sxm/${project.artifactId}</imageName>-->
  401. <!-- <imageTags>-->
  402. <!-- <imageTag>${project.version}</imageTag>-->
  403. <!-- </imageTags>-->
  404. <!-- <forceTags>true</forceTags>-->
  405. <!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
  406. <!-- <resources>-->
  407. <!-- <resource>-->
  408. <!-- <targetPath>/</targetPath>-->
  409. <!-- <directory>${project.build.directory}</directory>-->
  410. <!-- <include>${project.build.finalName}.jar</include>-->
  411. <!-- </resource>-->
  412. <!-- </resources>-->
  413. <!-- </configuration>-->
  414. <!-- </plugin>-->
  415. </plugins>
  416. </build>
  417. <repositories>
  418. <repository>
  419. <id>public</id>
  420. <name>aliyun nexus</name>
  421. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  422. <releases>
  423. <enabled>true</enabled>
  424. </releases>
  425. </repository>
  426. </repositories>
  427. <pluginRepositories>
  428. <pluginRepository>
  429. <id>public</id>
  430. <name>aliyun nexus</name>
  431. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  432. <releases>
  433. <enabled>true</enabled>
  434. </releases>
  435. <snapshots>
  436. <enabled>false</enabled>
  437. </snapshots>
  438. </pluginRepository>
  439. </pluginRepositories>
  440. </project>