jetcd-core-0.5.0.pom 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2016-2020 The jetcd authors
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  15. <parent>
  16. <groupId>io.etcd</groupId>
  17. <artifactId>jetcd-parent</artifactId>
  18. <version>0.5.0</version>
  19. </parent>
  20. <modelVersion>4.0.0</modelVersion>
  21. <artifactId>jetcd-core</artifactId>
  22. <packaging>bundle</packaging>
  23. <dependencies>
  24. <dependency>
  25. <groupId>${project.groupId}</groupId>
  26. <artifactId>jetcd-common</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>jetcd-resolver</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.grpc</groupId>
  34. <artifactId>grpc-core</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.grpc</groupId>
  38. <artifactId>grpc-netty</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.grpc</groupId>
  42. <artifactId>grpc-protobuf</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.grpc</groupId>
  46. <artifactId>grpc-stub</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.grpc</groupId>
  50. <artifactId>grpc-grpclb</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.jodah</groupId>
  58. <artifactId>failsafe</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.assertj</groupId>
  62. <artifactId>assertj-core</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mockito</groupId>
  67. <artifactId>mockito-core</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.logging.log4j</groupId>
  72. <artifactId>log4j-api</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.logging.log4j</groupId>
  77. <artifactId>log4j-core</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.logging.log4j</groupId>
  82. <artifactId>log4j-slf4j-impl</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.logging.log4j</groupId>
  87. <artifactId>log4j-1.2-api</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>junit</groupId>
  92. <artifactId>junit</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.junit.jupiter</groupId>
  97. <artifactId>junit-jupiter-api</artifactId>
  98. <version>${junit-jupiter.version}</version>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.junit.jupiter</groupId>
  103. <artifactId>junit-jupiter-engine</artifactId>
  104. <version>${junit-jupiter.version}</version>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.junit.vintage</groupId>
  109. <artifactId>junit-vintage-engine</artifactId>
  110. <version>${junit-jupiter.version}</version>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.junit.jupiter</groupId>
  115. <artifactId>junit-jupiter-params</artifactId>
  116. <version>${junit-jupiter.version}</version>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.junit.jupiter</groupId>
  121. <artifactId>junit-jupiter-migrationsupport</artifactId>
  122. <version>${junit-jupiter.version}</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.mockito</groupId>
  127. <artifactId>mockito-junit-jupiter</artifactId>
  128. <version>${mockito.version}</version>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>io.grpc</groupId>
  133. <artifactId>grpc-testing</artifactId>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>io.netty</groupId>
  138. <artifactId>netty-tcnative-boringssl-static</artifactId>
  139. <version>${netty-tcnative.version}</version>
  140. <classifier>${os.detected.classifier}</classifier>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>${project.groupId}</groupId>
  145. <artifactId>jetcd-launcher</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>commons-io</groupId>
  150. <artifactId>commons-io</artifactId>
  151. <scope>test</scope>
  152. </dependency>
  153. </dependencies>
  154. <build>
  155. <plugins>
  156. <plugin>
  157. <groupId>kr.motd.maven</groupId>
  158. <artifactId>os-maven-plugin</artifactId>
  159. <version>${os-maven-plugin.version}</version>
  160. <extensions>true</extensions>
  161. <executions>
  162. <execution>
  163. <phase>validate</phase>
  164. <goals>
  165. <goal>detect</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.xolstice.maven.plugins</groupId>
  172. <artifactId>protobuf-maven-plugin</artifactId>
  173. <configuration>
  174. <protocArtifact>
  175. com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
  176. </protocArtifact>
  177. <pluginId>grpc-java</pluginId>
  178. <pluginArtifact>
  179. io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
  180. </pluginArtifact>
  181. </configuration>
  182. <executions>
  183. <execution>
  184. <goals>
  185. <goal>compile</goal>
  186. <goal>compile-custom</goal>
  187. </goals>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.codehaus.mojo</groupId>
  193. <artifactId>build-helper-maven-plugin</artifactId>
  194. <executions>
  195. <execution>
  196. <id>test</id>
  197. <phase>generate-sources</phase>
  198. <goals>
  199. <goal>add-source</goal>
  200. </goals>
  201. <configuration>
  202. <sources>
  203. <source>${basedir}/target/generated-sources/protobuf/grpc-java</source>
  204. <source>${basedir}/target/generated-sources/protobuf/java</source>
  205. </sources>
  206. </configuration>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-compiler-plugin</artifactId>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.jacoco</groupId>
  216. <artifactId>jacoco-maven-plugin</artifactId>
  217. <configuration>
  218. <excludes>
  219. <exclude>io/etcd/jetcd/api/**</exclude>
  220. </excludes>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-resources-plugin</artifactId>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.servicemix.tooling</groupId>
  229. <artifactId>depends-maven-plugin</artifactId>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.apache.felix</groupId>
  233. <artifactId>maven-bundle-plugin</artifactId>
  234. <extensions>true</extensions>
  235. <configuration>
  236. <instructions>
  237. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  238. <Bundle-Name>etcd :: ${project.artifactId}</Bundle-Name>
  239. <Export-Package>io.etcd.jetcd.*;-noimport:=true</Export-Package>
  240. </instructions>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. </build>
  245. </project>