| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You 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>org.apache.skywalking</groupId> |
| <artifactId>banyandb-java-client</artifactId> |
| <version>0.6.0-SNAPSHOT</version> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| <relativePath /> |
| </parent> |
| |
| <packaging>jar</packaging> |
| |
| <name>banyandb-java-client</name> |
| <url>https://github.com/apache/skywalking-banyandb-java-client</url> |
| |
| <scm> |
| <url>https://github.com/apache/skywalking-banyandb-java-client</url> |
| <connection>scm:git:https://github.com/apache/skywalking-banyandb-java-client.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/apache/skywalking-banyandb-java-client.git</developerConnection> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <issueManagement> |
| <system>GitHub</system> |
| <url>https://github.com/apache/skywalking/issues</url> |
| </issueManagement> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>SkyWalking Developer List</name> |
| <post>dev@skywalking.apache.org</post> |
| <subscribe>dev-subscribe@skywalking.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@skywalking.apache.org</unsubscribe> |
| </mailingList> |
| <mailingList> |
| <name>SkyWalking Commits</name> |
| <post>commits@skywalking.apache.org</post> |
| <subscribe>commits-subscribe@skywalking.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@skywalking.apache.org</unsubscribe> |
| </mailingList> |
| </mailingLists> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <compiler.version>1.8</compiler.version> |
| <powermock.version>2.0.9</powermock.version> |
| <checkstyle.version>6.18</checkstyle.version> |
| <junit.version>4.13.2</junit.version> |
| <mockito-core.version>4.8.0</mockito-core.version> |
| <lombok.version>1.18.30</lombok.version> |
| |
| <!-- core lib dependency --> |
| <bytebuddy.version>1.10.19</bytebuddy.version> |
| <!-- grpc version should align with the Skywalking main repo --> |
| <grpc.version>1.63.0</grpc.version> |
| <protoc.version>3.25.3</protoc.version> |
| <os-maven-plugin.version>1.7.1</os-maven-plugin.version> |
| <protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version> |
| <netty.tcnative.version>2.0.65.Final</netty.tcnative.version> |
| <javax.annotation-api.version>1.3.2</javax.annotation-api.version> |
| <auto-value.version>1.10.4</auto-value.version> |
| <testcontainers.version>1.19.7</testcontainers.version> |
| <awaitility.version>4.2.1</awaitility.version> |
| <bufbuild.protoc-gen-validate.version>0.6.13</bufbuild.protoc-gen-validate.version> |
| <!-- necessary for Java 9+ --> |
| <org.apache.tomcat.annotations-api.version>6.0.53</org.apache.tomcat.annotations-api.version> |
| <slf4j.version>1.7.36</slf4j.version> |
| |
| <!-- Plugin versions --> |
| <docker.plugin.version>0.4.13</docker.plugin.version> |
| <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version> |
| <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |
| <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version> |
| <maven-dependency-plugin.version>2.10</maven-dependency-plugin.version> |
| <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> |
| <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version> |
| <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version> |
| <build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version> |
| <maven-jar-plugin.version>3.1.0</maven-jar-plugin.version> |
| <maven-enforcer-plugin.version>3.0.0-M2</maven-enforcer-plugin.version> |
| <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> |
| <maven-resource-plugin.version>3.1.0</maven-resource-plugin.version> |
| <maven-source-plugin.version>3.0.1</maven-source-plugin.version> |
| <versions-maven-plugin.version>2.5</versions-maven-plugin.version> |
| <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version> |
| <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> |
| <jmh.version>1.21</jmh.version> |
| <checkstyle.fails.on.error>true</checkstyle.fails.on.error> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-netty</artifactId> |
| <version>${grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-protobuf</artifactId> |
| <version>${grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-stub</artifactId> |
| <version>${grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-tcnative-boringssl-static</artifactId> |
| <version>${netty.tcnative.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> <!-- necessary for Java 9+ --> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>annotations-api</artifactId> |
| <version>${org.apache.tomcat.annotations-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>build.buf.protoc-gen-validate</groupId> |
| <artifactId>protoc-gen-validate</artifactId> |
| <version>${bufbuild.protoc-gen-validate.version}</version> |
| <type>pom</type> |
| </dependency> |
| <dependency> |
| <groupId>build.buf.protoc-gen-validate</groupId> |
| <artifactId>pgv-java-stub</artifactId> |
| <version>${bufbuild.protoc-gen-validate.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.auto.value</groupId> |
| <artifactId>auto-value-annotations</artifactId> |
| <version>${auto-value.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-testing</artifactId> |
| <version>${grpc.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <version>${awaitility.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers</artifactId> |
| <version>${testcontainers.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito-core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>${javax.annotation-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.21.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>kr.motd.maven</groupId> |
| <artifactId>os-maven-plugin</artifactId> |
| <version>${os-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>initialize</phase> |
| <goals> |
| <goal>detect</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.xolstice.maven.plugins</groupId> |
| <artifactId>protobuf-maven-plugin</artifactId> |
| <version>${protobuf-maven-plugin.version}</version> |
| <configuration> |
| <!-- |
| The version of protoc must match protobuf-java. If you don't depend on |
| protobuf-java directly, you will be transitively depending on the |
| protobuf-java version that grpc depends on. |
| --> |
| <protocArtifact> |
| com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier} |
| </protocArtifact> |
| <pluginId>grpc-java</pluginId> |
| <pluginArtifact> |
| io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} |
| </pluginArtifact> |
| </configuration> |
| <executions> |
| <execution> |
| <id>grpc-build</id> |
| <goals> |
| <goal>compile</goal> |
| <goal>compile-custom</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>protoc-java-pgv</id> |
| <goals> |
| <goal>compile-custom</goal> |
| </goals> |
| <configuration> |
| <pluginParameter>lang=java</pluginParameter> |
| <pluginId>java-pgv</pluginId> |
| <pluginArtifact>build.buf.protoc-gen-validate:protoc-gen-validate:${bufbuild.protoc-gen-validate.version}:exe:${os.detected.classifier}</pluginArtifact> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>${maven-enforcer-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>enforce-java</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <phase>validate</phase> |
| <configuration> |
| <rules> |
| <requireJavaVersion> |
| <!-- Build has not yet been updated for Java 9+ --> |
| <version>1.8</version> |
| </requireJavaVersion> |
| <requireMavenVersion> |
| <version>3.6</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| <configuration> |
| <source>${compiler.version}</source> |
| <target>${compiler.version}</target> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| </path> |
| <path> |
| <groupId>com.github.reggar</groupId> |
| <artifactId>auto-value-ignore-hash-equals</artifactId> |
| <version>1.1.4</version> |
| </path> |
| <path> |
| <groupId>com.google.auto.value</groupId> |
| <artifactId>auto-value</artifactId> |
| <version>${auto-value.version}</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resource-plugin.version}</version> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.spotify</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>${docker.plugin.version}</version> |
| <configuration> |
| <skipDocker>true</skipDocker> |
| </configuration> |
| </plugin> |
| <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> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <configuration> |
| <configLocation>${maven.multiModuleProjectDirectory}/apm-checkstyle/checkStyle.xml</configLocation> |
| <headerLocation>${maven.multiModuleProjectDirectory}/apm-checkstyle/CHECKSTYLE_HEAD</headerLocation> |
| <encoding>UTF-8</encoding> |
| <consoleOutput>true</consoleOutput> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <failOnViolation>${checkstyle.fails.on.error}</failOnViolation> |
| <sourceDirectories> |
| <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| </sourceDirectories> |
| <resourceIncludes> |
| **/*.properties, |
| **/*.sh, |
| **/*.bat, |
| **/*.yml, |
| **/*.yaml, |
| **/*.xml |
| </resourceIncludes> |
| <resourceExcludes> |
| **/.asf.yaml, |
| **/.github/** |
| </resourceExcludes> |
| <excludes> |
| **/target/generated-test-sources/**, |
| org/apache/skywalking/apm/network/register/v2/**/*.java, |
| org/apache/skywalking/apm/network/common/**/*.java, |
| org/apache/skywalking/apm/network/servicemesh/**/*.java, |
| org/apache/skywalking/apm/network/language/**/*.java, |
| org/apache/skywalking/oap/server/core/remote/grpc/proto/*.java, |
| org/apache/skywalking/oal/rt/grammar/*.java, |
| org/apache/skywalking/oap/server/exporter/grpc/*.java, |
| org/apache/skywalking/oap/server/configuration/service/*.java, |
| **/generated/*_jmhType*.java, |
| **/generated/*_jmhTest.java |
| </excludes> |
| <propertyExpansion> |
| import.control=${maven.multiModuleProjectDirectory}/apm-checkstyle/importControl.xml |
| </propertyExpansion> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |