| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Copyright 2016-2019 The OpenTracing Authors
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License.
- -->
- <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">
- <modelVersion>4.0.0</modelVersion>
- <groupId>io.opentracing</groupId>
- <artifactId>parent</artifactId>
- <version>0.33.0</version>
- <packaging>pom</packaging>
- <modules>
- <module>opentracing-api</module>
- <module>opentracing-noop</module>
- <module>opentracing-mock</module>
- <module>opentracing-util</module>
- <module>opentracing-testbed</module>
- </modules>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
- <!-- default bytecode version for src/main -->
- <main.java.version>1.7</main.java.version>
- <main.signature.artifact>java17</main.signature.artifact>
- <!-- default bytecode version for src/test -->
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <main.basedir>${project.basedir}</main.basedir>
- <junit.version>4.12</junit.version>
- <assertj.version>3.8.0</assertj.version>
- <mockito.version>1.10.19</mockito.version>
- <awaitility.version>3.0.0</awaitility.version>
- <logback.version>1.2.3</logback.version>
- <animal-sniffer-maven-plugin.version>1.15</animal-sniffer-maven-plugin.version>
- <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
- <centralsync-maven-plugin.version>0.1.0</centralsync-maven-plugin.version>
- <jacoco-maven-plugin.version>0.8.2</jacoco-maven-plugin.version>
- <license-maven-plugin.version>3.0</license-maven-plugin.version>
- <maven-plugin.version>0.3.4</maven-plugin.version>
- <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
- <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
- <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
- <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
- <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
- <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
- <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
- </properties>
- <name>OpenTracing (Parent)</name>
- <description>OpenTracing API for Java</description>
- <url>https://github.com/opentracing/opentracing-java</url>
- <inceptionYear>2016</inceptionYear>
- <organization>
- <name>OpenTracing</name>
- <url>http://opentracing.io/</url>
- </organization>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <scm>
- <url>https://github.com/opentracing/opentracing-java</url>
- <connection>scm:git:https://github.com/opentracing/opentracing-java.git</connection>
- <developerConnection>scm:git:https://github.com/opentracing/opentracing-java.git</developerConnection>
- <tag>0.33.0</tag>
- </scm>
- <!-- Developer section is needed for Maven Central, but doesn't need to include each person -->
- <developers>
- <developer>
- <id>opentracing</id>
- <name>OpenTracing Gitter</name>
- <url>https://gitter.im/opentracing/public</url>
- </developer>
- </developers>
- <distributionManagement>
- <repository>
- <id>bintray</id>
- <url>https://api.bintray.com/maven/opentracing/maven/opentracing-java/;publish=1</url>
- </repository>
- <snapshotRepository>
- <id>jfrog-snapshots</id>
- <url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url>
- </snapshotRepository>
- </distributionManagement>
- <issueManagement>
- <system>Github</system>
- <url>https://github.com/opentracing/opentracing-java/issues</url>
- </issueManagement>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>opentracing-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>opentracing-noop</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>opentracing-util</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>opentracing-mock</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>opentracing-testbed</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>${mockito.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <!-- mvn -N io.takari:maven:wrapper -Dmaven=3.5.0 -->
- <plugin>
- <groupId>io.takari</groupId>
- <artifactId>maven</artifactId>
- <version>${maven-plugin.version}</version>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <inherited>true</inherited>
- <artifactId>maven-compiler-plugin</artifactId>
- <executions>
- <!-- Ensure main source tree compiles to Java ${main.java.version} bytecode. -->
- <execution>
- <id>default-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <source>${main.java.version}</source>
- <target>${main.java.version}</target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>${animal-sniffer-maven-plugin.version}</version>
- <configuration>
- <signature>
- <groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>${main.signature.artifact}</artifactId>
- <version>1.0</version>
- </signature>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Ensures checksums are added to published jars -->
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>${maven-install-plugin.version}</version>
- <configuration>
- <createChecksum>true</createChecksum>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.mycila</groupId>
- <artifactId>license-maven-plugin</artifactId>
- <version>${license-maven-plugin.version}</version>
- <configuration>
- <header>${main.basedir}/src/etc/header.txt</header>
- <mapping>
- <java>SLASHSTAR_STYLE</java>
- </mapping>
- <excludes>
- <exclude>.travis.yml</exclude>
- <exclude>.coveralls.yml</exclude>
- <exclude>.gitignore</exclude>
- <exclude>.mvn/**</exclude>
- <exclude>mvnw*</exclude>
- <exclude>etc/header.txt</exclude>
- <exclude>**/.idea/**</exclude>
- <exclude>LICENSE</exclude>
- <exclude>**/*.md</exclude>
- <exclude>src/test/resources/**</exclude>
- <exclude>src/main/resources/**</exclude>
- </excludes>
- <strictCheck>true</strictCheck>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>com.mycila</groupId>
- <artifactId>license-maven-plugin-git</artifactId>
- <version>${license-maven-plugin.version}</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>compile</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>${maven-release-plugin.version}</version>
- <configuration>
- <useReleaseProfile>false</useReleaseProfile>
- <releaseProfiles>release</releaseProfiles>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <tagNameFormat>@{project.version}</tagNameFormat>
- </configuration>
- </plugin>
- <plugin>
- <groupId>io.zipkin.centralsync-maven-plugin</groupId>
- <artifactId>centralsync-maven-plugin</artifactId>
- <version>${centralsync-maven-plugin.version}</version>
- <configuration>
- <subject>opentracing</subject>
- <repo>maven</repo>
- <packageName>opentracing-java</packageName>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eluder.coveralls</groupId>
- <artifactId>coveralls-maven-plugin</artifactId>
- <version>${coveralls-maven-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>prepare-agent</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <!-- Creates source jar -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>${maven-source-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Creates javadoc jar, skipping internal classes -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
- <configuration>
- <failOnError>false</failOnError>
- <excludePackageNames>io.opentracing.internal,io.opentracing.internal.*
- </excludePackageNames>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|