pom.xml 100 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099
  1. <!--
  2. Copyright © 2016-2022 The Toflylinks Authors
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  15. <modelVersion>4.0.0</modelVersion>
  16. <groupId>tofly.toflylinks</groupId>
  17. <artifactId>toflylinks</artifactId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. <packaging>pom</packaging>
  20. <name>Toflylinks</name>
  21. <url>https://www.toflylinks.cn/</url>
  22. <inceptionYear>2023</inceptionYear>
  23. <properties>
  24. <main.dir>${basedir}</main.dir>
  25. <pkg.disabled>true</pkg.disabled>
  26. <pkg.process-resources.phase>none</pkg.process-resources.phase>
  27. <pkg.package.phase>none</pkg.package.phase>
  28. <pkg.user>toflylinks</pkg.user>
  29. <pkg.implementationTitle>${project.name}</pkg.implementationTitle>
  30. <pkg.unixLogFolder>/var/log/${pkg.name}</pkg.unixLogFolder>
  31. <pkg.installFolder>/usr/share/${pkg.name}</pkg.installFolder>
  32. <javax-annotation.version>1.3.2</javax-annotation.version>
  33. <jakarta.xml.bind-api.version>2.3.2</jakarta.xml.bind-api.version>
  34. <jaxb-runtime.version>2.3.2</jaxb-runtime.version>
  35. <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
  36. <spring-data.version>2.3.9.RELEASE</spring-data.version>
  37. <spring.version>5.2.16.RELEASE</spring.version>
  38. <spring-redis.version>5.2.11.RELEASE</spring-redis.version>
  39. <spring-security.version>5.4.7</spring-security.version>
  40. <spring-data-redis.version>2.4.3</spring-data-redis.version>
  41. <jedis.version>3.3.0</jedis.version>
  42. <jjwt.version>0.7.0</jjwt.version>
  43. <slf4j.version>1.7.32</slf4j.version>
  44. <log4j.version>2.17.1</log4j.version>
  45. <logback.version>1.2.10</logback.version>
  46. <rat.version>0.10</rat.version>
  47. <cassandra.version>4.10.0</cassandra.version>
  48. <metrics.version>4.0.5</metrics.version>
  49. <cassandra-all.version>3.11.10</cassandra-all.version>
  50. <cassandra-driver-core.version>3.11.0</cassandra-driver-core.version>
  51. <guava.version>30.0-jre</guava.version>
  52. <caffeine.version>2.6.1</caffeine.version>
  53. <commons-lang3.version>3.4</commons-lang3.version>
  54. <commons-codec.version>1.15</commons-codec.version>
  55. <commons-io.version>2.11.0</commons-io.version>
  56. <commons-logging.version>1.2</commons-logging.version>
  57. <commons-csv.version>1.4</commons-csv.version>
  58. <apache-httpclient.version>4.5.13</apache-httpclient.version>
  59. <apache-httpcore.version>4.4.14</apache-httpcore.version>
  60. <joda-time.version>2.8.1</joda-time.version>
  61. <jackson.version>2.12.1</jackson.version>
  62. <fasterxml-classmate.version>1.3.4</fasterxml-classmate.version>
  63. <json-schema-validator.version>2.2.6</json-schema-validator.version>
  64. <californium.version>3.0.0</californium.version>
  65. <leshan.version>2.0.0-M5</leshan.version>
  66. <gson.version>2.6.2</gson.version>
  67. <freemarker.version>2.3.30</freemarker.version>
  68. <mail.version>1.6.2</mail.version>
  69. <curator.version>4.2.0</curator.version>
  70. <zookeeper.version>3.5.5</zookeeper.version>
  71. <protobuf.version>3.17.2</protobuf.version>
  72. <grpc.version>1.42.1</grpc.version>
  73. <lombok.version>1.18.18</lombok.version>
  74. <paho.client.version>1.2.4</paho.client.version>
  75. <netty.version>4.1.72.Final</netty.version>
  76. <netty-tcnative.version>2.0.46.Final</netty-tcnative.version>
  77. <os-maven-plugin.version>1.7.0</os-maven-plugin.version>
  78. <rabbitmq.version>4.8.0</rabbitmq.version>
  79. <surfire.version>2.19.1</surfire.version>
  80. <jar-plugin.version>3.0.2</jar-plugin.version>
  81. <springfox-swagger.version>3.0.4</springfox-swagger.version>
  82. <swagger-annotations.version>1.6.3</swagger-annotations.version>
  83. <spatial4j.version>0.7</spatial4j.version>
  84. <jts.version>1.18.2</jts.version>
  85. <bouncycastle.version>1.67</bouncycastle.version>
  86. <winsw.version>2.0.1</winsw.version>
  87. <postgresql.driver.version>42.2.20</postgresql.driver.version>
  88. <sonar.exclusions>org/toflylinks/server/gen/**/*,
  89. org/toflylinks/server/extensions/core/plugin/telemetry/gen/**/*
  90. </sonar.exclusions>
  91. <elasticsearch.version>5.0.2</elasticsearch.version>
  92. <delight-nashorn-sandbox.version>0.2.1</delight-nashorn-sandbox.version>
  93. <!-- IMPORTANT: If you change the version of the kafka client, make sure to synchronize our overwritten implementation of the
  94. org.apache.kafka.common.network.NetworkReceive class in the application module. It addresses the issue https://issues.apache.org/jira/browse/KAFKA-4090. -->
  95. <kafka.version>2.8.0</kafka.version>
  96. <bucket4j.version>4.1.1</bucket4j.version>
  97. <fst.version>2.57</fst.version>
  98. <antlr.version>2.7.7</antlr.version>
  99. <snakeyaml.version>1.27</snakeyaml.version>
  100. <aws.sdk.version>1.11.747</aws.sdk.version>
  101. <pubsub.client.version>1.105.0</pubsub.client.version>
  102. <google.common.protos.version>2.1.0</google.common.protos.version> <!-- required by io.grpc:grpc-protobuf:1.38.0-->
  103. <azure-servicebus.version>3.2.0</azure-servicebus.version>
  104. <passay.version>1.5.0</passay.version>
  105. <ua-parser.version>1.4.3</ua-parser.version>
  106. <commons-beanutils.version>1.9.4</commons-beanutils.version>
  107. <commons-collections.version>3.2.2</commons-collections.version>
  108. <micrometer.version>1.5.2</micrometer.version>
  109. <protobuf-dynamic.version>1.0.3TB</protobuf-dynamic.version>
  110. <wire-schema.version>3.4.0</wire-schema.version>
  111. <twilio.version>8.17.0</twilio.version>
  112. <hibernate-validator.version>6.0.20.Final</hibernate-validator.version>
  113. <javax.el.version>3.0.0</javax.el.version>
  114. <javax.validation-api.version>2.0.1.Final</javax.validation-api.version>
  115. <antisamy.version>1.6.4</antisamy.version>
  116. <snmp4j.version>2.8.5</snmp4j.version>
  117. <!-- TEST SCOPE -->
  118. <awaitility.version>4.1.0</awaitility.version>
  119. <cassandra-unit.version>4.3.1.0</cassandra-unit.version>
  120. <dbunit.version>2.7.2</dbunit.version>
  121. <hsqldb.version>2.6.1</hsqldb.version>
  122. <java-websocket.version>1.5.2</java-websocket.version>
  123. <jupiter.version>5.6.3</jupiter.version> <!-- keep the same version as spring-boot-starter-test depend on jupiter-->
  124. <json-path.version>2.6.0</json-path.version>
  125. <spring-test-dbunit.version>1.3.0</spring-test-dbunit.version> <!-- 2016 -->
  126. <takari-cpsuite.version>1.2.7</takari-cpsuite.version> <!-- 2015 -->
  127. <!-- BLACKBOX TEST SCOPE -->
  128. <testcontainers.version>1.16.0</testcontainers.version>
  129. <zeroturnaround.version>1.12</zeroturnaround.version>
  130. <!-- 新增的开始 -->
  131. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  132. <aliyun.sdk.core>4.5.20</aliyun.sdk.core>
  133. <aliyun.sdk.dysmsapi>2.1.0</aliyun.sdk.dysmsapi>
  134. <jakarta.mail.version>2.0.1</jakarta.mail.version>
  135. <io.minio.version>8.3.1</io.minio.version>
  136. <com.alibaba.easyexcel.version>3.1.1</com.alibaba.easyexcel.version>
  137. </properties>
  138. <modules>
  139. <module>netty-mqtt</module>
  140. <module>common</module>
  141. <module>rule-engine</module>
  142. <module>dao</module>
  143. <module>transport</module>
  144. <!--<module>ui-ngx</module>-->
  145. <module>tools</module>
  146. <module>application</module>
  147. <!--<module>msa</module>-->
  148. <module>rest-client</module>
  149. </modules>
  150. <profiles>
  151. <profile>
  152. <id>default</id>
  153. <activation>
  154. <activeByDefault>true</activeByDefault>
  155. </activation>
  156. </profile>
  157. <!-- download sources under target/dependencies -->
  158. <!-- mvn package -Pdownload-dependencies -Dclassifier=sources dependency:copy-dependencies -->
  159. <profile>
  160. <id>download-dependencies</id>
  161. <properties>
  162. <downloadSources>true</downloadSources>
  163. <downloadJavadocs>true</downloadJavadocs>
  164. </properties>
  165. </profile>
  166. <profile>
  167. <id>packaging</id>
  168. <activation>
  169. <activeByDefault>true</activeByDefault>
  170. </activation>
  171. <build>
  172. <pluginManagement>
  173. <plugins>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-resources-plugin</artifactId>
  177. <!--<executions>
  178. <execution>
  179. <id>copy-conf</id>
  180. <phase>${pkg.process-resources.phase}</phase>
  181. <goals>
  182. <goal>copy-resources</goal>
  183. </goals>
  184. <configuration>
  185. <outputDirectory>${project.build.directory}/conf</outputDirectory>
  186. <resources>
  187. <resource>
  188. <directory>src/main/resources</directory>
  189. <excludes>
  190. <exclude>logback.xml</exclude>
  191. <exclude>${pkg.name}.yml</exclude>
  192. </excludes>
  193. <filtering>false</filtering>
  194. </resource>
  195. <resource>
  196. <directory>src/main/resources</directory>
  197. <includes>
  198. <include>${pkg.name}.yml</include>
  199. </includes>
  200. <filtering>true</filtering>
  201. </resource>
  202. </resources>
  203. </configuration>
  204. </execution>
  205. <execution>
  206. <id>copy-service-conf</id>
  207. <phase>${pkg.process-resources.phase}</phase>
  208. <goals>
  209. <goal>copy-resources</goal>
  210. </goals>
  211. <configuration>
  212. <outputDirectory>${project.build.directory}/conf</outputDirectory>
  213. <resources>
  214. <resource>
  215. <directory>src/main/conf</directory>
  216. <filtering>true</filtering>
  217. </resource>
  218. </resources>
  219. <filters>
  220. <filter>${main.dir}/packaging/${pkg.type}/filters/unix.properties</filter>
  221. </filters>
  222. </configuration>
  223. </execution>
  224. <execution>
  225. <id>copy-linux-conf</id>
  226. <phase>${pkg.process-resources.phase}</phase>
  227. <goals>
  228. <goal>copy-resources</goal>
  229. </goals>
  230. <configuration>
  231. <outputDirectory>${pkg.linux.dist}/conf</outputDirectory>
  232. <resources>
  233. <resource>
  234. <directory>config</directory>
  235. <filtering>true</filtering>
  236. </resource>
  237. </resources>
  238. <filters>
  239. <filter>${main.dir}/packaging/${pkg.type}/filters/unix.properties</filter>
  240. </filters>
  241. </configuration>
  242. </execution>
  243. <execution>
  244. <id>copy-linux-init</id>
  245. <phase>${pkg.process-resources.phase}</phase>
  246. <goals>
  247. <goal>copy-resources</goal>
  248. </goals>
  249. <configuration>
  250. <outputDirectory>${pkg.linux.dist}/init</outputDirectory>
  251. <resources>
  252. <resource>
  253. <directory>${main.dir}/packaging/${pkg.type}/scripts/init</directory>
  254. <filtering>true</filtering>
  255. </resource>
  256. </resources>
  257. <filters>
  258. <filter>${main.dir}/packaging/${pkg.type}/filters/unix.properties</filter>
  259. </filters>
  260. </configuration>
  261. </execution>
  262. <execution>
  263. <id>copy-win-conf</id>
  264. <phase>${pkg.process-resources.phase}</phase>
  265. <goals>
  266. <goal>copy-resources</goal>
  267. </goals>
  268. <configuration>
  269. <outputDirectory>${pkg.win.dist}/conf</outputDirectory>
  270. <resources>
  271. <resource>
  272. <directory>src/main/resources</directory>
  273. <excludes>
  274. <exclude>logback.xml</exclude>
  275. <exclude>${pkg.name}.yml</exclude>
  276. </excludes>
  277. <filtering>false</filtering>
  278. </resource>
  279. <resource>
  280. <directory>src/main/resources</directory>
  281. <includes>
  282. <include>${pkg.name}.yml</include>
  283. </includes>
  284. <filtering>true</filtering>
  285. </resource>
  286. <resource>
  287. <directory>src/main/conf</directory>
  288. <excludes>
  289. <exclude>${pkg.name}.conf</exclude>
  290. </excludes>
  291. <filtering>true</filtering>
  292. </resource>
  293. </resources>
  294. <filters>
  295. <filter>${main.dir}/packaging/${pkg.type}/filters/windows.properties
  296. </filter>
  297. </filters>
  298. </configuration>
  299. </execution>
  300. <execution>
  301. <id>copy-control</id>
  302. <phase>${pkg.process-resources.phase}</phase>
  303. <goals>
  304. <goal>copy-resources</goal>
  305. </goals>
  306. <configuration>
  307. <outputDirectory>${project.build.directory}/control</outputDirectory>
  308. <resources>
  309. <resource>
  310. <directory>${main.dir}/packaging/${pkg.type}/scripts/control</directory>
  311. <filtering>true</filtering>
  312. </resource>
  313. </resources>
  314. <filters>
  315. <filter>${main.dir}/packaging/${pkg.type}/filters/unix.properties</filter>
  316. </filters>
  317. </configuration>
  318. </execution>
  319. <execution>
  320. <id>copy-install</id>
  321. <phase>${pkg.process-resources.phase}</phase>
  322. <goals>
  323. <goal>copy-resources</goal>
  324. </goals>
  325. <configuration>
  326. <outputDirectory>${project.build.directory}/bin/install</outputDirectory>
  327. <resources>
  328. <resource>
  329. <directory>${main.dir}/packaging/${pkg.type}/scripts/install</directory>
  330. <includes>
  331. <include>**/*.sh</include>
  332. <include>**/*.xml</include>
  333. </includes>
  334. <filtering>true</filtering>
  335. </resource>
  336. </resources>
  337. <filters>
  338. <filter>${main.dir}/packaging/${pkg.type}/filters/unix.properties</filter>
  339. </filters>
  340. </configuration>
  341. </execution>
  342. <execution>
  343. <id>copy-windows-control</id>
  344. <phase>${pkg.process-resources.phase}</phase>
  345. <goals>
  346. <goal>copy-resources</goal>
  347. </goals>
  348. <configuration>
  349. <outputDirectory>${pkg.win.dist}</outputDirectory>
  350. <resources>
  351. <resource>
  352. <directory>${main.dir}/packaging/${pkg.type}/scripts/windows</directory>
  353. <filtering>true</filtering>
  354. </resource>
  355. </resources>
  356. <filters>
  357. <filter>${main.dir}/packaging/${pkg.type}/filters/windows.properties
  358. </filter>
  359. </filters>
  360. </configuration>
  361. </execution>
  362. <execution>
  363. <id>copy-windows-install</id>
  364. <phase>${pkg.process-resources.phase}</phase>
  365. <goals>
  366. <goal>copy-resources</goal>
  367. </goals>
  368. <configuration>
  369. <outputDirectory>${pkg.win.dist}/install</outputDirectory>
  370. <resources>
  371. <resource>
  372. <directory>${main.dir}/packaging/${pkg.type}/scripts/install</directory>
  373. <includes>
  374. <include>logback.xml</include>
  375. </includes>
  376. <filtering>true</filtering>
  377. </resource>
  378. </resources>
  379. <filters>
  380. <filter>${main.dir}/packaging/${pkg.type}/filters/windows.properties
  381. </filter>
  382. </filters>
  383. </configuration>
  384. </execution>
  385. <execution>
  386. <id>copy-data</id>
  387. <phase>${pkg.process-resources.phase}</phase>
  388. <goals>
  389. <goal>copy-resources</goal>
  390. </goals>
  391. <configuration>
  392. <outputDirectory>${project.build.directory}/data</outputDirectory>
  393. <resources>
  394. <resource>
  395. <directory>src/main/data</directory>
  396. </resource>
  397. <resource>
  398. <directory>../dao/src/main/resources</directory>
  399. <includes>
  400. <include>**/*.cql</include>
  401. <include>**/*.sql</include>
  402. </includes>
  403. <filtering>false</filtering>
  404. </resource>
  405. </resources>
  406. </configuration>
  407. </execution>
  408. <execution>
  409. <id>copy-docker-config</id>
  410. <phase>${pkg.process-resources.phase}</phase>
  411. <goals>
  412. <goal>copy-resources</goal>
  413. </goals>
  414. <configuration>
  415. <outputDirectory>${project.build.directory}</outputDirectory>
  416. <resources>
  417. <resource>
  418. <directory>docker</directory>
  419. <filtering>true</filtering>
  420. </resource>
  421. </resources>
  422. </configuration>
  423. </execution>
  424. </executions>-->
  425. </plugin>
  426. <plugin>
  427. <groupId>org.apache.maven.plugins</groupId>
  428. <artifactId>maven-dependency-plugin</artifactId>
  429. <!--<executions>
  430. <execution>
  431. <id>copy-winsw-service</id>
  432. <phase>${pkg.package.phase}</phase>
  433. <goals>
  434. <goal>copy</goal>
  435. </goals>
  436. <configuration>
  437. <artifactItems>
  438. <artifactItem>
  439. <groupId>com.sun.winsw</groupId>
  440. <artifactId>winsw</artifactId>
  441. <classifier>bin</classifier>
  442. <type>exe</type>
  443. <destFileName>service.exe</destFileName>
  444. </artifactItem>
  445. </artifactItems>
  446. <outputDirectory>${pkg.win.dist}</outputDirectory>
  447. </configuration>
  448. </execution>
  449. </executions>-->
  450. </plugin>
  451. <plugin>
  452. <groupId>org.apache.maven.plugins</groupId>
  453. <artifactId>maven-jar-plugin</artifactId>
  454. <configuration>
  455. <excludes>
  456. <exclude>**/logback.xml</exclude>
  457. </excludes>
  458. <archive>
  459. <manifestEntries>
  460. <Implementation-Title>${pkg.implementationTitle}</Implementation-Title>
  461. <Implementation-Version>${project.version}</Implementation-Version>
  462. </manifestEntries>
  463. </archive>
  464. </configuration>
  465. </plugin>
  466. <plugin>
  467. <groupId>org.springframework.boot</groupId>
  468. <artifactId>spring-boot-maven-plugin</artifactId>
  469. <configuration>
  470. <skip>${pkg.disabled}</skip>
  471. <mainClass>${pkg.mainClass}</mainClass>
  472. <classifier>boot</classifier>
  473. <layout>ZIP</layout>
  474. <executable>true</executable>
  475. <excludeDevtools>true</excludeDevtools>
  476. <!--只包含自己-->
  477. <!--<includes>
  478. <include>
  479. <groupId>${groupId}</groupId>
  480. <artifactId>${artifactId}</artifactId>
  481. </include>
  482. </includes>-->
  483. <embeddedLaunchScriptProperties>
  484. <confFolder>${pkg.installFolder}/conf</confFolder>
  485. <logFolder>${pkg.unixLogFolder}</logFolder>
  486. <logFilename>${pkg.name}.out</logFilename>
  487. <initInfoProvides>${pkg.name}</initInfoProvides>
  488. </embeddedLaunchScriptProperties>
  489. </configuration>
  490. <executions>
  491. <execution>
  492. <goals>
  493. <goal>repackage</goal>
  494. <goal>build-info</goal>
  495. </goals>
  496. </execution>
  497. </executions>
  498. </plugin>
  499. <plugin>
  500. <groupId>org.springframework.boot</groupId>
  501. <artifactId>spring-boot-maven-plugin</artifactId>
  502. <configuration>
  503. <skip>${pkg.disabled}</skip>
  504. <mainClass>${pkg.mainClass}</mainClass>
  505. <classifier>boot2</classifier>
  506. <layout>ZIP</layout>
  507. <executable>true</executable>
  508. <excludeDevtools>true</excludeDevtools>
  509. <!--只包含自己-->
  510. <includes>
  511. <include>
  512. <groupId>${groupId}</groupId>
  513. <artifactId>${artifactId}</artifactId>
  514. </include>
  515. <include>
  516. <groupId>tofly.toflylinks</groupId>
  517. <artifactId>netty-mqtt</artifactId>
  518. </include>
  519. <include>
  520. <groupId>tofly.toflylinks.common</groupId>
  521. <artifactId>data</artifactId>
  522. </include>
  523. <include>
  524. <groupId>tofly.toflylinks.common</groupId>
  525. <artifactId>util</artifactId>
  526. </include>
  527. <include>
  528. <groupId>tofly.toflylinks.common</groupId>
  529. <artifactId>cache</artifactId>
  530. </include>
  531. <include>
  532. <groupId>tofly.toflylinks.common</groupId>
  533. <artifactId>actor</artifactId>
  534. </include>
  535. <include>
  536. <groupId>tofly.toflylinks.common</groupId>
  537. <artifactId>dao-api</artifactId>
  538. </include>
  539. <include>
  540. <groupId>tofly.toflylinks.common</groupId>
  541. <artifactId>cluster-api</artifactId>
  542. </include>
  543. <include>
  544. <groupId>tofly.toflylinks.rule-engine</groupId>
  545. <artifactId>rule-engine-api</artifactId>
  546. </include>
  547. <include>
  548. <groupId>tofly.toflylinks.rule-engine</groupId>
  549. <artifactId>rule-engine-components</artifactId>
  550. </include>
  551. <include>
  552. <groupId>tofly.toflylinks.common</groupId>
  553. <artifactId>message</artifactId>
  554. </include>
  555. <include>
  556. <groupId>tofly.toflylinks.common</groupId>
  557. <artifactId>transport</artifactId>
  558. </include>
  559. <include>
  560. <groupId>tofly.toflylinks.common.transport</groupId>
  561. <artifactId>transport-api</artifactId>
  562. </include>
  563. <include>
  564. <groupId>tofly.toflylinks.common.transport</groupId>
  565. <artifactId>mqtt</artifactId>
  566. </include>
  567. <include>
  568. <groupId>tofly.toflylinks.common.transport</groupId>
  569. <artifactId>tcp</artifactId>
  570. </include>
  571. <include>
  572. <groupId>tofly.toflylinks.common.transport</groupId>
  573. <artifactId>http</artifactId>
  574. </include>
  575. <include>
  576. <groupId>tofly.toflylinks.common.transport</groupId>
  577. <artifactId>coap</artifactId>
  578. </include>
  579. <include>
  580. <groupId>tofly.toflylinks.common.transport</groupId>
  581. <artifactId>snmp</artifactId>
  582. </include>
  583. <include>
  584. <groupId>tofly.toflylinks.common.transport</groupId>
  585. <artifactId>lwm2m</artifactId>
  586. </include>
  587. <include>
  588. <groupId>tofly.toflylinks.common</groupId>
  589. <artifactId>edge-api</artifactId>
  590. </include>
  591. <include>
  592. <groupId>tofly.toflylinks</groupId>
  593. <artifactId>dao</artifactId>
  594. </include>
  595. <include>
  596. <groupId>tofly.toflylinks.common</groupId>
  597. <artifactId>queue</artifactId>
  598. </include>
  599. <include>
  600. <groupId>tofly.toflylinks.common</groupId>
  601. <artifactId>stats</artifactId>
  602. </include>
  603. <include>
  604. <groupId>tofly.toflylinks.common</groupId>
  605. <artifactId>coap-server</artifactId>
  606. </include>
  607. </includes>
  608. <embeddedLaunchScriptProperties>
  609. <confFolder>${pkg.installFolder}/conf</confFolder>
  610. <logFolder>${pkg.unixLogFolder}</logFolder>
  611. <logFilename>${pkg.name}.out</logFilename>
  612. <initInfoProvides>${pkg.name}</initInfoProvides>
  613. </embeddedLaunchScriptProperties>
  614. </configuration>
  615. <executions>
  616. <execution>
  617. <goals>
  618. <goal>repackage</goal>
  619. <goal>build-info</goal>
  620. </goals>
  621. </execution>
  622. </executions>
  623. </plugin>
  624. <plugin>
  625. <groupId>tofly.toflylinks</groupId>
  626. <artifactId>gradle-maven-plugin</artifactId>
  627. <configuration>
  628. <gradleProjectDirectory>${main.dir}/packaging/${pkg.type}</gradleProjectDirectory>
  629. <tasks>
  630. <task>build</task>
  631. <task>buildDeb</task>
  632. <task>buildRpm</task>
  633. </tasks>
  634. <args>
  635. <arg>-PpackagingDir=${main.dir}/packaging</arg>
  636. <arg>-PprojectBuildDir=${basedir}/target</arg>
  637. <arg>-PprojectVersion=${project.version}</arg>
  638. <arg>
  639. -PmainJar=${project.build.directory}/${project.build.finalName}-boot.${project.packaging}
  640. </arg>
  641. <arg>-PpkgName=${pkg.name}</arg>
  642. <arg>-PpkgUser=${pkg.user}</arg>
  643. <arg>-PpkgInstallFolder=${pkg.installFolder}</arg>
  644. <arg>-PpkgCopyInstallScripts=${pkg.copyInstallScripts}</arg>
  645. <arg>-PpkgLogFolder=${pkg.unixLogFolder}</arg>
  646. <arg>--warning-mode</arg>
  647. <arg>all</arg>
  648. </args>
  649. </configuration>
  650. <executions>
  651. <execution>
  652. <phase>${pkg.package.phase}</phase>
  653. <goals>
  654. <goal>invoke</goal>
  655. </goals>
  656. </execution>
  657. </executions>
  658. </plugin>
  659. <plugin>
  660. <groupId>org.apache.maven.plugins</groupId>
  661. <artifactId>maven-assembly-plugin</artifactId>
  662. <!--<configuration>
  663. <finalName>${pkg.name}</finalName>
  664. <descriptors>
  665. <descriptor>${main.dir}/packaging/${pkg.type}/assembly/windows.xml</descriptor>
  666. </descriptors>
  667. </configuration>
  668. <executions>
  669. <execution>
  670. <id>assembly</id>
  671. <phase>${pkg.package.phase}</phase>
  672. <goals>
  673. <goal>single</goal>
  674. </goals>
  675. </execution>
  676. </executions>-->
  677. </plugin>
  678. <plugin>
  679. <groupId>org.apache.maven.plugins</groupId>
  680. <artifactId>maven-install-plugin</artifactId>
  681. <!--<configuration>
  682. <file>${project.build.directory}/${pkg.name}.deb</file>
  683. <artifactId>${project.artifactId}</artifactId>
  684. <groupId>${project.groupId}</groupId>
  685. <version>${project.version}</version>
  686. <classifier>deb</classifier>
  687. <packaging>deb</packaging>
  688. </configuration>
  689. <executions>
  690. <execution>
  691. <id>install-deb</id>
  692. <phase>${pkg.package.phase}</phase>
  693. <goals>
  694. <goal>install-file</goal>
  695. </goals>
  696. </execution>
  697. </executions>-->
  698. </plugin>
  699. </plugins>
  700. </pluginManagement>
  701. </build>
  702. </profile>
  703. </profiles>
  704. <build>
  705. <extensions>
  706. <extension>
  707. <groupId>kr.motd.maven</groupId>
  708. <artifactId>os-maven-plugin</artifactId>
  709. <version>${os-maven-plugin.version}</version>
  710. </extension>
  711. </extensions>
  712. <pluginManagement>
  713. <plugins>
  714. <plugin>
  715. <groupId>org.apache.maven.plugins</groupId>
  716. <artifactId>maven-compiler-plugin</artifactId>
  717. <version>3.8.1</version>
  718. <configuration>
  719. <release>11</release>
  720. <compilerArgs>
  721. <arg>-Xlint:deprecation</arg>
  722. <arg>-Xlint:removal</arg>
  723. <arg>-Xlint:unchecked</arg>
  724. </compilerArgs>
  725. <annotationProcessorPaths>
  726. <path>
  727. <groupId>org.projectlombok</groupId>
  728. <artifactId>lombok</artifactId>
  729. <version>${lombok.version}</version>
  730. </path>
  731. </annotationProcessorPaths>
  732. </configuration>
  733. </plugin>
  734. <plugin>
  735. <groupId>org.apache.maven.plugins</groupId>
  736. <artifactId>maven-resources-plugin</artifactId>
  737. <version>2.7</version>
  738. </plugin>
  739. <plugin>
  740. <groupId>org.apache.maven.plugins</groupId>
  741. <artifactId>maven-source-plugin</artifactId>
  742. <version>3.2.1</version>
  743. </plugin>
  744. <plugin>
  745. <groupId>org.apache.maven.plugins</groupId>
  746. <artifactId>maven-jar-plugin</artifactId>
  747. <version>3.1.1</version>
  748. </plugin>
  749. <plugin>
  750. <groupId>org.apache.maven.plugins</groupId>
  751. <artifactId>maven-assembly-plugin</artifactId>
  752. <version>3.0.0</version>
  753. </plugin>
  754. <plugin>
  755. <groupId>org.springframework.boot</groupId>
  756. <artifactId>spring-boot-maven-plugin</artifactId>
  757. <version>${spring-boot.version}</version>
  758. </plugin>
  759. <plugin>
  760. <groupId>tofly.toflylinks</groupId>
  761. <artifactId>gradle-maven-plugin</artifactId>
  762. <version>1.0.11</version>
  763. </plugin>
  764. <plugin>
  765. <groupId>com.github.eirslett</groupId>
  766. <artifactId>frontend-maven-plugin</artifactId>
  767. <version>1.12.0</version>
  768. </plugin>
  769. <plugin>
  770. <groupId>org.apache.maven.plugins</groupId>
  771. <artifactId>maven-surefire-plugin</artifactId>
  772. <version>3.0.0-M5</version>
  773. <configuration>
  774. <argLine>
  775. --illegal-access=permit
  776. </argLine>
  777. </configuration>
  778. </plugin>
  779. <plugin>
  780. <groupId>org.apache.maven.plugins</groupId>
  781. <artifactId>maven-install-plugin</artifactId>
  782. <version>3.0.0-M1</version>
  783. </plugin>
  784. <plugin>
  785. <groupId>org.apache.maven.plugins</groupId>
  786. <artifactId>maven-deploy-plugin</artifactId>
  787. <version>3.0.0-M1</version>
  788. </plugin>
  789. <!-- <plugin>
  790. <groupId>org.codehaus.mojo</groupId>
  791. <artifactId>exec-maven-plugin</artifactId>
  792. <version>3.0.0</version>
  793. </plugin>-->
  794. <plugin>
  795. <groupId>org.apache.maven.plugins</groupId>
  796. <artifactId>maven-dependency-plugin</artifactId>
  797. <!--<executions>
  798. <execution>
  799. <id>copy-protoc</id>
  800. <phase>generate-sources</phase>
  801. <goals>
  802. <goal>copy</goal>
  803. </goals>
  804. <configuration>
  805. <artifactItems>
  806. <artifactItem>
  807. <groupId>com.google.protobuf</groupId>
  808. <artifactId>protoc</artifactId>
  809. <version>${protobuf.version}</version>
  810. <classifier>${os.detected.classifier}</classifier>
  811. <type>exe</type>
  812. <overWrite>true</overWrite>
  813. <outputDirectory>${project.build.directory}</outputDirectory>
  814. </artifactItem>
  815. </artifactItems>
  816. </configuration>
  817. </execution>
  818. </executions>-->
  819. </plugin>
  820. <plugin>
  821. <groupId>org.xolstice.maven.plugins</groupId>
  822. <artifactId>protobuf-maven-plugin</artifactId>
  823. <version>0.6.1</version>
  824. <configuration>
  825. <!--
  826. The version of protoc must match protobuf-java. If you don't depend on
  827. protobuf-java directly, you will be transitively depending on the
  828. protobuf-java version that grpc depends on.
  829. -->
  830. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
  831. </protocArtifact>
  832. <pluginId>grpc-java</pluginId>
  833. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
  834. </pluginArtifact>
  835. </configuration>
  836. <executions>
  837. <execution>
  838. <goals>
  839. <goal>compile</goal>
  840. <goal>compile-custom</goal>
  841. <goal>test-compile</goal>
  842. </goals>
  843. </execution>
  844. </executions>
  845. </plugin>
  846. <plugin>
  847. <groupId>org.codehaus.mojo</groupId>
  848. <artifactId>build-helper-maven-plugin</artifactId>
  849. <version>1.12</version>
  850. <executions>
  851. <execution>
  852. <id>add-source</id>
  853. <phase>generate-sources</phase>
  854. <goals>
  855. <goal>add-source</goal>
  856. </goals>
  857. <configuration>
  858. <sources>
  859. <source>${basedir}/target/generated-sources</source>
  860. </sources>
  861. </configuration>
  862. </execution>
  863. </executions>
  864. </plugin>
  865. <plugin>
  866. <groupId>org.eclipse.m2e</groupId>
  867. <artifactId>lifecycle-mapping</artifactId>
  868. <version>1.0.0</version>
  869. <configuration>
  870. <lifecycleMappingMetadata>
  871. <pluginExecutions>
  872. <pluginExecution>
  873. <pluginExecutionFilter>
  874. <groupId>
  875. org.apache.maven.plugins
  876. </groupId>
  877. <artifactId>
  878. maven-antrun-plugin
  879. </artifactId>
  880. <versionRange>
  881. [1.3,)
  882. </versionRange>
  883. <goals>
  884. <goal>run</goal>
  885. </goals>
  886. </pluginExecutionFilter>
  887. <action>
  888. <ignore></ignore>
  889. </action>
  890. </pluginExecution>
  891. </pluginExecutions>
  892. </lifecycleMappingMetadata>
  893. </configuration>
  894. </plugin>
  895. <plugin>
  896. <groupId>com.mycila</groupId>
  897. <artifactId>license-maven-plugin</artifactId>
  898. <version>3.0</version>
  899. <configuration>
  900. <header>${main.dir}/license-header-template.txt</header>
  901. <properties>
  902. <owner>The Toflylinks Authors</owner>
  903. </properties>
  904. <excludes>
  905. <exclude>**/.env</exclude>
  906. <exclude>**/*.env</exclude>
  907. <exclude>**/.eslintrc</exclude>
  908. <exclude>**/.babelrc</exclude>
  909. <exclude>**/.jshintrc</exclude>
  910. <exclude>**/.gradle/**</exclude>
  911. <exclude>**/nightwatch</exclude>
  912. <exclude>**/README</exclude>
  913. <exclude>**/LICENSE</exclude>
  914. <exclude>**/banner.txt</exclude>
  915. <exclude>node_modules/**</exclude>
  916. <exclude>**/*.properties</exclude>
  917. <exclude>src/test/resources/**</exclude>
  918. <exclude>src/vendor/**</exclude>
  919. <exclude>src/font/**</exclude>
  920. <exclude>src/sh/**</exclude>
  921. <exclude>packaging/*/scripts/control/**</exclude>
  922. <exclude>packaging/*/scripts/windows/**</exclude>
  923. <exclude>packaging/*/scripts/init/**</exclude>
  924. <exclude>**/*.log</exclude>
  925. <exclude>**/*.current</exclude>
  926. <exclude>.instance_id</exclude>
  927. <exclude>src/main/scripts/control/**</exclude>
  928. <exclude>src/main/scripts/windows/**</exclude>
  929. <exclude>src/main/resources/public/static/rulenode/**</exclude>
  930. <exclude>**/*.proto.js</exclude>
  931. <exclude>docker/haproxy/**</exclude>
  932. <exclude>docker/tb-node/**</exclude>
  933. <exclude>ui/**</exclude>
  934. <exclude>src/.browserslistrc</exclude>
  935. <exclude>**/yarn.lock</exclude>
  936. <exclude>**/*.raw</exclude>
  937. <exclude>**/*.patch</exclude>
  938. <exclude>**/apache/cassandra/io/**</exclude>
  939. <exclude>.run/**</exclude>
  940. <exclude>**/NetworkReceive.java</exclude>
  941. </excludes>
  942. <mapping>
  943. <proto>JAVADOC_STYLE</proto>
  944. <cql>DOUBLEDASHES_STYLE</cql>
  945. <scss>JAVADOC_STYLE</scss>
  946. <jsx>SLASHSTAR_STYLE</jsx>
  947. <tsx>SLASHSTAR_STYLE</tsx>
  948. <conf>SCRIPT_STYLE</conf>
  949. <gradle>JAVADOC_STYLE</gradle>
  950. </mapping>
  951. </configuration>
  952. <executions>
  953. <execution>
  954. <goals>
  955. <goal>check</goal>
  956. </goals>
  957. </execution>
  958. </executions>
  959. </plugin>
  960. </plugins>
  961. </pluginManagement>
  962. <plugins>
  963. <!-- <plugin>-->
  964. <!-- <groupId>com.mycila</groupId>-->
  965. <!-- <artifactId>license-maven-plugin</artifactId>-->
  966. <!-- </plugin>-->
  967. </plugins>
  968. </build>
  969. <dependencies>
  970. <dependency>
  971. <groupId>org.projectlombok</groupId>
  972. <artifactId>lombok</artifactId>
  973. <scope>provided</scope>
  974. </dependency>
  975. </dependencies>
  976. <dependencyManagement>
  977. <dependencies>
  978. <!-- <dependency>-->
  979. <!-- <groupId>org.springframework.boot</groupId>-->
  980. <!-- <artifactId>spring-boot-starter-quartz</artifactId>-->
  981. <!-- <version>${spring-boot.version}</version>-->
  982. <!-- </dependency>-->
  983. <!-- 定时任务 -->
  984. <!-- <dependency>-->
  985. <!-- <groupId>org.quartz-scheduler</groupId>-->
  986. <!-- <artifactId>quartz</artifactId>-->
  987. <!-- <exclusions>-->
  988. <!-- <exclusion>-->
  989. <!-- <groupId>com.mchange</groupId>-->
  990. <!-- <artifactId>c3p0</artifactId>-->
  991. <!-- </exclusion>-->
  992. <!-- </exclusions>-->
  993. <!-- </dependency>-->
  994. <dependency>
  995. <groupId>tofly.toflylinks</groupId>
  996. <artifactId>netty-mqtt</artifactId>
  997. <version>${project.version}</version>
  998. </dependency>
  999. <dependency>
  1000. <groupId>tofly.toflylinks.common</groupId>
  1001. <artifactId>data</artifactId>
  1002. <version>${project.version}</version>
  1003. </dependency>
  1004. <dependency>
  1005. <groupId>tofly.toflylinks.common</groupId>
  1006. <artifactId>util</artifactId>
  1007. <version>${project.version}</version>
  1008. </dependency>
  1009. <dependency>
  1010. <groupId>tofly.toflylinks.common</groupId>
  1011. <artifactId>cache</artifactId>
  1012. <version>${project.version}</version>
  1013. </dependency>
  1014. <dependency>
  1015. <groupId>tofly.toflylinks.common</groupId>
  1016. <artifactId>actor</artifactId>
  1017. <version>${project.version}</version>
  1018. </dependency>
  1019. <dependency>
  1020. <groupId>tofly.toflylinks.common</groupId>
  1021. <artifactId>dao-api</artifactId>
  1022. <version>${project.version}</version>
  1023. </dependency>
  1024. <dependency>
  1025. <groupId>tofly.toflylinks.common</groupId>
  1026. <artifactId>cluster-api</artifactId>
  1027. <version>${project.version}</version>
  1028. </dependency>
  1029. <dependency>
  1030. <groupId>tofly.toflylinks.rule-engine</groupId>
  1031. <artifactId>rule-engine-api</artifactId>
  1032. <version>${project.version}</version>
  1033. </dependency>
  1034. <dependency>
  1035. <groupId>tofly.toflylinks.rule-engine</groupId>
  1036. <artifactId>rule-engine-components</artifactId>
  1037. <version>${project.version}</version>
  1038. </dependency>
  1039. <dependency>
  1040. <groupId>tofly.toflylinks.common</groupId>
  1041. <artifactId>message</artifactId>
  1042. <version>${project.version}</version>
  1043. </dependency>
  1044. <dependency>
  1045. <groupId>tofly.toflylinks.common</groupId>
  1046. <artifactId>transport</artifactId>
  1047. <version>${project.version}</version>
  1048. </dependency>
  1049. <dependency>
  1050. <groupId>tofly.toflylinks.common.transport</groupId>
  1051. <artifactId>transport-api</artifactId>
  1052. <version>${project.version}</version>
  1053. </dependency>
  1054. <dependency>
  1055. <groupId>tofly.toflylinks.common.transport</groupId>
  1056. <artifactId>mqtt</artifactId>
  1057. <version>${project.version}</version>
  1058. </dependency>
  1059. <dependency>
  1060. <groupId>tofly.toflylinks.common.transport</groupId>
  1061. <artifactId>tcp</artifactId>
  1062. <version>${project.version}</version>
  1063. </dependency>
  1064. <dependency>
  1065. <groupId>tofly.toflylinks.common.transport</groupId>
  1066. <artifactId>http</artifactId>
  1067. <version>${project.version}</version>
  1068. </dependency>
  1069. <dependency>
  1070. <groupId>tofly.toflylinks.common.transport</groupId>
  1071. <artifactId>coap</artifactId>
  1072. <version>${project.version}</version>
  1073. </dependency>
  1074. <dependency>
  1075. <groupId>tofly.toflylinks.common.transport</groupId>
  1076. <artifactId>snmp</artifactId>
  1077. <version>${project.version}</version>
  1078. </dependency>
  1079. <dependency>
  1080. <groupId>tofly.toflylinks.common.transport</groupId>
  1081. <artifactId>lwm2m</artifactId>
  1082. <version>${project.version}</version>
  1083. </dependency>
  1084. <dependency>
  1085. <groupId>tofly.toflylinks.common</groupId>
  1086. <artifactId>edge-api</artifactId>
  1087. <version>${project.version}</version>
  1088. </dependency>
  1089. <dependency>
  1090. <groupId>tofly.toflylinks</groupId>
  1091. <artifactId>dao</artifactId>
  1092. <version>${project.version}</version>
  1093. </dependency>
  1094. <dependency>
  1095. <groupId>tofly.toflylinks.common</groupId>
  1096. <artifactId>queue</artifactId>
  1097. <version>${project.version}</version>
  1098. </dependency>
  1099. <dependency>
  1100. <groupId>tofly.toflylinks.common</groupId>
  1101. <artifactId>stats</artifactId>
  1102. <version>${project.version}</version>
  1103. </dependency>
  1104. <dependency>
  1105. <groupId>tofly.toflylinks.common</groupId>
  1106. <artifactId>coap-server</artifactId>
  1107. <version>${project.version}</version>
  1108. </dependency>
  1109. <dependency>
  1110. <groupId>tofly.toflylinks</groupId>
  1111. <artifactId>tools</artifactId>
  1112. <version>${project.version}</version>
  1113. <scope>test</scope>
  1114. </dependency>
  1115. <dependency>
  1116. <groupId>tofly.toflylinks</groupId>
  1117. <artifactId>rest-client</artifactId>
  1118. <version>${project.version}</version>
  1119. <scope>test</scope>
  1120. </dependency>
  1121. <dependency>
  1122. <groupId>tofly.toflylinks.msa</groupId>
  1123. <artifactId>js-executor</artifactId>
  1124. <version>${project.version}</version>
  1125. <type>docker-info</type>
  1126. <scope>test</scope>
  1127. </dependency>
  1128. <dependency>
  1129. <groupId>tofly.toflylinks.msa</groupId>
  1130. <artifactId>web-ui</artifactId>
  1131. <version>${project.version}</version>
  1132. <type>docker-info</type>
  1133. <scope>test</scope>
  1134. </dependency>
  1135. <dependency>
  1136. <groupId>tofly.toflylinks.msa</groupId>
  1137. <artifactId>tb-node</artifactId>
  1138. <version>${project.version}</version>
  1139. <type>docker-info</type>
  1140. <scope>test</scope>
  1141. </dependency>
  1142. <dependency>
  1143. <groupId>tofly.toflylinks.msa.transport</groupId>
  1144. <artifactId>coap</artifactId>
  1145. <version>${project.version}</version>
  1146. <type>docker-info</type>
  1147. <scope>test</scope>
  1148. </dependency>
  1149. <dependency>
  1150. <groupId>tofly.toflylinks.msa.transport</groupId>
  1151. <artifactId>http</artifactId>
  1152. <version>${project.version}</version>
  1153. <type>docker-info</type>
  1154. <scope>test</scope>
  1155. </dependency>
  1156. <dependency>
  1157. <groupId>tofly.toflylinks.msa.transport</groupId>
  1158. <artifactId>mqtt</artifactId>
  1159. <version>${project.version}</version>
  1160. <type>docker-info</type>
  1161. <scope>test</scope>
  1162. </dependency>
  1163. <dependency>
  1164. <groupId>tofly.toflylinks.msa.transport</groupId>
  1165. <artifactId>lwm2m</artifactId>
  1166. <version>${project.version}</version>
  1167. <type>docker-info</type>
  1168. <scope>test</scope>
  1169. </dependency>
  1170. <dependency>
  1171. <groupId>tofly.toflylinks.msa.transport</groupId>
  1172. <artifactId>snmp</artifactId>
  1173. <version>${project.version}</version>
  1174. <type>docker-info</type>
  1175. <scope>test</scope>
  1176. </dependency>
  1177. <dependency>
  1178. <groupId>tofly.toflylinks</groupId>
  1179. <artifactId>dao</artifactId>
  1180. <version>${project.version}</version>
  1181. <type>test-jar</type>
  1182. <scope>test</scope>
  1183. </dependency>
  1184. <!-- 同飞新增 start -->
  1185. <dependency>
  1186. <groupId>com.baomidou</groupId>
  1187. <artifactId>mybatis-plus-boot-starter</artifactId>
  1188. <version>${mybatis-plus.version}</version>
  1189. </dependency>
  1190. <dependency>
  1191. <groupId>com.github.promeg</groupId>
  1192. <artifactId>tinypinyin</artifactId>
  1193. <version>2.0.3</version>
  1194. </dependency>
  1195. <dependency>
  1196. <groupId>com.github.promeg</groupId>
  1197. <artifactId>tinypinyin-lexicons-java-cncity</artifactId>
  1198. <version>2.0.3</version>
  1199. </dependency>
  1200. <!-- 同飞新增 end -->
  1201. <dependency>
  1202. <groupId>javax.annotation</groupId>
  1203. <artifactId>javax.annotation-api</artifactId>
  1204. <version>${javax-annotation.version}</version>
  1205. </dependency>
  1206. <dependency>
  1207. <groupId>jakarta.xml.bind</groupId>
  1208. <artifactId>jakarta.xml.bind-api</artifactId>
  1209. <version>${jakarta.xml.bind-api.version}</version>
  1210. </dependency>
  1211. <dependency>
  1212. <groupId>org.glassfish.jaxb</groupId>
  1213. <artifactId>jaxb-runtime</artifactId>
  1214. <version>${jaxb-runtime.version}</version>
  1215. </dependency>
  1216. <dependency>
  1217. <groupId>org.springframework.boot</groupId>
  1218. <artifactId>spring-boot-starter-security</artifactId>
  1219. <version>${spring-boot.version}</version>
  1220. </dependency>
  1221. <dependency>
  1222. <groupId>org.springframework.security</groupId>
  1223. <artifactId>spring-security-oauth2-client</artifactId>
  1224. <version>${spring-security.version}</version>
  1225. </dependency>
  1226. <dependency>
  1227. <groupId>org.springframework.security</groupId>
  1228. <artifactId>spring-security-oauth2-jose</artifactId>
  1229. <version>${spring-security.version}</version>
  1230. </dependency>
  1231. <dependency>
  1232. <groupId>org.springframework</groupId>
  1233. <artifactId>spring-core</artifactId>
  1234. <version>${spring.version}</version>
  1235. </dependency>
  1236. <dependency>
  1237. <groupId>org.springframework.boot</groupId>
  1238. <artifactId>spring-boot-starter-web</artifactId>
  1239. <version>${spring-boot.version}</version>
  1240. </dependency>
  1241. <dependency>
  1242. <groupId>org.springframework.boot</groupId>
  1243. <artifactId>spring-boot-starter-websocket</artifactId>
  1244. <version>${spring-boot.version}</version>
  1245. </dependency>
  1246. <dependency>
  1247. <groupId>org.springframework.boot</groupId>
  1248. <artifactId>spring-boot-autoconfigure</artifactId>
  1249. <version>${spring-boot.version}</version>
  1250. </dependency>
  1251. <dependency>
  1252. <groupId>org.springframework.boot</groupId>
  1253. <artifactId>spring-boot-starter-test</artifactId>
  1254. <version>${spring-boot.version}</version>
  1255. <scope>test</scope>
  1256. <exclusions>
  1257. <exclusion>
  1258. <groupId>com.vaadin.external.google</groupId>
  1259. <artifactId>android-json</artifactId>
  1260. </exclusion>
  1261. </exclusions>
  1262. </dependency>
  1263. <dependency>
  1264. <groupId>org.springframework.boot</groupId>
  1265. <artifactId>spring-boot-starter-data-jpa</artifactId>
  1266. <version>${spring-boot.version}</version>
  1267. </dependency>
  1268. <dependency>
  1269. <groupId>org.springframework.data</groupId>
  1270. <artifactId>spring-data-commons</artifactId>
  1271. <version>${spring-data.version}</version>
  1272. </dependency>
  1273. <dependency>
  1274. <groupId>org.apache.kafka</groupId>
  1275. <artifactId>kafka-clients</artifactId>
  1276. <version>${kafka.version}</version>
  1277. </dependency>
  1278. <dependency>
  1279. <groupId>org.postgresql</groupId>
  1280. <artifactId>postgresql</artifactId>
  1281. <version>${postgresql.driver.version}</version>
  1282. </dependency>
  1283. <dependency>
  1284. <groupId>org.springframework</groupId>
  1285. <artifactId>spring-context</artifactId>
  1286. <version>${spring.version}</version>
  1287. </dependency>
  1288. <dependency>
  1289. <groupId>org.springframework</groupId>
  1290. <artifactId>spring-context-support</artifactId>
  1291. <version>${spring.version}</version>
  1292. </dependency>
  1293. <dependency>
  1294. <groupId>org.springframework</groupId>
  1295. <artifactId>spring-tx</artifactId>
  1296. <version>${spring.version}</version>
  1297. </dependency>
  1298. <dependency>
  1299. <groupId>org.springframework</groupId>
  1300. <artifactId>spring-web</artifactId>
  1301. <version>${spring.version}</version>
  1302. </dependency>
  1303. <dependency>
  1304. <groupId>org.springframework.security</groupId>
  1305. <artifactId>spring-security-test</artifactId>
  1306. <version>${spring-security.version}</version>
  1307. <scope>test</scope>
  1308. </dependency>
  1309. <dependency>
  1310. <groupId>com.github.springtestdbunit</groupId>
  1311. <artifactId>spring-test-dbunit</artifactId>
  1312. <version>${spring-test-dbunit.version}</version>
  1313. <scope>test</scope>
  1314. </dependency>
  1315. <dependency>
  1316. <groupId>io.jsonwebtoken</groupId>
  1317. <artifactId>jjwt</artifactId>
  1318. <version>${jjwt.version}</version>
  1319. </dependency>
  1320. <dependency>
  1321. <groupId>org.freemarker</groupId>
  1322. <artifactId>freemarker</artifactId>
  1323. <version>${freemarker.version}</version>
  1324. </dependency>
  1325. <dependency>
  1326. <groupId>org.yaml</groupId>
  1327. <artifactId>snakeyaml</artifactId>
  1328. <version>${snakeyaml.version}</version>
  1329. </dependency>
  1330. <dependency>
  1331. <groupId>antlr</groupId>
  1332. <artifactId>antlr</artifactId>
  1333. <version>${antlr.version}</version>
  1334. </dependency>
  1335. <dependency>
  1336. <groupId>com.rabbitmq</groupId>
  1337. <artifactId>amqp-client</artifactId>
  1338. <version>${rabbitmq.version}</version>
  1339. </dependency>
  1340. <dependency>
  1341. <groupId>com.sun.mail</groupId>
  1342. <artifactId>javax.mail</artifactId>
  1343. <version>${mail.version}</version>
  1344. </dependency>
  1345. <dependency>
  1346. <groupId>org.apache.curator</groupId>
  1347. <artifactId>curator-recipes</artifactId>
  1348. <version>${curator.version}</version>
  1349. </dependency>
  1350. <dependency>
  1351. <groupId>org.apache.curator</groupId>
  1352. <artifactId>curator-test</artifactId>
  1353. <scope>test</scope>
  1354. <version>${curator.version}</version>
  1355. </dependency>
  1356. <dependency>
  1357. <groupId>org.apache.zookeeper</groupId>
  1358. <artifactId>zookeeper</artifactId>
  1359. <version>${zookeeper.version}</version>
  1360. <exclusions>
  1361. <exclusion>
  1362. <groupId>log4j</groupId>
  1363. <artifactId>log4j</artifactId>
  1364. </exclusion>
  1365. </exclusions>
  1366. </dependency>
  1367. <dependency>
  1368. <groupId>com.jayway.jsonpath</groupId>
  1369. <artifactId>json-path</artifactId>
  1370. <version>${json-path.version}</version>
  1371. <scope>test</scope>
  1372. </dependency>
  1373. <dependency>
  1374. <groupId>com.jayway.jsonpath</groupId>
  1375. <artifactId>json-path-assert</artifactId>
  1376. <version>${json-path.version}</version>
  1377. <scope>test</scope>
  1378. </dependency>
  1379. <dependency>
  1380. <groupId>io.netty</groupId>
  1381. <artifactId>netty-all</artifactId>
  1382. <version>${netty.version}</version>
  1383. </dependency>
  1384. <dependency>
  1385. <groupId>io.netty</groupId>
  1386. <artifactId>netty-tcnative-boringssl-static</artifactId>
  1387. <version>${netty-tcnative.version}</version>
  1388. </dependency>
  1389. <dependency>
  1390. <groupId>io.netty</groupId>
  1391. <artifactId>netty-tcnative-classes</artifactId>
  1392. <version>${netty-tcnative.version}</version>
  1393. </dependency>
  1394. <dependency>
  1395. <groupId>io.netty</groupId>
  1396. <artifactId>netty-buffer</artifactId>
  1397. <version>${netty.version}</version>
  1398. </dependency>
  1399. <dependency>
  1400. <groupId>io.netty</groupId>
  1401. <artifactId>netty-codec</artifactId>
  1402. <version>${netty.version}</version>
  1403. </dependency>
  1404. <dependency>
  1405. <groupId>io.netty</groupId>
  1406. <artifactId>netty-codec-http</artifactId>
  1407. <version>${netty.version}</version>
  1408. </dependency>
  1409. <dependency>
  1410. <groupId>io.netty</groupId>
  1411. <artifactId>netty-codec-http2</artifactId>
  1412. <version>${netty.version}</version>
  1413. </dependency>
  1414. <dependency>
  1415. <groupId>io.netty</groupId>
  1416. <artifactId>netty-codec-mqtt</artifactId>
  1417. <version>${netty.version}</version>
  1418. </dependency>
  1419. <dependency>
  1420. <groupId>io.netty</groupId>
  1421. <artifactId>netty-codec-socks</artifactId>
  1422. <version>${netty.version}</version>
  1423. </dependency>
  1424. <dependency>
  1425. <groupId>io.netty</groupId>
  1426. <artifactId>netty-common</artifactId>
  1427. <version>${netty.version}</version>
  1428. </dependency>
  1429. <dependency>
  1430. <groupId>io.netty</groupId>
  1431. <artifactId>netty-handler</artifactId>
  1432. <version>${netty.version}</version>
  1433. </dependency>
  1434. <dependency>
  1435. <groupId>io.netty</groupId>
  1436. <artifactId>netty-handler-proxy</artifactId>
  1437. <version>${netty.version}</version>
  1438. </dependency>
  1439. <dependency>
  1440. <groupId>io.netty</groupId>
  1441. <artifactId>netty-resolver</artifactId>
  1442. <version>${netty.version}</version>
  1443. </dependency>
  1444. <dependency>
  1445. <groupId>io.netty</groupId>
  1446. <artifactId>netty-transport</artifactId>
  1447. <version>${netty.version}</version>
  1448. </dependency>
  1449. <dependency> <!-- brought by com.microsoft.azure:azure-servicebus -->
  1450. <groupId>io.netty</groupId>
  1451. <artifactId>netty-transport-native-epoll</artifactId>
  1452. <version>${netty.version}</version>
  1453. <classifier>linux-x86_64</classifier>
  1454. </dependency>
  1455. <dependency> <!-- brought by com.microsoft.azure:azure-servicebus -->
  1456. <groupId>io.netty</groupId>
  1457. <artifactId>netty-transport-native-kqueue</artifactId>
  1458. <version>${netty.version}</version>
  1459. <classifier>osx-x86_64</classifier>
  1460. </dependency>
  1461. <dependency>
  1462. <groupId>io.netty</groupId>
  1463. <artifactId>netty-transport-native-unix-common</artifactId>
  1464. <version>${netty.version}</version>
  1465. </dependency>
  1466. <dependency>
  1467. <groupId>com.datastax.oss</groupId>
  1468. <artifactId>java-driver-core</artifactId>
  1469. <version>${cassandra.version}</version>
  1470. </dependency>
  1471. <dependency>
  1472. <groupId>com.datastax.oss</groupId>
  1473. <artifactId>java-driver-query-builder</artifactId>
  1474. <version>${cassandra.version}</version>
  1475. </dependency>
  1476. <dependency>
  1477. <groupId>com.datastax.cassandra</groupId>
  1478. <artifactId>cassandra-driver-core</artifactId>
  1479. <version>${cassandra-driver-core.version}</version>
  1480. </dependency>
  1481. <dependency>
  1482. <groupId>io.dropwizard.metrics</groupId>
  1483. <artifactId>metrics-jmx</artifactId>
  1484. <version>${metrics.version}</version>
  1485. </dependency>
  1486. <dependency>
  1487. <groupId>org.apache.commons</groupId>
  1488. <artifactId>commons-lang3</artifactId>
  1489. <version>${commons-lang3.version}</version>
  1490. </dependency>
  1491. <dependency>
  1492. <groupId>commons-io</groupId>
  1493. <artifactId>commons-io</artifactId>
  1494. <version>${commons-io.version}</version>
  1495. </dependency>
  1496. <dependency>
  1497. <groupId>commons-codec</groupId>
  1498. <artifactId>commons-codec</artifactId>
  1499. <version>${commons-codec.version}</version>
  1500. </dependency>
  1501. <dependency>
  1502. <groupId>commons-logging</groupId>
  1503. <artifactId>commons-logging</artifactId>
  1504. <version>${commons-logging.version}</version>
  1505. </dependency>
  1506. <dependency>
  1507. <groupId>org.apache.commons</groupId>
  1508. <artifactId>commons-csv</artifactId>
  1509. <version>${commons-csv.version}</version>
  1510. </dependency>
  1511. <dependency>
  1512. <groupId>org.apache.httpcomponents</groupId>
  1513. <artifactId>httpclient</artifactId>
  1514. <version>${apache-httpclient.version}</version>
  1515. </dependency>
  1516. <dependency>
  1517. <groupId>org.apache.httpcomponents</groupId>
  1518. <artifactId>httpcore</artifactId>
  1519. <version>${apache-httpcore.version}</version>
  1520. </dependency>
  1521. <dependency>
  1522. <groupId>joda-time</groupId>
  1523. <artifactId>joda-time</artifactId>
  1524. <version>${joda-time.version}</version>
  1525. </dependency>
  1526. <dependency>
  1527. <groupId>com.fasterxml.jackson.core</groupId>
  1528. <artifactId>jackson-databind</artifactId>
  1529. <version>${jackson.version}</version>
  1530. </dependency>
  1531. <dependency>
  1532. <groupId>com.fasterxml.jackson.core</groupId>
  1533. <artifactId>jackson-core</artifactId>
  1534. <version>${jackson.version}</version>
  1535. </dependency>
  1536. <dependency>
  1537. <groupId>com.fasterxml.jackson.core</groupId>
  1538. <artifactId>jackson-annotations</artifactId>
  1539. <version>${jackson.version}</version>
  1540. </dependency>
  1541. <dependency>
  1542. <groupId>com.fasterxml.jackson.dataformat</groupId>
  1543. <artifactId>jackson-dataformat-cbor</artifactId>
  1544. <version>${jackson.version}</version>
  1545. </dependency>
  1546. <dependency>
  1547. <groupId>com.fasterxml.jackson.datatype</groupId>
  1548. <artifactId>jackson-datatype-jdk8</artifactId>
  1549. <version>${jackson.version}</version>
  1550. </dependency>
  1551. <dependency>
  1552. <groupId>com.fasterxml.jackson.datatype</groupId>
  1553. <artifactId>jackson-datatype-joda</artifactId>
  1554. <version>${jackson.version}</version>
  1555. </dependency>
  1556. <dependency>
  1557. <groupId>com.fasterxml.jackson.datatype</groupId>
  1558. <artifactId>jackson-datatype-jsr310</artifactId>
  1559. <version>${jackson.version}</version>
  1560. </dependency>
  1561. <dependency>
  1562. <groupId>com.fasterxml.jackson.module</groupId>
  1563. <artifactId>jackson-module-parameter-names</artifactId>
  1564. <version>${jackson.version}</version>
  1565. </dependency>
  1566. <dependency>
  1567. <groupId>com.fasterxml</groupId>
  1568. <artifactId>classmate</artifactId>
  1569. <version>${fasterxml-classmate.version}</version>
  1570. </dependency>
  1571. <dependency>
  1572. <groupId>com.github.fge</groupId>
  1573. <artifactId>json-schema-validator</artifactId>
  1574. <version>${json-schema-validator.version}</version>
  1575. <exclusions>
  1576. <exclusion>
  1577. <groupId>javax.mail</groupId>
  1578. <artifactId>mailapi</artifactId>
  1579. </exclusion>
  1580. </exclusions>
  1581. </dependency>
  1582. <dependency>
  1583. <groupId>org.eclipse.leshan</groupId>
  1584. <artifactId>leshan-server-cf</artifactId>
  1585. <version>${leshan.version}</version>
  1586. </dependency>
  1587. <dependency>
  1588. <groupId>org.eclipse.leshan</groupId>
  1589. <artifactId>leshan-client-cf</artifactId>
  1590. <version>${leshan.version}</version>
  1591. </dependency>
  1592. <dependency>
  1593. <groupId>org.eclipse.leshan</groupId>
  1594. <artifactId>leshan-server-redis</artifactId>
  1595. <version>${leshan.version}</version>
  1596. </dependency>
  1597. <dependency>
  1598. <groupId>org.eclipse.leshan</groupId>
  1599. <artifactId>leshan-core</artifactId>
  1600. <version>${leshan.version}</version>
  1601. </dependency>
  1602. <dependency>
  1603. <groupId>org.eclipse.californium</groupId>
  1604. <artifactId>californium-core</artifactId>
  1605. <version>${californium.version}</version>
  1606. <type>test-jar</type>
  1607. <scope>test</scope>
  1608. </dependency>
  1609. <dependency>
  1610. <groupId>org.eclipse.californium</groupId>
  1611. <artifactId>californium-core</artifactId>
  1612. <version>${californium.version}</version>
  1613. </dependency>
  1614. <dependency>
  1615. <groupId>org.eclipse.californium</groupId>
  1616. <artifactId>element-connector</artifactId>
  1617. <version>${californium.version}</version>
  1618. <type>test-jar</type>
  1619. <scope>test</scope>
  1620. </dependency>
  1621. <dependency>
  1622. <groupId>org.eclipse.californium</groupId>
  1623. <artifactId>scandium</artifactId>
  1624. <version>${californium.version}</version>
  1625. </dependency>
  1626. <dependency>
  1627. <groupId>com.google.code.gson</groupId>
  1628. <artifactId>gson</artifactId>
  1629. <version>${gson.version}</version>
  1630. </dependency>
  1631. <dependency>
  1632. <groupId>org.slf4j</groupId>
  1633. <artifactId>slf4j-api</artifactId>
  1634. <version>${slf4j.version}</version>
  1635. </dependency>
  1636. <dependency>
  1637. <groupId>org.slf4j</groupId>
  1638. <artifactId>log4j-over-slf4j</artifactId>
  1639. <version>${slf4j.version}</version>
  1640. </dependency>
  1641. <dependency>
  1642. <groupId>org.slf4j</groupId>
  1643. <artifactId>jul-to-slf4j</artifactId>
  1644. <version>${slf4j.version}</version>
  1645. </dependency>
  1646. <dependency>
  1647. <groupId>org.apache.logging.log4j</groupId>
  1648. <artifactId>log4j-api</artifactId>
  1649. <version>${log4j.version}</version>
  1650. </dependency>
  1651. <dependency>
  1652. <groupId>org.apache.logging.log4j</groupId>
  1653. <artifactId>log4j-core</artifactId>
  1654. <version>${log4j.version}</version>
  1655. </dependency>
  1656. <dependency>
  1657. <groupId>org.apache.logging.log4j</groupId>
  1658. <artifactId>log4j-to-slf4j</artifactId>
  1659. <version>${log4j.version}</version>
  1660. </dependency>
  1661. <dependency>
  1662. <groupId>ch.qos.logback</groupId>
  1663. <artifactId>logback-core</artifactId>
  1664. <version>${logback.version}</version>
  1665. </dependency>
  1666. <dependency>
  1667. <groupId>ch.qos.logback</groupId>
  1668. <artifactId>logback-classic</artifactId>
  1669. <version>${logback.version}</version>
  1670. </dependency>
  1671. <dependency>
  1672. <groupId>com.google.guava</groupId>
  1673. <artifactId>guava</artifactId>
  1674. <version>${guava.version}</version>
  1675. </dependency>
  1676. <dependency>
  1677. <groupId>com.github.ben-manes.caffeine</groupId>
  1678. <artifactId>caffeine</artifactId>
  1679. <version>${caffeine.version}</version>
  1680. </dependency>
  1681. <dependency>
  1682. <groupId>com.google.protobuf</groupId>
  1683. <artifactId>protobuf-java</artifactId>
  1684. <version>${protobuf.version}</version>
  1685. </dependency>
  1686. <dependency>
  1687. <groupId>com.google.protobuf</groupId>
  1688. <artifactId>protobuf-java-util</artifactId>
  1689. <version>${protobuf.version}</version>
  1690. </dependency>
  1691. <dependency>
  1692. <groupId>io.grpc</groupId>
  1693. <artifactId>grpc-netty-shaded</artifactId>
  1694. <version>${grpc.version}</version>
  1695. </dependency>
  1696. <dependency>
  1697. <groupId>io.grpc</groupId>
  1698. <artifactId>grpc-protobuf</artifactId>
  1699. <version>${grpc.version}</version>
  1700. </dependency>
  1701. <dependency>
  1702. <groupId>io.grpc</groupId>
  1703. <artifactId>grpc-stub</artifactId>
  1704. <version>${grpc.version}</version>
  1705. </dependency>
  1706. <dependency>
  1707. <groupId>io.grpc</groupId>
  1708. <artifactId>grpc-alts</artifactId>
  1709. <version>${grpc.version}</version>
  1710. </dependency>
  1711. <dependency>
  1712. <groupId>io.grpc</groupId>
  1713. <artifactId>grpc-auth</artifactId>
  1714. <version>${grpc.version}</version>
  1715. </dependency>
  1716. <dependency>
  1717. <groupId>io.grpc</groupId>
  1718. <artifactId>grpc-api</artifactId>
  1719. <version>${grpc.version}</version>
  1720. </dependency>
  1721. <dependency>
  1722. <groupId>org.springframework</groupId>
  1723. <artifactId>spring-test</artifactId>
  1724. <version>${spring.version}</version>
  1725. <scope>test</scope>
  1726. </dependency>
  1727. <dependency>
  1728. <groupId>io.takari.junit</groupId>
  1729. <artifactId>takari-cpsuite</artifactId>
  1730. <version>${takari-cpsuite.version}</version>
  1731. <scope>test</scope>
  1732. <exclusions>
  1733. <exclusion>
  1734. <groupId>junit</groupId>
  1735. <artifactId>junit</artifactId>
  1736. </exclusion>
  1737. </exclusions>
  1738. </dependency>
  1739. <dependency>
  1740. <groupId>org.cassandraunit</groupId>
  1741. <artifactId>cassandra-unit</artifactId>
  1742. <version>${cassandra-unit.version}</version>
  1743. <scope>test</scope>
  1744. <exclusions>
  1745. <exclusion>
  1746. <groupId>junit</groupId>
  1747. <artifactId>junit</artifactId>
  1748. </exclusion>
  1749. <exclusion>
  1750. <groupId>org.hamcrest</groupId>
  1751. <artifactId>hamcrest-core</artifactId>
  1752. </exclusion>
  1753. <exclusion>
  1754. <groupId>org.hamcrest</groupId>
  1755. <artifactId>hamcrest-library</artifactId>
  1756. </exclusion>
  1757. </exclusions>
  1758. </dependency>
  1759. <dependency>
  1760. <groupId>org.apache.cassandra</groupId>
  1761. <artifactId>cassandra-all</artifactId>
  1762. <version>${cassandra-all.version}</version>
  1763. </dependency>
  1764. <dependency>
  1765. <groupId>org.junit.vintage</groupId>
  1766. <artifactId>junit-vintage-engine</artifactId>
  1767. <version>${jupiter.version}</version>
  1768. <scope>test</scope>
  1769. <exclusions>
  1770. <exclusion>
  1771. <groupId>org.hamcrest</groupId>
  1772. <artifactId>hamcrest-core</artifactId>
  1773. </exclusion>
  1774. </exclusions>
  1775. </dependency>
  1776. <dependency>
  1777. <groupId>org.awaitility</groupId>
  1778. <artifactId>awaitility</artifactId>
  1779. <version>${awaitility.version}</version>
  1780. <scope>test</scope>
  1781. </dependency>
  1782. <dependency>
  1783. <groupId>org.dbunit</groupId>
  1784. <artifactId>dbunit</artifactId>
  1785. <version>${dbunit.version}</version>
  1786. <scope>test</scope>
  1787. </dependency>
  1788. <dependency>
  1789. <groupId>org.projectlombok</groupId>
  1790. <artifactId>lombok</artifactId>
  1791. <version>${lombok.version}</version>
  1792. <scope>provided</scope>
  1793. </dependency>
  1794. <dependency>
  1795. <groupId>org.eclipse.paho</groupId>
  1796. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  1797. <version>${paho.client.version}</version>
  1798. </dependency>
  1799. <dependency>
  1800. <groupId>org.apache.curator</groupId>
  1801. <artifactId>curator-x-discovery</artifactId>
  1802. <version>${curator.version}</version>
  1803. </dependency>
  1804. <dependency>
  1805. <groupId>org.thingsboard</groupId>
  1806. <artifactId>springfox-boot-starter</artifactId>
  1807. <version>${springfox-swagger.version}</version>
  1808. </dependency>
  1809. <dependency>
  1810. <groupId>io.swagger</groupId>
  1811. <artifactId>swagger-annotations</artifactId>
  1812. <version>${swagger-annotations.version}</version>
  1813. </dependency>
  1814. <dependency>
  1815. <groupId>org.bouncycastle</groupId>
  1816. <artifactId>bcprov-jdk15on</artifactId>
  1817. <version>${bouncycastle.version}</version>
  1818. </dependency>
  1819. <dependency>
  1820. <groupId>org.bouncycastle</groupId>
  1821. <artifactId>bcpkix-jdk15on</artifactId>
  1822. <version>${bouncycastle.version}</version>
  1823. </dependency>
  1824. <dependency>
  1825. <groupId>org.hsqldb</groupId>
  1826. <artifactId>hsqldb</artifactId>
  1827. <version>${hsqldb.version}</version>
  1828. </dependency>
  1829. <dependency>
  1830. <groupId>org.testcontainers</groupId>
  1831. <artifactId>postgresql</artifactId>
  1832. <version>${testcontainers.version}</version>
  1833. <scope>test</scope>
  1834. </dependency>
  1835. <dependency>
  1836. <groupId>org.testcontainers</groupId>
  1837. <artifactId>jdbc</artifactId>
  1838. <version>${testcontainers.version}</version>
  1839. <scope>test</scope>
  1840. </dependency>
  1841. <dependency>
  1842. <groupId>org.springframework.data</groupId>
  1843. <artifactId>spring-data-redis</artifactId>
  1844. <version>${spring-data-redis.version}</version>
  1845. </dependency>
  1846. <dependency>
  1847. <groupId>org.springframework.integration</groupId>
  1848. <artifactId>spring-integration-redis</artifactId>
  1849. <version>${spring-redis.version}</version>
  1850. </dependency>
  1851. <dependency>
  1852. <groupId>redis.clients</groupId>
  1853. <artifactId>jedis</artifactId>
  1854. <version>${jedis.version}</version>
  1855. </dependency>
  1856. <dependency>
  1857. <groupId>com.sun.winsw</groupId>
  1858. <artifactId>winsw</artifactId>
  1859. <version>${winsw.version}</version>
  1860. <classifier>bin</classifier>
  1861. <type>exe</type>
  1862. <scope>provided</scope>
  1863. </dependency>
  1864. <dependency>
  1865. <groupId>org.elasticsearch.client</groupId>
  1866. <artifactId>rest</artifactId>
  1867. <version>${elasticsearch.version}</version>
  1868. </dependency>
  1869. <dependency>
  1870. <groupId>org.javadelight</groupId>
  1871. <artifactId>delight-nashorn-sandbox</artifactId>
  1872. <version>${delight-nashorn-sandbox.version}</version>
  1873. </dependency>
  1874. <dependency>
  1875. <groupId>com.github.vladimir-bukhtoyarov</groupId>
  1876. <artifactId>bucket4j-core</artifactId>
  1877. <version>${bucket4j.version}</version>
  1878. </dependency>
  1879. <dependency>
  1880. <groupId>de.ruedigermoeller</groupId>
  1881. <artifactId>fst</artifactId>
  1882. <version>${fst.version}</version>
  1883. </dependency>
  1884. <dependency>
  1885. <groupId>org.locationtech.spatial4j</groupId>
  1886. <artifactId>spatial4j</artifactId>
  1887. <version>${spatial4j.version}</version>
  1888. </dependency>
  1889. <dependency>
  1890. <groupId>org.locationtech.jts</groupId>
  1891. <artifactId>jts-core</artifactId>
  1892. <version>${jts.version}</version>
  1893. </dependency>
  1894. <dependency>
  1895. <groupId>com.amazonaws</groupId>
  1896. <artifactId>aws-java-sdk-sqs</artifactId>
  1897. <version>${aws.sdk.version}</version>
  1898. </dependency>
  1899. <dependency>
  1900. <groupId>com.amazonaws</groupId>
  1901. <artifactId>aws-java-sdk-sns</artifactId>
  1902. <version>${aws.sdk.version}</version>
  1903. </dependency>
  1904. <dependency>
  1905. <groupId>com.google.cloud</groupId>
  1906. <artifactId>google-cloud-pubsub</artifactId>
  1907. <version>${pubsub.client.version}</version>
  1908. </dependency>
  1909. <dependency>
  1910. <groupId>com.google.api.grpc</groupId>
  1911. <artifactId>proto-google-common-protos</artifactId>
  1912. <version>${google.common.protos.version}</version>
  1913. </dependency>
  1914. <dependency>
  1915. <groupId>com.microsoft.azure</groupId>
  1916. <artifactId>azure-servicebus</artifactId>
  1917. <version>${azure-servicebus.version}</version>
  1918. </dependency>
  1919. <dependency>
  1920. <groupId>org.passay</groupId>
  1921. <artifactId>passay</artifactId>
  1922. <version>${passay.version}</version>
  1923. </dependency>
  1924. <dependency>
  1925. <groupId>com.github.ua-parser</groupId>
  1926. <artifactId>uap-java</artifactId>
  1927. <version>${ua-parser.version}</version>
  1928. </dependency>
  1929. <dependency>
  1930. <groupId>commons-beanutils</groupId>
  1931. <artifactId>commons-beanutils</artifactId>
  1932. <version>${commons-beanutils.version}</version>
  1933. </dependency>
  1934. <dependency>
  1935. <groupId>commons-collections</groupId>
  1936. <artifactId>commons-collections</artifactId>
  1937. <version>${commons-collections.version}</version>
  1938. </dependency>
  1939. <dependency>
  1940. <groupId>org.java-websocket</groupId>
  1941. <artifactId>Java-WebSocket</artifactId>
  1942. <version>${java-websocket.version}</version>
  1943. <scope>test</scope>
  1944. </dependency>
  1945. <dependency>
  1946. <groupId>org.springframework.boot</groupId>
  1947. <artifactId>spring-boot-starter-actuator</artifactId>
  1948. <version>${spring-boot.version}</version>
  1949. </dependency>
  1950. <dependency>
  1951. <groupId>io.micrometer</groupId>
  1952. <artifactId>micrometer-core</artifactId>
  1953. <version>${micrometer.version}</version>
  1954. </dependency>
  1955. <dependency>
  1956. <groupId>io.micrometer</groupId>
  1957. <artifactId>micrometer-registry-prometheus</artifactId>
  1958. <version>${micrometer.version}</version>
  1959. </dependency>
  1960. <dependency>
  1961. <groupId>org.thingsboard</groupId>
  1962. <artifactId>protobuf-dynamic</artifactId>
  1963. <version>${protobuf-dynamic.version}</version>
  1964. </dependency>
  1965. <dependency>
  1966. <groupId>com.squareup.wire</groupId>
  1967. <artifactId>wire-schema</artifactId>
  1968. <version>${wire-schema.version}</version>
  1969. </dependency>
  1970. <dependency>
  1971. <groupId>com.twilio.sdk</groupId>
  1972. <artifactId>twilio</artifactId>
  1973. <version>${twilio.version}</version>
  1974. <exclusions>
  1975. <exclusion>
  1976. <groupId>io.jsonwebtoken</groupId>
  1977. <artifactId>jjwt-api</artifactId>
  1978. </exclusion>
  1979. <exclusion>
  1980. <groupId>io.jsonwebtoken</groupId>
  1981. <artifactId>jjwt-jackson</artifactId>
  1982. </exclusion>
  1983. <exclusion>
  1984. <groupId>io.jsonwebtoken</groupId>
  1985. <artifactId>jjwt-impl</artifactId>
  1986. </exclusion>
  1987. </exclusions>
  1988. </dependency>
  1989. <dependency>
  1990. <groupId>org.hibernate.validator</groupId>
  1991. <artifactId>hibernate-validator</artifactId>
  1992. <version>${hibernate-validator.version}</version>
  1993. </dependency>
  1994. <dependency>
  1995. <groupId>org.glassfish</groupId>
  1996. <artifactId>javax.el</artifactId>
  1997. <version>${javax.el.version}</version>
  1998. </dependency>
  1999. <dependency>
  2000. <groupId>javax.validation</groupId>
  2001. <artifactId>validation-api</artifactId>
  2002. <version>${javax.validation-api.version}</version>
  2003. </dependency>
  2004. <dependency>
  2005. <groupId>org.owasp.antisamy</groupId>
  2006. <artifactId>antisamy</artifactId>
  2007. <version>${antisamy.version}</version>
  2008. <exclusions>
  2009. <exclusion>
  2010. <groupId>org.slf4j</groupId>
  2011. <artifactId>*</artifactId>
  2012. </exclusion>
  2013. <exclusion>
  2014. <groupId>com.github.spotbugs</groupId>
  2015. <artifactId>spotbugs-annotations</artifactId>
  2016. </exclusion>
  2017. </exclusions>
  2018. </dependency>
  2019. <dependency>
  2020. <groupId>org.snmp4j</groupId>
  2021. <artifactId>snmp4j</artifactId>
  2022. <version>${snmp4j.version}</version>
  2023. </dependency>
  2024. <dependency>
  2025. <groupId>org.testcontainers</groupId>
  2026. <artifactId>testcontainers</artifactId>
  2027. <version>${testcontainers.version}</version>
  2028. <scope>test</scope>
  2029. <exclusions>
  2030. <exclusion>
  2031. <groupId>junit</groupId>
  2032. <artifactId>junit</artifactId>
  2033. </exclusion>
  2034. </exclusions>
  2035. </dependency>
  2036. <dependency>
  2037. <groupId>org.zeroturnaround</groupId>
  2038. <artifactId>zt-exec</artifactId>
  2039. <version>${zeroturnaround.version}</version>
  2040. <scope>test</scope>
  2041. </dependency>
  2042. </dependencies>
  2043. </dependencyManagement>
  2044. <distributionManagement>
  2045. <repository>
  2046. <id>toflylinks-repo-deploy</id>
  2047. <name>ThingsBoard Repo Deployment</name>
  2048. <url>https://repo.toflylinks.io/artifactory/libs-release-public</url>
  2049. </repository>
  2050. </distributionManagement>
  2051. <repositories>
  2052. <repository>
  2053. <id>central</id>
  2054. <url>https://repo1.maven.org/maven2/</url>
  2055. </repository>
  2056. <repository>
  2057. <id>spring-snapshots</id>
  2058. <name>Spring Snapshots</name>
  2059. <url>https://repo.spring.io/snapshot</url>
  2060. <snapshots>
  2061. <enabled>true</enabled>
  2062. </snapshots>
  2063. </repository>
  2064. <repository>
  2065. <id>spring-milestones</id>
  2066. <name>Spring Milestones</name>
  2067. <url>https://repo.spring.io/milestone</url>
  2068. <snapshots>
  2069. <enabled>false</enabled>
  2070. </snapshots>
  2071. </repository>
  2072. <repository>
  2073. <id>typesafe</id>
  2074. <name>Typesafe Repository</name>
  2075. <url>https://repo.typesafe.com/typesafe/releases/</url>
  2076. </repository>
  2077. <repository>
  2078. <id>sonatype</id>
  2079. <url>https://oss.sonatype.org/content/groups/public</url>
  2080. </repository>
  2081. </repositories>
  2082. </project>