pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.persagy</groupId>
  12. <artifactId>ztk-edgeclouddatasecurity</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>ztk-edgeclouddatasecurity</name>
  15. <description>Cmft project data encryption service interface processing</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <protostuff.version>1.0.10</protostuff.version>
  19. <objenesis.version>2.4</objenesis.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. <!-- 移除嵌入式tomcat插件 -->
  39. <!-- <exclusions>
  40. <exclusion>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-tomcat</artifactId>
  43. </exclusion>
  44. </exclusions> -->
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-integration</artifactId>
  49. <version>2.5.2</version>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-logging</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.integration</groupId>
  59. <artifactId>spring-integration-ip</artifactId>
  60. <version>5.5.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <optional>true</optional>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>org.junit.vintage</groupId>
  74. <artifactId>junit-vintage-engine</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-aop</artifactId>
  81. <version>2.5.2</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.integration</groupId>
  85. <artifactId>spring-integration-core</artifactId>
  86. <version>5.5.1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-configuration-processor</artifactId>
  91. <optional>true</optional>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.yaml</groupId>
  95. <artifactId>snakeyaml</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.ulisesbocchio</groupId>
  99. <artifactId>jasypt-spring-boot-starter</artifactId>
  100. <version>3.0.3</version>
  101. </dependency>
  102. <!-- <dependency>-->
  103. <!-- <groupId>org.apache.kafka</groupId>-->
  104. <!-- <artifactId>kafka-clients</artifactId>-->
  105. <!-- <version>0.11.0.0</version>-->
  106. <!-- </dependency>-->
  107. <dependency>
  108. <groupId>org.springframework.kafka</groupId>
  109. <artifactId>spring-kafka</artifactId>
  110. <!-- <version>2.3.7.RELEASE</version>-->
  111. </dependency>
  112. <!-- <dependency>-->
  113. <!-- <groupId>org.apache.kafka</groupId>-->
  114. <!-- <artifactId>kafka-streams</artifactId>-->
  115. <!-- <version>0.11.0.0</version>-->
  116. <!-- </dependency>-->
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. <version>1.2.54</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>commons-net</groupId>
  124. <artifactId>commons-net</artifactId>
  125. <version>3.3</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.commons</groupId>
  129. <artifactId>commons-lang3</artifactId>
  130. <version>3.7</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.aliyun.alink.linksdk</groupId>
  134. <artifactId>iot-linkkit-java</artifactId>
  135. <version>1.2.0.1</version>
  136. <scope>compile</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.aliyun.alink.linksdk</groupId>
  140. <artifactId>public-cmp-java</artifactId>
  141. <version>1.3.6</version>
  142. <scope>compile</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.google.code.gson</groupId>
  146. <artifactId>gson</artifactId>
  147. <version>2.8.1</version>
  148. <scope>compile</scope>
  149. </dependency>
  150. <!-- https://mvnrepository.com/artifact/cn.shuibo/rsa-encrypt-body-spring-boot -->
  151. <dependency>
  152. <groupId>cn.shuibo</groupId>
  153. <artifactId>rsa-encrypt-body-spring-boot</artifactId>
  154. <version>1.0.1.RELEASE</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>junit</groupId>
  158. <artifactId>junit</artifactId>
  159. <version>4.13.1</version>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.httpcomponents</groupId>
  164. <artifactId>httpclient</artifactId>
  165. <version>4.5.13</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>io.netty</groupId>
  169. <artifactId>netty-all</artifactId>
  170. <version>4.1.43.Final</version>
  171. </dependency>
  172. <!-- amqp 1.0 qpid client -->
  173. <dependency>
  174. <groupId>org.apache.qpid</groupId>
  175. <artifactId>qpid-jms-client</artifactId>
  176. <version>0.56.0</version>
  177. </dependency>
  178. <!--alibaba http2 -->
  179. <dependency>
  180. <groupId>com.aliyun.openservices</groupId>
  181. <artifactId>iot-client-message</artifactId>
  182. <version>1.1.3</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.aliyun</groupId>
  186. <artifactId>aliyun-java-sdk-core</artifactId>
  187. <version>3.7.1</version>
  188. </dependency>
  189. <!-- util for base64-->
  190. <dependency>
  191. <groupId>commons-codec</groupId>
  192. <artifactId>commons-codec</artifactId>
  193. <version>1.10</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.google.guava</groupId>
  197. <artifactId>guava</artifactId>
  198. <version>26.0-jre</version>
  199. </dependency>
  200. <!-- Protostuff -->
  201. <dependency>
  202. <groupId>com.dyuproject.protostuff</groupId>
  203. <artifactId>protostuff-core</artifactId>
  204. <version>${protostuff.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.dyuproject.protostuff</groupId>
  208. <artifactId>protostuff-runtime</artifactId>
  209. <version>${protostuff.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.objenesis</groupId>
  213. <artifactId>objenesis</artifactId>
  214. <version>${objenesis.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>cn.hutool</groupId>
  218. <artifactId>hutool-all</artifactId>
  219. <version>5.7.9</version>
  220. </dependency>
  221. </dependencies>
  222. <build>
  223. <plugins>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-resources-plugin</artifactId>
  227. <version>3.1.0</version>
  228. <executions>
  229. <execution>
  230. <id>copy-resources</id>
  231. <phase>package</phase>
  232. <goals>
  233. <goal>copy-resources</goal>
  234. </goals>
  235. <configuration>
  236. <resources>
  237. <resource>
  238. <directory>src/main/resources/</directory>
  239. <includes>
  240. <include>**/*.properties</include>
  241. <include>**/*.yml</include>
  242. <include>**/*.xml</include>
  243. <include>**/*.jks</include>
  244. </includes>
  245. </resource>
  246. </resources>
  247. <outputDirectory>${project.build.directory}/config</outputDirectory>
  248. </configuration>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-maven-plugin</artifactId>
  255. <configuration>
  256. <!-- 一定要配置否则打jar的时候会说找不到主类,根据具体项目来-->
  257. <mainClass>com.persagy.ztkedgeclouddatasecurity.ZtkEdgeclouddatasecurityApplication</mainClass>
  258. <executable>true</executable>
  259. <fork>true</fork>
  260. <excludes>
  261. <exclude>
  262. <groupId>org.projectlombok</groupId>
  263. <artifactId>lombok</artifactId>
  264. </exclude>
  265. </excludes>
  266. </configuration>
  267. </plugin>
  268. </plugins>
  269. <resources>
  270. <resource>
  271. <directory>src/main/resources/</directory>
  272. <filtering>true</filtering>
  273. <!-- src/main/resources下的指定资源放行 -->
  274. <includes>
  275. <include>**/*.properties</include>
  276. <include>**/*.yml</include>
  277. <include>**/*.xml</include>
  278. <include>**/*.jks</include>
  279. </includes>
  280. </resource>
  281. </resources>
  282. </build>
  283. <repositories>
  284. <repository>
  285. <id>alimaven</id>
  286. <name>aliyun maven</name>
  287. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  288. </repository>
  289. <repository>
  290. <id>spring-snapshots</id>
  291. <name>Spring Snapshots</name>
  292. <url>https://repo1.maven.org/maven2/</url>
  293. <snapshots>
  294. <enabled>true</enabled>
  295. </snapshots>
  296. </repository>
  297. </repositories>
  298. <pluginRepositories>
  299. <pluginRepository>
  300. <id>spring-milestones</id>
  301. <name>Spring Milestones</name>
  302. <url>https://repo1.maven.org/maven2/</url>
  303. </pluginRepository>
  304. <pluginRepository>
  305. <id>spring-snapshots</id>
  306. <name>Spring Snapshots</name>
  307. <url>https://repo1.maven.org/maven2/</url>
  308. <snapshots>
  309. <enabled>true</enabled>
  310. </snapshots>
  311. </pluginRepository>
  312. </pluginRepositories>
  313. </project>