zipkin-reporter-parent-2.15.2.pom 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2016-2020 The OpenZipkin 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.zipkin.reporter2</groupId>
  15. <artifactId>zipkin-reporter-parent</artifactId>
  16. <version>2.15.2</version>
  17. <packaging>pom</packaging>
  18. <modules>
  19. <module>bom</module>
  20. <module>core</module>
  21. <module>kafka</module>
  22. <module>kafka08</module>
  23. <module>amqp-client</module>
  24. <module>activemq-client</module>
  25. <module>urlconnection</module>
  26. <module>okhttp3</module>
  27. <module>libthrift</module>
  28. <module>spring-beans</module>
  29. <module>benchmarks</module>
  30. <module>brave</module>
  31. <module>metrics-micrometer</module>
  32. </modules>
  33. <properties>
  34. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  35. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  36. <project.build.outputEncoding>UTF-8</project.build.outputEncoding>
  37. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  38. <main.basedir>${project.basedir}</main.basedir>
  39. <!-- default bytecode version for src/main -->
  40. <main.java.version>1.6</main.java.version>
  41. <main.signature.artifact>java16</main.signature.artifact>
  42. <!-- default bytecode version for src/test -->
  43. <maven.compiler.source>1.8</maven.compiler.source>
  44. <maven.compiler.target>1.8</maven.compiler.target>
  45. <!-- override to set exclusions per-project -->
  46. <errorprone.args />
  47. <errorprone.version>2.4.0</errorprone.version>
  48. <!-- use the same value in bom/pom.xml -->
  49. <zipkin.version>2.21.7</zipkin.version>
  50. <!-- Do not set this value in bom/pom.xml to avoid cyclic pinning -->
  51. <brave.version>5.12.5</brave.version>
  52. <!-- TODO: cleanup any redundant ignores now also in the 4.0 release (once final) -->
  53. <license-maven-plugin.version>4.0.rc2</license-maven-plugin.version>
  54. <!-- 3.0.0-M5 breaks the build: https://github.com/openzipkin/zipkin/issues/3159 -->
  55. <maven-failsafe-plugin.version>3.0.0-M4</maven-failsafe-plugin.version>
  56. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  57. <maven-bundle-plugin.version>5.1.1</maven-bundle-plugin.version>
  58. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  59. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  60. </properties>
  61. <name>Zipkin Reporter (Parent)</name>
  62. <description>Zipkin Reporter (Parent)</description>
  63. <url>https://github.com/openzipkin/zipkin-reporter-java</url>
  64. <inceptionYear>2016</inceptionYear>
  65. <organization>
  66. <name>OpenZipkin</name>
  67. <url>https://zipkin.io/</url>
  68. </organization>
  69. <licenses>
  70. <license>
  71. <name>The Apache Software License, Version 2.0</name>
  72. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  73. <distribution>repo</distribution>
  74. </license>
  75. </licenses>
  76. <scm>
  77. <url>https://github.com/openzipkin/zipkin-reporter-java</url>
  78. <connection>scm:git:https://github.com/openzipkin/zipkin-reporter-java.git</connection>
  79. <developerConnection>scm:git:https://github.com/openzipkin/zipkin-reporter-java.git
  80. </developerConnection>
  81. <tag>2.15.2</tag>
  82. </scm>
  83. <!-- Developer section is needed for Maven Central, but doesn't need to include each person -->
  84. <developers>
  85. <developer>
  86. <id>openzipkin</id>
  87. <name>OpenZipkin Gitter</name>
  88. <url>https://gitter.im/openzipkin/zipkin</url>
  89. </developer>
  90. </developers>
  91. <distributionManagement>
  92. <repository>
  93. <id>bintray</id>
  94. <url>https://api.bintray.com/maven/openzipkin/maven/zipkin-reporter-java/;publish=1</url>
  95. </repository>
  96. <snapshotRepository>
  97. <id>jfrog-snapshots</id>
  98. <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
  99. </snapshotRepository>
  100. </distributionManagement>
  101. <issueManagement>
  102. <system>Github</system>
  103. <url>https://github.com/openzipkin/zipkin-reporter-java/issues</url>
  104. </issueManagement>
  105. <dependencyManagement>
  106. <dependencies>
  107. <dependency>
  108. <groupId>${project.groupId}</groupId>
  109. <artifactId>zipkin-reporter</artifactId>
  110. <version>${project.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.zipkin.brave</groupId>
  114. <artifactId>brave</artifactId>
  115. <version>${brave.version}</version>
  116. <exclusions>
  117. <exclusion>
  118. <groupId>*</groupId>
  119. <artifactId>*</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.squareup.okhttp3</groupId>
  125. <artifactId>okhttp</artifactId>
  126. <version>3.14.9</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.squareup.okhttp3</groupId>
  130. <artifactId>mockwebserver</artifactId>
  131. <version>3.14.9</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.testcontainers</groupId>
  135. <artifactId>testcontainers</artifactId>
  136. <version>1.14.3</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>ch.qos.logback</groupId>
  140. <artifactId>logback-classic</artifactId>
  141. <version>1.2.3</version>
  142. </dependency>
  143. </dependencies>
  144. </dependencyManagement>
  145. <dependencies>
  146. <dependency>
  147. <groupId>io.zipkin.zipkin2</groupId>
  148. <artifactId>zipkin</artifactId>
  149. <version>${zipkin.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>junit</groupId>
  153. <artifactId>junit</artifactId>
  154. <version>4.13</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>io.zipkin.zipkin2</groupId>
  159. <artifactId>zipkin-tests</artifactId>
  160. <version>${zipkin.version}</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.assertj</groupId>
  165. <artifactId>assertj-core</artifactId>
  166. <version>3.17.2</version>
  167. <scope>test</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>ch.qos.logback</groupId>
  171. <artifactId>logback-classic</artifactId>
  172. <scope>test</scope>
  173. </dependency>
  174. </dependencies>
  175. <build>
  176. <pluginManagement>
  177. <plugins>
  178. <!-- mvn -N io.takari:maven:wrapper generates the ./mvnw script -->
  179. <plugin>
  180. <groupId>io.takari</groupId>
  181. <artifactId>maven</artifactId>
  182. <version>0.7.7</version>
  183. <configuration>
  184. <maven>3.6.3</maven>
  185. </configuration>
  186. </plugin>
  187. <plugin>
  188. <artifactId>maven-jar-plugin</artifactId>
  189. <version>${maven-jar-plugin.version}</version>
  190. <configuration>
  191. <archive>
  192. <!-- prevents huge pom file from also being added to the jar under META-INF/maven -->
  193. <addMavenDescriptor>false</addMavenDescriptor>
  194. </archive>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <artifactId>maven-compiler-plugin</artifactId>
  199. <version>3.8.1</version>
  200. <inherited>true</inherited>
  201. <configuration>
  202. <!-- Retrolambda will rewrite lambdas as Java 6 bytecode -->
  203. <source>1.8</source>
  204. <target>1.8</target>
  205. <compilerVersion>1.8</compilerVersion>
  206. <!-- or die! com.sun.tools.javac.api.JavacTool -->
  207. <fork>true</fork>
  208. <showWarnings>true</showWarnings>
  209. </configuration>
  210. </plugin>
  211. <plugin>
  212. <groupId>org.eclipse.m2e</groupId>
  213. <artifactId>lifecycle-mapping</artifactId>
  214. <version>1.0.0</version>
  215. <configuration>
  216. <lifecycleMappingMetadata>
  217. <pluginExecutions>
  218. <pluginExecution>
  219. <pluginExecutionFilter>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-compiler-plugin</artifactId>
  222. <versionRange>[3.3,)</versionRange>
  223. <goals>
  224. <goal>compile</goal>
  225. <goal>testCompile</goal>
  226. </goals>
  227. </pluginExecutionFilter>
  228. <action>
  229. <configurator>
  230. <id>org.eclipse.m2e.jdt.javaConfigurator</id>
  231. </configurator>
  232. </action>
  233. </pluginExecution>
  234. </pluginExecutions>
  235. </lifecycleMappingMetadata>
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. </pluginManagement>
  240. <plugins>
  241. <plugin>
  242. <groupId>net.orfjackal.retrolambda</groupId>
  243. <artifactId>retrolambda-maven-plugin</artifactId>
  244. <version>2.5.7</version>
  245. <executions>
  246. <execution>
  247. <goals>
  248. <goal>process-main</goal>
  249. </goals>
  250. <configuration>
  251. <target>${main.java.version}</target>
  252. <fork>true</fork>
  253. <quiet>true</quiet>
  254. </configuration>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.codehaus.mojo</groupId>
  260. <artifactId>animal-sniffer-maven-plugin</artifactId>
  261. <version>1.19</version>
  262. <configuration>
  263. <signature>
  264. <groupId>org.codehaus.mojo.signature</groupId>
  265. <artifactId>${main.signature.artifact}</artifactId>
  266. <version>1.0</version>
  267. </signature>
  268. <checkTestClasses>false</checkTestClasses>
  269. </configuration>
  270. <executions>
  271. <execution>
  272. <goals>
  273. <goal>check</goal>
  274. </goals>
  275. </execution>
  276. </executions>
  277. </plugin>
  278. <plugin>
  279. <artifactId>maven-enforcer-plugin</artifactId>
  280. <version>3.0.0-M3</version>
  281. <executions>
  282. <execution>
  283. <id>enforce-java</id>
  284. <goals>
  285. <goal>enforce</goal>
  286. </goals>
  287. <configuration>
  288. <rules>
  289. <requireJavaVersion>
  290. <version>[1.8,15)</version>
  291. </requireJavaVersion>
  292. </rules>
  293. </configuration>
  294. </execution>
  295. </executions>
  296. </plugin>
  297. <plugin>
  298. <artifactId>maven-surefire-plugin</artifactId>
  299. <version>${maven-failsafe-plugin.version}</version>
  300. <configuration>
  301. <reuseForks>false</reuseForks>
  302. </configuration>
  303. </plugin>
  304. <plugin>
  305. <artifactId>maven-failsafe-plugin</artifactId>
  306. <version>${maven-failsafe-plugin.version}</version>
  307. <configuration>
  308. <reuseForks>false</reuseForks>
  309. </configuration>
  310. <executions>
  311. <execution>
  312. <id>integration-test</id>
  313. <goals>
  314. <goal>integration-test</goal>
  315. </goals>
  316. </execution>
  317. <execution>
  318. <id>verify</id>
  319. <goals>
  320. <goal>verify</goal>
  321. </goals>
  322. </execution>
  323. </executions>
  324. </plugin>
  325. <plugin>
  326. <artifactId>maven-install-plugin</artifactId>
  327. <version>3.0.0-M1</version>
  328. </plugin>
  329. <!-- Uploads occur as a last step (which also adds checksums) -->
  330. <plugin>
  331. <artifactId>maven-deploy-plugin</artifactId>
  332. <version>3.0.0-M1</version>
  333. </plugin>
  334. <plugin>
  335. <groupId>com.mycila</groupId>
  336. <artifactId>license-maven-plugin</artifactId>
  337. <version>${license-maven-plugin.version}</version>
  338. <configuration>
  339. <header>${main.basedir}/src/etc/header.txt</header>
  340. <mapping>
  341. <!-- Don't use javadoc style as this makes code formatters break it by adding tags! -->
  342. <java>SLASHSTAR_STYLE</java>
  343. </mapping>
  344. <excludes>
  345. <exclude>.travis.yml</exclude>
  346. <exclude>.editorconfig</exclude>
  347. <exclude>.gitattributes</exclude>
  348. <exclude>.gitignore</exclude>
  349. <exclude>.mvn/**</exclude>
  350. <exclude>mvnw*</exclude>
  351. <exclude>etc/header.txt</exclude>
  352. <exclude>**/.idea/**</exclude>
  353. <exclude>**/.editorconfig</exclude>
  354. <exclude>LICENSE</exclude>
  355. <exclude>**/*.md</exclude>
  356. <exclude>bnd.bnd</exclude>
  357. <exclude>src/test/resources/**</exclude>
  358. </excludes>
  359. <strictCheck>true</strictCheck>
  360. </configuration>
  361. <dependencies>
  362. <dependency>
  363. <groupId>com.mycila</groupId>
  364. <artifactId>license-maven-plugin-git</artifactId>
  365. <version>${license-maven-plugin.version}</version>
  366. </dependency>
  367. </dependencies>
  368. <executions>
  369. <execution>
  370. <goals>
  371. <goal>check</goal>
  372. </goals>
  373. <phase>compile</phase>
  374. </execution>
  375. </executions>
  376. </plugin>
  377. <plugin>
  378. <artifactId>maven-release-plugin</artifactId>
  379. <version>3.0.0-M1</version>
  380. <configuration>
  381. <useReleaseProfile>false</useReleaseProfile>
  382. <releaseProfiles>release</releaseProfiles>
  383. <autoVersionSubmodules>true</autoVersionSubmodules>
  384. <tagNameFormat>@{project.version}</tagNameFormat>
  385. </configuration>
  386. </plugin>
  387. <plugin>
  388. <groupId>io.zipkin.centralsync-maven-plugin</groupId>
  389. <artifactId>centralsync-maven-plugin</artifactId>
  390. <version>0.1.1</version>
  391. <configuration>
  392. <packageName>zipkin-reporter-java</packageName>
  393. </configuration>
  394. </plugin>
  395. </plugins>
  396. </build>
  397. <profiles>
  398. <profile>
  399. <id>error-prone-9+</id>
  400. <activation>
  401. <jdk>[9,15)</jdk>
  402. <activeByDefault>false</activeByDefault>
  403. </activation>
  404. <build>
  405. <plugins>
  406. <plugin>
  407. <artifactId>maven-compiler-plugin</artifactId>
  408. <executions>
  409. <execution>
  410. <!-- only use errorprone on main source tree -->
  411. <id>default-compile</id>
  412. <phase>compile</phase>
  413. <goals>
  414. <goal>compile</goal>
  415. </goals>
  416. <configuration>
  417. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  418. <compilerArgs>
  419. <arg>-XDcompilePolicy=simple</arg>
  420. <arg>-Xplugin:ErrorProne ${errorprone.args}</arg>
  421. </compilerArgs>
  422. <annotationProcessorPaths>
  423. <processorPath>
  424. <groupId>com.google.errorprone</groupId>
  425. <artifactId>error_prone_core</artifactId>
  426. <version>${errorprone.version}</version>
  427. </processorPath>
  428. </annotationProcessorPaths>
  429. </configuration>
  430. </execution>
  431. </executions>
  432. </plugin>
  433. </plugins>
  434. </build>
  435. </profile>
  436. <profile>
  437. <id>release</id>
  438. <build>
  439. <plugins>
  440. <!-- Creates source jar -->
  441. <plugin>
  442. <artifactId>maven-source-plugin</artifactId>
  443. <version>${maven-source-plugin.version}</version>
  444. <executions>
  445. <execution>
  446. <id>attach-sources</id>
  447. <goals>
  448. <goal>jar</goal>
  449. </goals>
  450. </execution>
  451. </executions>
  452. </plugin>
  453. <!-- Creates javadoc jar, skipping internal classes -->
  454. <plugin>
  455. <artifactId>maven-javadoc-plugin</artifactId>
  456. <version>${maven-javadoc-plugin.version}</version>
  457. <configuration>
  458. <sourceFileExcludes>
  459. <exclude>**/internal/*.java</exclude>
  460. <exclude>**/Internal*.java</exclude>
  461. </sourceFileExcludes>
  462. <excludePackageNames>*.internal.*</excludePackageNames>
  463. <failOnError>false</failOnError>
  464. <!-- hush pedantic warnings: we don't put param and return on everything! -->
  465. <doclint>none</doclint>
  466. <!-- While we publish modules, our source is pre-Java9 so tell javadoc that. -->
  467. <source>8</source>
  468. </configuration>
  469. <executions>
  470. <execution>
  471. <id>attach-javadocs</id>
  472. <goals>
  473. <goal>jar</goal>
  474. </goals>
  475. <phase>package</phase>
  476. </execution>
  477. </executions>
  478. </plugin>
  479. </plugins>
  480. </build>
  481. </profile>
  482. <profile>
  483. <id>module-info</id>
  484. <!-- Build profiles can only consider static properties, such as files or ENV variables.
  485. To conditionally add module information, we use existence of bnd.bnd. This allows
  486. irrelevant packages such as tests and benchmarks to quietly opt-out.
  487. http://maven.apache.org/guides/introduction/introduction-to-profiles.html -->
  488. <activation>
  489. <file>
  490. <exists>bnd.bnd</exists>
  491. </file>
  492. </activation>
  493. <build>
  494. <plugins>
  495. <!-- OSGi and Java Modules configuration -->
  496. <plugin>
  497. <groupId>org.apache.felix</groupId>
  498. <artifactId>maven-bundle-plugin</artifactId>
  499. <version>${maven-bundle-plugin.version}</version>
  500. <configuration>
  501. <obrRepository>NONE</obrRepository>
  502. <instructions>
  503. <_include>-bnd.bnd</_include>
  504. </instructions>
  505. </configuration>
  506. <executions>
  507. <execution>
  508. <phase>process-classes</phase>
  509. <goals>
  510. <goal>manifest</goal>
  511. </goals>
  512. </execution>
  513. </executions>
  514. </plugin>
  515. <plugin>
  516. <artifactId>maven-jar-plugin</artifactId>
  517. <executions>
  518. <execution>
  519. <id>default-jar</id>
  520. <configuration>
  521. <archive>
  522. <!-- Include the MANIFEST.MF maven-bundle-plugin generates from bnd.bnd -->
  523. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  524. <manifestEntries>
  525. <Automatic-Module-Name>${module.name}</Automatic-Module-Name>
  526. </manifestEntries>
  527. </archive>
  528. </configuration>
  529. <goals>
  530. <goal>jar</goal>
  531. </goals>
  532. </execution>
  533. </executions>
  534. </plugin>
  535. </plugins>
  536. </build>
  537. </profile>
  538. <profile>
  539. <id>sonatype</id>
  540. <distributionManagement>
  541. <repository>
  542. <id>sonatype</id>
  543. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  544. </repository>
  545. </distributionManagement>
  546. <build>
  547. <plugins>
  548. <plugin>
  549. <artifactId>maven-gpg-plugin</artifactId>
  550. <version>1.6</version>
  551. <executions>
  552. <execution>
  553. <id>sign-release-artifacts</id>
  554. <goals>
  555. <goal>sign</goal>
  556. </goals>
  557. </execution>
  558. </executions>
  559. </plugin>
  560. </plugins>
  561. </build>
  562. </profile>
  563. </profiles>
  564. </project>