parent-0.33.0.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2016-2019 The OpenTracing Authors
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. in compliance with the License. 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 distributed under the License
  8. is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  9. or implied. See the License for the specific language governing permissions and limitations under
  10. the License.
  11. -->
  12. <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">
  13. <modelVersion>4.0.0</modelVersion>
  14. <groupId>io.opentracing</groupId>
  15. <artifactId>parent</artifactId>
  16. <version>0.33.0</version>
  17. <packaging>pom</packaging>
  18. <modules>
  19. <module>opentracing-api</module>
  20. <module>opentracing-noop</module>
  21. <module>opentracing-mock</module>
  22. <module>opentracing-util</module>
  23. <module>opentracing-testbed</module>
  24. </modules>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  28. <!-- default bytecode version for src/main -->
  29. <main.java.version>1.7</main.java.version>
  30. <main.signature.artifact>java17</main.signature.artifact>
  31. <!-- default bytecode version for src/test -->
  32. <maven.compiler.source>1.8</maven.compiler.source>
  33. <maven.compiler.target>1.8</maven.compiler.target>
  34. <main.basedir>${project.basedir}</main.basedir>
  35. <junit.version>4.12</junit.version>
  36. <assertj.version>3.8.0</assertj.version>
  37. <mockito.version>1.10.19</mockito.version>
  38. <awaitility.version>3.0.0</awaitility.version>
  39. <logback.version>1.2.3</logback.version>
  40. <animal-sniffer-maven-plugin.version>1.15</animal-sniffer-maven-plugin.version>
  41. <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
  42. <centralsync-maven-plugin.version>0.1.0</centralsync-maven-plugin.version>
  43. <jacoco-maven-plugin.version>0.8.2</jacoco-maven-plugin.version>
  44. <license-maven-plugin.version>3.0</license-maven-plugin.version>
  45. <maven-plugin.version>0.3.4</maven-plugin.version>
  46. <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
  47. <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
  48. <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
  49. <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
  50. <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
  51. <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
  52. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  53. </properties>
  54. <name>OpenTracing (Parent)</name>
  55. <description>OpenTracing API for Java</description>
  56. <url>https://github.com/opentracing/opentracing-java</url>
  57. <inceptionYear>2016</inceptionYear>
  58. <organization>
  59. <name>OpenTracing</name>
  60. <url>http://opentracing.io/</url>
  61. </organization>
  62. <licenses>
  63. <license>
  64. <name>The Apache Software License, Version 2.0</name>
  65. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  66. <distribution>repo</distribution>
  67. </license>
  68. </licenses>
  69. <scm>
  70. <url>https://github.com/opentracing/opentracing-java</url>
  71. <connection>scm:git:https://github.com/opentracing/opentracing-java.git</connection>
  72. <developerConnection>scm:git:https://github.com/opentracing/opentracing-java.git</developerConnection>
  73. <tag>0.33.0</tag>
  74. </scm>
  75. <!-- Developer section is needed for Maven Central, but doesn't need to include each person -->
  76. <developers>
  77. <developer>
  78. <id>opentracing</id>
  79. <name>OpenTracing Gitter</name>
  80. <url>https://gitter.im/opentracing/public</url>
  81. </developer>
  82. </developers>
  83. <distributionManagement>
  84. <repository>
  85. <id>bintray</id>
  86. <url>https://api.bintray.com/maven/opentracing/maven/opentracing-java/;publish=1</url>
  87. </repository>
  88. <snapshotRepository>
  89. <id>jfrog-snapshots</id>
  90. <url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url>
  91. </snapshotRepository>
  92. </distributionManagement>
  93. <issueManagement>
  94. <system>Github</system>
  95. <url>https://github.com/opentracing/opentracing-java/issues</url>
  96. </issueManagement>
  97. <dependencyManagement>
  98. <dependencies>
  99. <dependency>
  100. <groupId>${project.groupId}</groupId>
  101. <artifactId>opentracing-api</artifactId>
  102. <version>${project.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>${project.groupId}</groupId>
  106. <artifactId>opentracing-noop</artifactId>
  107. <version>${project.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>${project.groupId}</groupId>
  111. <artifactId>opentracing-util</artifactId>
  112. <version>${project.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>${project.groupId}</groupId>
  116. <artifactId>opentracing-mock</artifactId>
  117. <version>${project.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>${project.groupId}</groupId>
  121. <artifactId>opentracing-testbed</artifactId>
  122. <version>${project.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>junit</groupId>
  126. <artifactId>junit</artifactId>
  127. <version>${junit.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.assertj</groupId>
  131. <artifactId>assertj-core</artifactId>
  132. <version>${assertj.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.mockito</groupId>
  136. <artifactId>mockito-all</artifactId>
  137. <version>${mockito.version}</version>
  138. </dependency>
  139. </dependencies>
  140. </dependencyManagement>
  141. <dependencies>
  142. <dependency>
  143. <groupId>junit</groupId>
  144. <artifactId>junit</artifactId>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.assertj</groupId>
  149. <artifactId>assertj-core</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mockito</groupId>
  154. <artifactId>mockito-all</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <pluginManagement>
  160. <plugins>
  161. <!-- mvn -N io.takari:maven:wrapper -Dmaven=3.5.0 -->
  162. <plugin>
  163. <groupId>io.takari</groupId>
  164. <artifactId>maven</artifactId>
  165. <version>${maven-plugin.version}</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>${maven-compiler-plugin.version}</version>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-jar-plugin</artifactId>
  173. <version>${maven-jar-plugin.version}</version>
  174. </plugin>
  175. </plugins>
  176. </pluginManagement>
  177. <plugins>
  178. <plugin>
  179. <inherited>true</inherited>
  180. <artifactId>maven-compiler-plugin</artifactId>
  181. <executions>
  182. <!-- Ensure main source tree compiles to Java ${main.java.version} bytecode. -->
  183. <execution>
  184. <id>default-compile</id>
  185. <phase>compile</phase>
  186. <goals>
  187. <goal>compile</goal>
  188. </goals>
  189. <configuration>
  190. <source>${main.java.version}</source>
  191. <target>${main.java.version}</target>
  192. </configuration>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.codehaus.mojo</groupId>
  198. <artifactId>animal-sniffer-maven-plugin</artifactId>
  199. <version>${animal-sniffer-maven-plugin.version}</version>
  200. <configuration>
  201. <signature>
  202. <groupId>org.codehaus.mojo.signature</groupId>
  203. <artifactId>${main.signature.artifact}</artifactId>
  204. <version>1.0</version>
  205. </signature>
  206. </configuration>
  207. <executions>
  208. <execution>
  209. <goals>
  210. <goal>check</goal>
  211. </goals>
  212. </execution>
  213. </executions>
  214. </plugin>
  215. <!-- Ensures checksums are added to published jars -->
  216. <plugin>
  217. <artifactId>maven-install-plugin</artifactId>
  218. <version>${maven-install-plugin.version}</version>
  219. <configuration>
  220. <createChecksum>true</createChecksum>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>com.mycila</groupId>
  225. <artifactId>license-maven-plugin</artifactId>
  226. <version>${license-maven-plugin.version}</version>
  227. <configuration>
  228. <header>${main.basedir}/src/etc/header.txt</header>
  229. <mapping>
  230. <java>SLASHSTAR_STYLE</java>
  231. </mapping>
  232. <excludes>
  233. <exclude>.travis.yml</exclude>
  234. <exclude>.coveralls.yml</exclude>
  235. <exclude>.gitignore</exclude>
  236. <exclude>.mvn/**</exclude>
  237. <exclude>mvnw*</exclude>
  238. <exclude>etc/header.txt</exclude>
  239. <exclude>**/.idea/**</exclude>
  240. <exclude>LICENSE</exclude>
  241. <exclude>**/*.md</exclude>
  242. <exclude>src/test/resources/**</exclude>
  243. <exclude>src/main/resources/**</exclude>
  244. </excludes>
  245. <strictCheck>true</strictCheck>
  246. </configuration>
  247. <dependencies>
  248. <dependency>
  249. <groupId>com.mycila</groupId>
  250. <artifactId>license-maven-plugin-git</artifactId>
  251. <version>${license-maven-plugin.version}</version>
  252. </dependency>
  253. </dependencies>
  254. <executions>
  255. <execution>
  256. <goals>
  257. <goal>check</goal>
  258. </goals>
  259. <phase>compile</phase>
  260. </execution>
  261. </executions>
  262. </plugin>
  263. <plugin>
  264. <artifactId>maven-release-plugin</artifactId>
  265. <version>${maven-release-plugin.version}</version>
  266. <configuration>
  267. <useReleaseProfile>false</useReleaseProfile>
  268. <releaseProfiles>release</releaseProfiles>
  269. <autoVersionSubmodules>true</autoVersionSubmodules>
  270. <tagNameFormat>@{project.version}</tagNameFormat>
  271. </configuration>
  272. </plugin>
  273. <plugin>
  274. <groupId>io.zipkin.centralsync-maven-plugin</groupId>
  275. <artifactId>centralsync-maven-plugin</artifactId>
  276. <version>${centralsync-maven-plugin.version}</version>
  277. <configuration>
  278. <subject>opentracing</subject>
  279. <repo>maven</repo>
  280. <packageName>opentracing-java</packageName>
  281. </configuration>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.eluder.coveralls</groupId>
  285. <artifactId>coveralls-maven-plugin</artifactId>
  286. <version>${coveralls-maven-plugin.version}</version>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.jacoco</groupId>
  290. <artifactId>jacoco-maven-plugin</artifactId>
  291. <version>${jacoco-maven-plugin.version}</version>
  292. <executions>
  293. <execution>
  294. <id>prepare-agent</id>
  295. <goals>
  296. <goal>prepare-agent</goal>
  297. </goals>
  298. </execution>
  299. </executions>
  300. </plugin>
  301. </plugins>
  302. </build>
  303. <profiles>
  304. <profile>
  305. <id>release</id>
  306. <build>
  307. <plugins>
  308. <!-- Creates source jar -->
  309. <plugin>
  310. <artifactId>maven-source-plugin</artifactId>
  311. <version>${maven-source-plugin.version}</version>
  312. <executions>
  313. <execution>
  314. <id>attach-sources</id>
  315. <goals>
  316. <goal>jar</goal>
  317. </goals>
  318. </execution>
  319. </executions>
  320. </plugin>
  321. <!-- Creates javadoc jar, skipping internal classes -->
  322. <plugin>
  323. <artifactId>maven-javadoc-plugin</artifactId>
  324. <version>${maven-javadoc-plugin.version}</version>
  325. <configuration>
  326. <failOnError>false</failOnError>
  327. <excludePackageNames>io.opentracing.internal,io.opentracing.internal.*
  328. </excludePackageNames>
  329. </configuration>
  330. <executions>
  331. <execution>
  332. <id>attach-javadocs</id>
  333. <goals>
  334. <goal>jar</goal>
  335. </goals>
  336. <phase>package</phase>
  337. </execution>
  338. </executions>
  339. </plugin>
  340. </plugins>
  341. </build>
  342. </profile>
  343. </profiles>
  344. </project>