pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  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.yihu.jw</groupId>
  8. <artifactId>wlyy-parent-pom</artifactId>
  9. <version>2.0.0</version>
  10. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  11. </parent>
  12. <groupId>com.yihu.jw</groupId>
  13. <artifactId>svr-visit-behind</artifactId>
  14. <packaging>jar</packaging>
  15. <version>${parent.version}</version>
  16. <dependencies>
  17. <!-- 支持Tomcat启动 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-tomcat</artifactId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-tomcat</artifactId>
  31. <!-- <scope>provided</scope>-->
  32. </dependency>
  33. <dependency>
  34. <groupId>javax.servlet</groupId>
  35. <artifactId>javax.servlet-api</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.tomcat.embed</groupId>
  39. <artifactId>tomcat-embed-jasper</artifactId>
  40. </dependency>
  41. <!-- 支持Tomcat启动 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-data-redis</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-activemq</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.json</groupId>
  52. <artifactId>json</artifactId>
  53. </dependency>
  54. <!--<dependency>-->
  55. <!--<groupId>com.ylz.loginsdk</groupId>-->
  56. <!--<artifactId>ehcsdk</artifactId>-->
  57. <!--<version>1.0</version>-->
  58. <!--</dependency>-->
  59. <!-- <dependency>
  60. <groupId>com.ylz.dmrh</groupId>
  61. <artifactId>ehcsdk-java-sdk-base</artifactId>
  62. <version>1.0.3</version>
  63. </dependency>-->
  64. <dependency>
  65. <groupId>com.yihu.jw</groupId>
  66. <artifactId>common-entity</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.yihu.jw</groupId>
  70. <artifactId>common-rest-model</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.jdom</groupId>
  74. <artifactId>jdom</artifactId>
  75. <version>2.0.2</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.yihu.jw</groupId>
  79. <artifactId>common-request-mapping</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.yihu.jw</groupId>
  83. <artifactId>common-exception</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.yihu.jw</groupId>
  87. <artifactId>common-util</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.yihu.jw</groupId>
  91. <artifactId>common-web</artifactId>
  92. </dependency>
  93. <!-- SPRINGSIDE -->
  94. <dependency>
  95. <groupId>org.springside</groupId>
  96. <artifactId>springside-core</artifactId>
  97. <version>4.2.3-GA</version>
  98. </dependency>
  99. <!-- 文件服务器 -->
  100. <dependency>
  101. <groupId>com.yihu</groupId>
  102. <artifactId>fastdfs-starter</artifactId>
  103. </dependency>
  104. <!-- Swagger-ui library -->
  105. <dependency>
  106. <groupId>com.yihu.jw</groupId>
  107. <artifactId>swagger-starter</artifactId>
  108. <version>2.0.0</version>
  109. </dependency>
  110. <!-- Jzkl Starter -->
  111. <dependency>
  112. <groupId>com.yihu</groupId>
  113. <artifactId>mysql-starter</artifactId>
  114. <version>2.0.0</version>
  115. <exclusions>
  116. <exclusion>
  117. <groupId>org.apache.tomcat</groupId>
  118. <artifactId>tomcat-jdbc</artifactId>
  119. </exclusion>
  120. </exclusions>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.zaxxer</groupId>
  124. <artifactId>HikariCP</artifactId>
  125. <!-- <scope>runtime</scope> -->
  126. </dependency>
  127. <!--<dependency>-->
  128. <!--<groupId>com.yihu</groupId>-->
  129. <!--<artifactId>elasticsearch-starter</artifactId>-->
  130. <!--<version>2.0.0</version>-->
  131. <!--</dependency>-->
  132. <dependency>
  133. <groupId>io.github.swagger2markup</groupId>
  134. <artifactId>swagger2markup</artifactId>
  135. <version>1.3.2</version>
  136. <exclusions>
  137. <exclusion>
  138. <artifactId>mailapi</artifactId>
  139. <groupId>javax.mail</groupId>
  140. </exclusion>
  141. </exclusions>
  142. </dependency>
  143. <!-- 发送邮件 -->
  144. <dependency>
  145. <groupId>com.sun.mail</groupId>
  146. <artifactId>javax.mail</artifactId>
  147. <version>1.4.7</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-mail</artifactId>
  152. </dependency>
  153. <!-- poi xml导入导出工具 start-->
  154. <dependency>
  155. <groupId>org.apache.poi</groupId>
  156. <artifactId>poi</artifactId>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>com.yihu.ehr</groupId>
  160. <artifactId>commons-util</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>org.apache.commons</groupId>
  164. <artifactId>commons-collections4</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.apache.poi</groupId>
  170. <artifactId>poi-ooxml</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.elasticsearch.plugin</groupId>
  174. <artifactId>shield</artifactId>
  175. <version>2.4.6</version>
  176. </dependency>
  177. <!-- xlsx 依赖这个包 -->
  178. <dependency>
  179. <groupId>org.apache.poi</groupId>
  180. <artifactId>poi-ooxml-schemas</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework.security</groupId>
  184. <artifactId>spring-security-core</artifactId>
  185. <version>RELEASE</version>
  186. <scope>compile</scope>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-starter-websocket</artifactId>
  191. </dependency>
  192. <!-- poi xml导入导出工具 end -->
  193. <!--基础业务组件-->
  194. <dependency>
  195. <groupId>com.yihu.jw</groupId>
  196. <artifactId>base-service</artifactId>
  197. <version>2.0.0</version>
  198. <exclusions>
  199. <exclusion>
  200. <groupId>xalan</groupId>
  201. <artifactId>xalan</artifactId>
  202. </exclusion>
  203. <exclusion>
  204. <groupId>com.his.hesb</groupId>
  205. <artifactId>mqSdk</artifactId>
  206. </exclusion>
  207. </exclusions>
  208. </dependency>
  209. <dependency>
  210. <groupId>junit</groupId>
  211. <artifactId>junit</artifactId>
  212. <version>4.12</version>
  213. <scope>test</scope>
  214. </dependency>
  215. <!--缩略图-->
  216. <dependency>
  217. <groupId>net.coobird</groupId>
  218. <artifactId>thumbnailator</artifactId>
  219. <version>0.4.8</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>net.sf.json-lib</groupId>
  223. <artifactId>json-lib</artifactId>
  224. <version>2.4</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.yihu.jw</groupId>
  228. <artifactId>im-service</artifactId>
  229. <version>2.0.0</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.yihu.jw</groupId>
  233. <artifactId>sms-service</artifactId>
  234. <version>2.0.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.yihu.jw</groupId>
  238. <artifactId>es-service</artifactId>
  239. <version>2.0.0</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.hikvision.ga</groupId>
  243. <artifactId>artemis-http-client</artifactId>
  244. <version>1.1.3</version>
  245. </dependency>
  246. <!--钉钉sdk-->
  247. <dependency>
  248. <groupId>com.alibaba</groupId>
  249. <artifactId>zwdd-sdk-java</artifactId>
  250. <version>1.2.0</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-httpclient</groupId>
  254. <artifactId>commons-httpclient</artifactId>
  255. <version>3.1</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>com.tencentcloudapi</groupId>
  259. <artifactId>tencentcloud-speech-sdk-java</artifactId>
  260. <version>1.0.12</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.eclipse.paho</groupId>
  264. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  265. <version>1.2.5</version>
  266. </dependency>
  267. <!-- 基卫统一平台接口 -->
  268. <dependency>
  269. <groupId>sehrCrypto</groupId>
  270. <artifactId>sehrCrypto</artifactId>
  271. <version>1.0.0</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.zoesoft</groupId>
  275. <artifactId>phip-ssp-sdk</artifactId>
  276. <version>1.4.0</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.zoesoft</groupId>
  280. <artifactId>zoe-crypto</artifactId>
  281. <version>1.4.0</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>net.java.dev.jna</groupId>
  285. <artifactId>jna</artifactId>
  286. <version>4.2.2</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.zoesoft</groupId>
  290. <artifactId>zoe-encrypt-sm</artifactId>
  291. <version>1.0</version>
  292. </dependency>
  293. </dependencies>
  294. <build>
  295. <finalName>svr-visit-behind</finalName>
  296. <plugins>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-jar-plugin</artifactId>
  300. <version>3.2.0</version>
  301. <configuration>
  302. <archive>
  303. <!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
  304. <addMavenDescriptor>false</addMavenDescriptor>
  305. <manifest>
  306. <!-- 是否要把第三方jar加入到类构建路径 -->
  307. <addClasspath>true</addClasspath>
  308. <!-- 外部依赖jar包的最终位置 -->
  309. <classpathPrefix>lib/</classpathPrefix>
  310. <mainClass>com.yihu.SvrVisitBehind</mainClass>
  311. </manifest>
  312. </archive>
  313. </configuration>
  314. </plugin>
  315. <!--拷贝依赖到jar外面的lib目录-->
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-dependency-plugin</artifactId>
  319. <version>3.2.0</version>
  320. <executions>
  321. <execution>
  322. <id>copy-lib</id>
  323. <phase>package</phase>
  324. <goals>
  325. <goal>copy-dependencies</goal>
  326. </goals>
  327. <configuration>
  328. <!-- 依赖包输出目录,将来不打进jar包里 -->
  329. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  330. <excludeTransitive>false</excludeTransitive>
  331. <stripVersion>false</stripVersion>
  332. <includeScope>runtime</includeScope>
  333. </configuration>
  334. </execution>
  335. </executions>
  336. </plugin>
  337. <!--指定配置文件,将resources打成外部resource-->
  338. <plugin>
  339. <groupId>org.apache.maven.plugins</groupId>
  340. <artifactId>maven-jar-plugin</artifactId>
  341. <version>3.2.0</version>
  342. <configuration>
  343. <archive>
  344. <!-- 指定配置文件目录,这样jar运行时会去找到同目录下的resources文件夹下查找 -->
  345. <manifestEntries>
  346. <Class-Path>resources/</Class-Path>
  347. </manifestEntries>
  348. </archive>
  349. <!-- 打包时忽略的文件(也就是不打进jar包里的文件) -->
  350. <excludes>
  351. <exclude>**/*.yml</exclude>
  352. <exclude>**/*.xml</exclude>
  353. </excludes>
  354. </configuration>
  355. </plugin>
  356. <!-- 拷贝资源文件 外面的resource目录-->
  357. <plugin>
  358. <groupId>org.apache.maven.plugins</groupId>
  359. <artifactId>maven-resources-plugin</artifactId>
  360. <executions>
  361. <execution>
  362. <id>copy-dependencies</id>
  363. <phase>package</phase>
  364. <goals>
  365. <goal>copy-resources</goal>
  366. </goals>
  367. <configuration>
  368. <!-- 资源文件输出目录 -->
  369. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  370. <resources>
  371. <resource>
  372. <directory>src/main/resources</directory>
  373. </resource>
  374. </resources>
  375. </configuration>
  376. </execution>
  377. </executions>
  378. <version>3.2.0</version>
  379. </plugin>
  380. </plugins>
  381. </build>
  382. </project>