pom.xml 10 KB

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