pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <relativePath>../</relativePath>
  6. <artifactId>moquette-parent</artifactId>
  7. <groupId>io.moquette</groupId>
  8. <version>0.11-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>moquette-broker</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Moquette - broker</name>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <bintray.package>io.moquette.moquette-broker</bintray.package>
  16. </properties>
  17. <dependencies>
  18. <!--<dependency>-->
  19. <!--<groupId>${project.groupId}</groupId>-->
  20. <!--<artifactId>moquette-mapdb-storage</artifactId>-->
  21. <!--<version>${project.version}</version>-->
  22. <!--</dependency>-->
  23. <dependency>
  24. <groupId>org.slf4j</groupId>
  25. <artifactId>slf4j-api</artifactId>
  26. <version>1.7.5</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.netty</groupId>
  30. <artifactId>netty-common</artifactId>
  31. <version>${netty.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.netty</groupId>
  35. <artifactId>netty-buffer</artifactId>
  36. <version>${netty.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.netty</groupId>
  40. <artifactId>netty-transport</artifactId>
  41. <version>${netty.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>io.netty</groupId>
  45. <artifactId>netty-handler</artifactId>
  46. <version>${netty.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.netty</groupId>
  50. <artifactId>netty-codec</artifactId>
  51. <version>${netty.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.netty</groupId>
  55. <artifactId>netty-codec-http</artifactId>
  56. <version>${netty.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.netty</groupId>
  60. <artifactId>netty-codec-mqtt</artifactId>
  61. <version>${netty.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.netty</groupId>
  65. <artifactId>netty-transport-native-epoll</artifactId>
  66. <version>${netty.version}</version>
  67. <classifier>linux-x86_64</classifier>
  68. <!--
  69. <classifier>${os.detected.name}-${os.detected.arch}</classifier>
  70. -->
  71. </dependency>
  72. <dependency>
  73. <groupId>io.dropwizard.metrics</groupId>
  74. <artifactId>metrics-core</artifactId>
  75. <version>3.2.2</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.dropwizard.metrics</groupId>
  79. <artifactId>metrics-jvm</artifactId>
  80. <version>3.2.2</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.librato.metrics</groupId>
  84. <artifactId>metrics-librato</artifactId>
  85. <version>5.1.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.librato.metrics</groupId>
  89. <artifactId>librato-java</artifactId>
  90. <version>2.1.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.bugsnag</groupId>
  94. <artifactId>bugsnag</artifactId>
  95. <version>[3.0,4.0)</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-codec</groupId>
  99. <artifactId>commons-codec</artifactId>
  100. <version>1.10</version>
  101. </dependency>
  102. <!--<dependency>-->
  103. <!--<groupId>org.hdrhistogram</groupId>-->
  104. <!--<artifactId>HdrHistogram</artifactId>-->
  105. <!--<version>2.1.4</version>-->
  106. <!--</dependency>-->
  107. <dependency>
  108. <groupId>com.hazelcast</groupId>
  109. <artifactId>hazelcast</artifactId>
  110. <version>3.5.4</version>
  111. </dependency>
  112. <!-- Test dependencies -->
  113. <dependency>
  114. <groupId>junit</groupId>
  115. <artifactId>junit</artifactId>
  116. <version>4.8.2</version>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-log4j12</artifactId>
  122. <version>1.7.5</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <!-- needs extra dependencies: objenesis & hamcrest -->
  126. <dependency>
  127. <groupId>org.mockito</groupId>
  128. <artifactId>mockito-core</artifactId>
  129. <version>1.9.0</version>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.fusesource.mqtt-client</groupId>
  134. <artifactId>mqtt-client</artifactId>
  135. <version>1.12</version>
  136. <scope>test</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.eclipse.paho</groupId>
  140. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  141. <version>1.0.2</version>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.eclipse.jetty.websocket</groupId>
  146. <artifactId>websocket-client</artifactId>
  147. <version>9.2.0.M1</version>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.assertj</groupId>
  152. <artifactId>assertj-core</artifactId>
  153. <!-- use 2.6.0 for Java 7 projects -->
  154. <version>2.6.0</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.awaitility</groupId>
  159. <artifactId>awaitility</artifactId>
  160. <version>3.0.0</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.h2database</groupId>
  165. <artifactId>h2</artifactId>
  166. <version>1.4.191</version>
  167. <scope>test</scope>
  168. </dependency>
  169. </dependencies>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-surefire-plugin</artifactId>
  175. <configuration>
  176. <systemPropertyVariables>
  177. <io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
  178. </systemPropertyVariables>
  179. <includes>
  180. <include>**/*Test.java</include>
  181. </includes>
  182. </configuration>
  183. </plugin>
  184. <!-- Generate the test-jar -->
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-jar-plugin</artifactId>
  188. <version>3.0.2</version>
  189. <executions>
  190. <execution>
  191. <goals>
  192. <goal>test-jar</goal>
  193. </goals>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. <!-- Includes to generate OSGi headers -->
  198. <plugin>
  199. <artifactId>maven-jar-plugin</artifactId>
  200. <configuration>
  201. <archive>
  202. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  203. </archive>
  204. </configuration>
  205. <executions>
  206. <execution>
  207. <goals>
  208. <goal>test-jar</goal>
  209. </goals>
  210. </execution>
  211. </executions>
  212. </plugin>
  213. <plugin>
  214. <groupId>org.apache.felix</groupId>
  215. <artifactId>maven-bundle-plugin</artifactId>
  216. <executions>
  217. <execution>
  218. <id>bundle-manifest</id>
  219. <phase>process-classes</phase>
  220. <goals>
  221. <goal>manifest</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. <configuration>
  226. <instructions>
  227. <Export-Package>
  228. io.moquette.persistence,
  229. io.moquette.server.config,
  230. io.moquette.spi,
  231. io.moquette.spi.impl.subscriptions,
  232. </Export-Package>
  233. <Embed-Dependency>
  234. com.bugsnag;bugsnag,
  235. com.librato.metrics;metrics-librato,
  236. com.librato.metrics;librato-java,
  237. </Embed-Dependency>
  238. </instructions>
  239. </configuration>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. <distributionManagement>
  244. <repository>
  245. <id>bintray</id>
  246. <url>https://api.bintray.com/maven/${bintray.repo}/${bintray.package}</url>
  247. </repository>
  248. </distributionManagement>
  249. </project>