pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <!--
  2. Copyright © 2016-2023 The Thingsboard 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. <parent>
  17. <groupId>org.thingsboard</groupId>
  18. <version>3.6.1-SNAPSHOT</version>
  19. <artifactId>thingsboard</artifactId>
  20. </parent>
  21. <artifactId>application</artifactId>
  22. <packaging>jar</packaging>
  23. <name>ThingsBoard Server Application</name>
  24. <url>https://thingsboard.io</url>
  25. <description>Open-source IoT Platform - Device management, data collection, processing and visualization
  26. </description>
  27. <properties>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <main.dir>${basedir}/..</main.dir>
  30. <pkg.type>java</pkg.type>
  31. <pkg.disabled>false</pkg.disabled>
  32. <pkg.process-resources.phase>process-resources</pkg.process-resources.phase>
  33. <pkg.package.phase>package</pkg.package.phase>
  34. <pkg.name>thingsboard</pkg.name>
  35. <pkg.win.dist>${project.build.directory}/windows</pkg.win.dist>
  36. <pkg.copyInstallScripts>true</pkg.copyInstallScripts>
  37. <pkg.implementationTitle>ThingsBoard</pkg.implementationTitle>
  38. <pkg.mainClass>org.thingsboard.server.ThingsboardServerApplication</pkg.mainClass>
  39. </properties>
  40. <dependencies>
  41. <dependency>
  42. <groupId>io.netty</groupId>
  43. <artifactId>netty-transport-native-epoll</artifactId>
  44. <version>${netty.version}</version>
  45. <!-- Explicitly bring in the linux classifier, test may fail on 32-bit linux -->
  46. <classifier>linux-x86_64</classifier>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.thingsboard.common</groupId>
  50. <artifactId>actor</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.thingsboard.common</groupId>
  54. <artifactId>util</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.thingsboard.rule-engine</groupId>
  58. <artifactId>rule-engine-api</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.thingsboard.common</groupId>
  62. <artifactId>cluster-api</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.thingsboard.common</groupId>
  66. <artifactId>version-control</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.thingsboard.rule-engine</groupId>
  70. <artifactId>rule-engine-components</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.thingsboard.common.transport</groupId>
  74. <artifactId>transport-api</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.thingsboard.common.transport</groupId>
  78. <artifactId>mqtt</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.thingsboard.common.transport</groupId>
  82. <artifactId>http</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.thingsboard.common.transport</groupId>
  86. <artifactId>coap</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.thingsboard.common.transport</groupId>
  90. <artifactId>lwm2m</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.thingsboard.common.transport</groupId>
  94. <artifactId>snmp</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.thingsboard</groupId>
  98. <artifactId>dao</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.thingsboard.common</groupId>
  102. <artifactId>queue</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.thingsboard.common.script</groupId>
  106. <artifactId>script-api</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.thingsboard.common.script</groupId>
  110. <artifactId>remote-js-client</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.thingsboard.common</groupId>
  114. <artifactId>stats</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.thingsboard.common</groupId>
  118. <artifactId>edge-api</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.thingsboard</groupId>
  122. <artifactId>dao</artifactId>
  123. <type>test-jar</type>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>io.takari.junit</groupId>
  128. <artifactId>takari-cpsuite</artifactId>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.eclipse.paho</groupId>
  133. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.eclipse.paho</groupId>
  137. <artifactId>org.eclipse.paho.mqttv5.client</artifactId>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.thingsboard</groupId>
  141. <artifactId>ui-ngx</artifactId>
  142. <version>${project.version}</version>
  143. <scope>runtime</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.integration</groupId>
  147. <artifactId>spring-integration-redis</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-security</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-web</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-websocket</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework.security</groupId>
  163. <artifactId>spring-security-oauth2-client</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.security</groupId>
  167. <artifactId>spring-security-oauth2-jose</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.jsonwebtoken</groupId>
  171. <artifactId>jjwt</artifactId>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.freemarker</groupId>
  175. <artifactId>freemarker</artifactId>
  176. </dependency>
  177. <dependency>
  178. <groupId>commons-io</groupId>
  179. <artifactId>commons-io</artifactId>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.commons</groupId>
  183. <artifactId>commons-csv</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.springframework</groupId>
  187. <artifactId>spring-context-support</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.slf4j</groupId>
  191. <artifactId>slf4j-api</artifactId>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.slf4j</groupId>
  195. <artifactId>log4j-over-slf4j</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>ch.qos.logback</groupId>
  199. <artifactId>logback-core</artifactId>
  200. </dependency>
  201. <dependency>
  202. <groupId>ch.qos.logback</groupId>
  203. <artifactId>logback-classic</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.sun.mail</groupId>
  207. <artifactId>javax.mail</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.twilio.sdk</groupId>
  211. <artifactId>twilio</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.amazonaws</groupId>
  215. <artifactId>aws-java-sdk-sns</artifactId>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.curator</groupId>
  219. <artifactId>curator-recipes</artifactId>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.google.protobuf</groupId>
  223. <artifactId>protobuf-java</artifactId>
  224. </dependency>
  225. <dependency>
  226. <groupId>io.netty</groupId>
  227. <artifactId>netty-all</artifactId>
  228. </dependency>
  229. <dependency>
  230. <groupId>io.netty</groupId>
  231. <artifactId>netty-tcnative-boringssl-static</artifactId>
  232. </dependency>
  233. <dependency>
  234. <groupId>io.grpc</groupId>
  235. <artifactId>grpc-netty-shaded</artifactId>
  236. </dependency>
  237. <dependency>
  238. <groupId>io.grpc</groupId>
  239. <artifactId>grpc-protobuf</artifactId>
  240. </dependency>
  241. <dependency>
  242. <groupId>io.grpc</groupId>
  243. <artifactId>grpc-stub</artifactId>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.opensmpp</groupId>
  247. <artifactId>opensmpp-core</artifactId>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.thingsboard</groupId>
  251. <artifactId>springfox-boot-starter</artifactId>
  252. </dependency>
  253. <dependency>
  254. <groupId>com.sun.winsw</groupId>
  255. <artifactId>winsw</artifactId>
  256. <classifier>bin</classifier>
  257. <type>exe</type>
  258. <scope>provided</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.thingsboard</groupId>
  262. <artifactId>tools</artifactId>
  263. <scope>test</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.thingsboard</groupId>
  267. <artifactId>rest-client</artifactId>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.springframework.security</groupId>
  272. <artifactId>spring-security-test</artifactId>
  273. <scope>test</scope>
  274. </dependency>
  275. <dependency>
  276. <groupId>com.jayway.jsonpath</groupId>
  277. <artifactId>json-path</artifactId>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.jayway.jsonpath</groupId>
  281. <artifactId>json-path-assert</artifactId>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.springframework.boot</groupId>
  286. <artifactId>spring-boot-starter-test</artifactId>
  287. <scope>test</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.junit.vintage</groupId>
  291. <artifactId>junit-vintage-engine</artifactId>
  292. <scope>test</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.awaitility</groupId>
  296. <artifactId>awaitility</artifactId>
  297. <scope>test</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.dbunit</groupId>
  301. <artifactId>dbunit</artifactId>
  302. <scope>test</scope>
  303. </dependency>
  304. <dependency>
  305. <groupId>com.github.springtestdbunit</groupId>
  306. <artifactId>spring-test-dbunit</artifactId>
  307. <scope>test</scope>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.testcontainers</groupId>
  311. <artifactId>cassandra</artifactId>
  312. <scope>test</scope>
  313. </dependency>
  314. <dependency>
  315. <groupId>org.testcontainers</groupId>
  316. <artifactId>postgresql</artifactId>
  317. <scope>test</scope>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.testcontainers</groupId>
  321. <artifactId>jdbc</artifactId>
  322. <scope>test</scope>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.javadelight</groupId>
  326. <artifactId>delight-nashorn-sandbox</artifactId>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.passay</groupId>
  330. <artifactId>passay</artifactId>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.github.ua-parser</groupId>
  334. <artifactId>uap-java</artifactId>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.java-websocket</groupId>
  338. <artifactId>Java-WebSocket</artifactId>
  339. <scope>test</scope>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.jboss.aerogear</groupId>
  343. <artifactId>aerogear-otp-java</artifactId>
  344. </dependency>
  345. <dependency>
  346. <groupId>com.slack.api</groupId>
  347. <artifactId>slack-api-client</artifactId>
  348. </dependency>
  349. <dependency>
  350. <groupId>com.google.oauth-client</groupId>
  351. <artifactId>google-oauth-client</artifactId>
  352. </dependency>
  353. </dependencies>
  354. <build>
  355. <finalName>${pkg.name}-${project.version}</finalName>
  356. <resources>
  357. <resource>
  358. <directory>${project.basedir}/src/main/resources</directory>
  359. <filtering>true</filtering>
  360. <includes>
  361. <include>thingsboard.yml</include>
  362. </includes>
  363. </resource>
  364. <resource>
  365. <directory>${project.basedir}/src/main/resources</directory>
  366. <filtering>false</filtering>
  367. <excludes>
  368. <exclude>thingsboard.yml</exclude>
  369. </excludes>
  370. </resource>
  371. </resources>
  372. <plugins>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-compiler-plugin</artifactId>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.apache.maven.plugins</groupId>
  379. <artifactId>maven-surefire-plugin</artifactId>
  380. <configuration>
  381. <systemPropertyVariables>
  382. <spring.config.name>thingsboard</spring.config.name>
  383. </systemPropertyVariables>
  384. <excludes>
  385. <exclude>**/nosql/*Test.java</exclude>
  386. </excludes>
  387. <includes>
  388. <include>**/*Test.java</include>
  389. <include>**/*TestSuite.java</include>
  390. </includes>
  391. </configuration>
  392. </plugin>
  393. <plugin>
  394. <groupId>org.apache.maven.plugins</groupId>
  395. <artifactId>maven-resources-plugin</artifactId>
  396. </plugin>
  397. <plugin>
  398. <groupId>org.apache.maven.plugins</groupId>
  399. <artifactId>maven-dependency-plugin</artifactId>
  400. </plugin>
  401. <plugin>
  402. <groupId>org.apache.maven.plugins</groupId>
  403. <artifactId>maven-jar-plugin</artifactId>
  404. </plugin>
  405. <plugin>
  406. <groupId>org.springframework.boot</groupId>
  407. <artifactId>spring-boot-maven-plugin</artifactId>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.thingsboard</groupId>
  411. <artifactId>gradle-maven-plugin</artifactId>
  412. </plugin>
  413. <plugin>
  414. <groupId>org.apache.maven.plugins</groupId>
  415. <artifactId>maven-assembly-plugin</artifactId>
  416. </plugin>
  417. <plugin>
  418. <groupId>org.apache.maven.plugins</groupId>
  419. <artifactId>maven-install-plugin</artifactId>
  420. </plugin>
  421. <plugin>
  422. <groupId>org.xolstice.maven.plugins</groupId>
  423. <artifactId>protobuf-maven-plugin</artifactId>
  424. </plugin>
  425. <plugin>
  426. <groupId>org.codehaus.mojo</groupId>
  427. <artifactId>build-helper-maven-plugin</artifactId>
  428. </plugin>
  429. </plugins>
  430. </build>
  431. <repositories>
  432. <repository>
  433. <id>jenkins</id>
  434. <name>Jenkins Repository</name>
  435. <url>https://repo.jenkins-ci.org/releases</url>
  436. <snapshots>
  437. <enabled>false</enabled>
  438. </snapshots>
  439. </repository>
  440. </repositories>
  441. </project>