pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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-performance</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Moquette - performance tests</name>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <bintray.package>io.moquette.moquette-performance</bintray.package>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>${project.groupId}</groupId>
  20. <artifactId>moquette-broker</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>${project.groupId}</groupId>
  25. <artifactId>moquette-broker</artifactId>
  26. <version>${project.version}</version>
  27. <type>test-jar</type>
  28. </dependency>
  29. <!--<dependency>-->
  30. <!--<groupId>io.netty</groupId>-->
  31. <!--<artifactId>netty-common</artifactId>-->
  32. <!--<version>${netty.version}</version>-->
  33. <!--</dependency>-->
  34. <!---->
  35. <!--<dependency>-->
  36. <!--<groupId>io.netty</groupId>-->
  37. <!--<artifactId>netty-buffer</artifactId>-->
  38. <!--<version>${netty.version}</version>-->
  39. <!--</dependency>-->
  40. <!---->
  41. <!--<dependency>-->
  42. <!--<groupId>io.netty</groupId>-->
  43. <!--<artifactId>netty-transport</artifactId>-->
  44. <!--<version>${netty.version}</version>-->
  45. <!--</dependency>-->
  46. <!---->
  47. <!--<dependency>-->
  48. <!--<groupId>io.netty</groupId>-->
  49. <!--<artifactId>netty-handler</artifactId>-->
  50. <!--<version>${netty.version}</version>-->
  51. <!--</dependency>-->
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-log4j12</artifactId>
  55. <version>1.6.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>io.netty</groupId>
  59. <artifactId>netty-codec-mqtt</artifactId>
  60. <version>${netty.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.hdrhistogram</groupId>
  64. <artifactId>HdrHistogram</artifactId>
  65. <version>2.1.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.eclipse.paho</groupId>
  69. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  70. <version>1.1.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.eclipse.jetty.toolchain</groupId>
  74. <artifactId>jetty-perf-helper</artifactId>
  75. <version>1.0.5</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>junit</groupId>
  79. <artifactId>junit</artifactId>
  80. <version>4.8.2</version>
  81. <scope>test</scope>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-surefire-plugin</artifactId>
  89. <configuration>
  90. <excludes>
  91. <exclude>io/moquette/parser/netty/TestUtils.java</exclude>
  92. <exclude>io/moquette/parser/netty/TestUtils$*</exclude>
  93. </excludes>
  94. </configuration>
  95. </plugin>
  96. <!-- Includes to generate OSGi headers -->
  97. <plugin>
  98. <artifactId>maven-jar-plugin</artifactId>
  99. <configuration>
  100. <archive>
  101. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  102. </archive>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.felix</groupId>
  107. <artifactId>maven-bundle-plugin</artifactId>
  108. <executions>
  109. <execution>
  110. <id>bundle-manifest</id>
  111. <phase>process-classes</phase>
  112. <goals>
  113. <goal>manifest</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. <distributionManagement>
  121. <repository>
  122. <id>bintray</id>
  123. <url>https://api.bintray.com/maven/${bintray.repo}/${bintray.package}</url>
  124. </repository>
  125. </distributionManagement>
  126. </project>