pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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-mapdb-storage</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Moquette - MapDB storage</name>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <bintray.package>io.moquette.moquette-mapdb-storage </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>org.slf4j</groupId>
  25. <artifactId>slf4j-api</artifactId>
  26. <version>1.7.5</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.mapdb</groupId>
  30. <artifactId>mapdb</artifactId>
  31. <version>1.0.8</version>
  32. </dependency>
  33. <!-- Test dependencies -->
  34. <dependency>
  35. <groupId>junit</groupId>
  36. <artifactId>junit</artifactId>
  37. <version>4.8.2</version>
  38. <scope>test</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.slf4j</groupId>
  42. <artifactId>slf4j-log4j12</artifactId>
  43. <version>1.7.5</version>
  44. <scope>test</scope>
  45. </dependency>
  46. <!-- needs extra dependencies: objenesis & hamcrest -->
  47. <dependency>
  48. <groupId>org.mockito</groupId>
  49. <artifactId>mockito-core</artifactId>
  50. <version>1.9.0</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.assertj</groupId>
  55. <artifactId>assertj-core</artifactId>
  56. <!-- use 2.6.0 for Java 7 projects -->
  57. <version>2.6.0</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.moquette</groupId>
  62. <artifactId>moquette-broker</artifactId>
  63. <type>test-jar</type>
  64. <version>${project.version}</version>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-surefire-plugin</artifactId>
  73. <configuration>
  74. <includes>
  75. <include>**/*Test.java</include>
  76. </includes>
  77. </configuration>
  78. </plugin>
  79. <!-- Includes to generate OSGi headers -->
  80. <plugin>
  81. <artifactId>maven-jar-plugin</artifactId>
  82. <configuration>
  83. <archive>
  84. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  85. </archive>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>test-jar</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.felix</groupId>
  97. <artifactId>maven-bundle-plugin</artifactId>
  98. <executions>
  99. <execution>
  100. <id>bundle-manifest</id>
  101. <phase>process-classes</phase>
  102. <goals>
  103. <goal>manifest</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. <distributionManagement>
  111. <repository>
  112. <id>bintray</id>
  113. <url>https://api.bintray.com/maven/${bintray.repo}/${bintray.package}</url>
  114. </repository>
  115. </distributionManagement>
  116. </project>