pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <!--
  2. Copyright © 2016-2022 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>1.0.0-SNAPSHOT</version>
  19. <artifactId>transport</artifactId>
  20. </parent>
  21. <groupId>org.thingsboard.transport</groupId>
  22. <artifactId>lwm2m</artifactId>
  23. <packaging>jar</packaging>
  24. <name>Thingsboard LwM2m Transport Service</name>
  25. <url>https://thingsboard.io</url>
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <main.dir>${basedir}/../..</main.dir>
  29. <pkg.type>java</pkg.type>
  30. <pkg.disabled>false</pkg.disabled>
  31. <pkg.process-resources.phase>process-resources</pkg.process-resources.phase>
  32. <pkg.package.phase>package</pkg.package.phase>
  33. <pkg.name>tb-lwm2m-transport</pkg.name>
  34. <pkg.copyInstallScripts>false</pkg.copyInstallScripts>
  35. <pkg.win.dist>${project.build.directory}/windows</pkg.win.dist>
  36. <pkg.implementationTitle>ThingsBoard LwM2m Transport Service</pkg.implementationTitle>
  37. <pkg.mainClass>org.thingsboard.server.lwm2m.ThingsboardLwm2mTransportApplication</pkg.mainClass>
  38. </properties>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.thingsboard.common.transport</groupId>
  46. <artifactId>lwm2m</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.thingsboard.common</groupId>
  50. <artifactId>queue</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.thingsboard.common</groupId>
  54. <artifactId>cache</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-context-support</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-context</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-api</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>log4j-over-slf4j</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>ch.qos.logback</groupId>
  74. <artifactId>logback-core</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>ch.qos.logback</groupId>
  78. <artifactId>logback-classic</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.eclipse.leshan</groupId>
  82. <artifactId>leshan-server-cf</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.eclipse.leshan</groupId>
  86. <artifactId>leshan-client-cf</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.eclipse.leshan</groupId>
  90. <artifactId>leshan-server-redis</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-test</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.junit.vintage</groupId>
  99. <artifactId>junit-vintage-engine</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.awaitility</groupId>
  104. <artifactId>awaitility</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.eclipse.californium</groupId>
  109. <artifactId>californium-core</artifactId>
  110. <type>test-jar</type>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.eclipse.californium</groupId>
  115. <artifactId>californium-core</artifactId>
  116. </dependency>
  117. <!-- <dependency>-->
  118. <!-- <groupId>org.eclipse.californium</groupId>-->
  119. <!-- <artifactId>scandium</artifactId>-->
  120. <!-- </dependency>-->
  121. <dependency>
  122. <groupId>org.eclipse.californium</groupId>
  123. <artifactId>element-connector</artifactId>
  124. <type>test-jar</type>
  125. <scope>test</scope>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <finalName>${pkg.name}-${project.version}</finalName>
  130. <resources>
  131. <resource>
  132. <directory>${project.basedir}/src/main/resources</directory>
  133. </resource>
  134. </resources>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-resources-plugin</artifactId>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-dependency-plugin</artifactId>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-jar-plugin</artifactId>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-maven-plugin</artifactId>
  151. </plugin>
  152. <!--<plugin>
  153. <groupId>org.thingsboard</groupId>
  154. <artifactId>gradle-maven-plugin</artifactId>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-assembly-plugin</artifactId>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-install-plugin</artifactId>
  163. </plugin>-->
  164. </plugins>
  165. </build>
  166. <repositories>
  167. <repository>
  168. <id>jenkins</id>
  169. <name>Jenkins Repository</name>
  170. <url>https://repo.jenkins-ci.org/releases</url>
  171. <snapshots>
  172. <enabled>false</enabled>
  173. </snapshots>
  174. </repository>
  175. </repositories>
  176. </project>