vitess.io/vitess@v0.16.2/java/grpc-client/pom.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4    <modelVersion>4.0.0</modelVersion>
     5    <parent>
     6      <groupId>io.vitess</groupId>
     7      <artifactId>vitess-parent</artifactId>
     8      <version>16.0.2</version>
     9    </parent>
    10    <artifactId>vitess-grpc-client</artifactId>
    11  
    12    <dependencies>
    13      <dependency>
    14        <groupId>com.google.code.findbugs</groupId>
    15        <artifactId>jsr305</artifactId>
    16      </dependency>
    17      <dependency>
    18        <groupId>com.google.guava</groupId>
    19        <artifactId>guava</artifactId>
    20      </dependency>
    21      <dependency>
    22        <groupId>com.google.protobuf</groupId>
    23        <artifactId>protobuf-java</artifactId>
    24      </dependency>
    25      <dependency>
    26        <groupId>javax.annotation</groupId>
    27        <artifactId>javax.annotation-api</artifactId>
    28      </dependency>
    29  
    30      <dependency>
    31        <groupId>io.grpc</groupId>
    32        <artifactId>grpc-core</artifactId>
    33      </dependency>
    34      <dependency>
    35        <groupId>io.grpc</groupId>
    36        <artifactId>grpc-netty</artifactId>
    37      </dependency>
    38      <dependency>
    39        <groupId>io.grpc</groupId>
    40        <artifactId>grpc-stub</artifactId>
    41      </dependency>
    42      <dependency>
    43        <groupId>io.grpc</groupId>
    44        <artifactId>grpc-protobuf</artifactId>
    45      </dependency>
    46      <dependency>
    47        <groupId>io.grpc</groupId>
    48        <artifactId>grpc-context</artifactId>
    49      </dependency>
    50      <dependency>
    51        <groupId>io.grpc</groupId>
    52        <artifactId>grpc-api</artifactId>
    53      </dependency>
    54      <dependency>
    55        <groupId>io.netty</groupId>
    56        <artifactId>netty-handler</artifactId>
    57      </dependency>
    58      <dependency>
    59        <groupId>io.netty</groupId>
    60        <artifactId>netty-tcnative-boringssl-static</artifactId>
    61      </dependency>
    62      <dependency>
    63        <groupId>io.vitess</groupId>
    64        <artifactId>vitess-client</artifactId>
    65      </dependency>
    66      <dependency>
    67        <groupId>io.vitess</groupId>
    68        <artifactId>vitess-client</artifactId>
    69        <type>test-jar</type>
    70        <scope>test</scope>
    71      </dependency>
    72  
    73      <dependency>
    74        <groupId>joda-time</groupId>
    75        <artifactId>joda-time</artifactId>
    76      </dependency>
    77  
    78      <dependency>
    79        <groupId>io.opentracing.contrib</groupId>
    80        <artifactId>opentracing-grpc</artifactId>
    81        <version>0.0.12</version>
    82      </dependency>
    83  
    84      <!-- Dependencies with limited scope. -->
    85      <dependency>
    86        <groupId>junit</groupId>
    87        <artifactId>junit</artifactId>
    88        <scope>test</scope>
    89      </dependency>
    90    </dependencies>
    91  
    92    <build>
    93      <extensions>
    94        <extension>
    95          <groupId>kr.motd.maven</groupId>
    96          <artifactId>os-maven-plugin</artifactId>
    97          <version>1.2.3.Final</version>
    98        </extension>
    99      </extensions>
   100      <plugins>
   101        <plugin>
   102          <groupId>org.apache.maven.plugins</groupId>
   103          <artifactId>maven-surefire-plugin</artifactId>
   104          <version>2.22.1</version>
   105          <configuration>
   106            <!-- <argLine>${surefireArgLine}</argLine> -->
   107  		  <useManifestOnlyJar>false</useManifestOnlyJar>
   108  		  <useSystemClassLoader>true</useSystemClassLoader>
   109          </configuration>
   110        </plugin>	  
   111        <plugin>
   112          <groupId>org.xolstice.maven.plugins</groupId>
   113          <artifactId>protobuf-maven-plugin</artifactId>
   114          <version>0.6.1</version>
   115          <configuration>
   116            <protocArtifact>com.google.protobuf:protoc:${protobuf.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
   117            <pluginId>grpc-java</pluginId>
   118            <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
   119            <protoSourceRoot>../../proto</protoSourceRoot>
   120          </configuration>
   121          <executions>
   122            <execution>
   123              <goals>
   124                <goal>compile</goal>
   125                <goal>compile-custom</goal>
   126              </goals>
   127            </execution>
   128          </executions>
   129        </plugin>
   130        <!-- Exclusions for dependency:analyze: -->
   131        <plugin>
   132          <groupId>org.apache.maven.plugins</groupId>
   133          <artifactId>maven-dependency-plugin</artifactId>
   134          <configuration>
   135            <usedDependencies>
   136              <!-- If this is not imported, tests fail with "Jetty ALPN/NPN has not
   137                been properly configured." -->
   138              <usedDependency>io.netty:netty-tcnative-boringssl-static</usedDependency>
   139              <usedDependency>javax.annotation:javax.annotation-api</usedDependency>
   140            </usedDependencies>
   141          </configuration>
   142        </plugin>
   143      </plugins>
   144    </build>
   145  </project>