xref: /aosp_15_r20/external/grpc-grpc-java/examples/example-tls/pom.xml (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1*e07d83d3SAndroid Build Coastguard Worker<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2*e07d83d3SAndroid Build Coastguard Worker  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3*e07d83d3SAndroid Build Coastguard Worker  <modelVersion>4.0.0</modelVersion>
4*e07d83d3SAndroid Build Coastguard Worker  <groupId>io.grpc</groupId>
5*e07d83d3SAndroid Build Coastguard Worker  <artifactId>example-tls</artifactId>
6*e07d83d3SAndroid Build Coastguard Worker  <packaging>jar</packaging>
7*e07d83d3SAndroid Build Coastguard Worker  <!-- Feel free to delete the comment at the end of these lines. It is just
8*e07d83d3SAndroid Build Coastguard Worker       for safely updating the version in our release process. -->
9*e07d83d3SAndroid Build Coastguard Worker  <version>1.56.1-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
10*e07d83d3SAndroid Build Coastguard Worker  <name>example-tls</name>
11*e07d83d3SAndroid Build Coastguard Worker  <url>https://github.com/grpc/grpc-java</url>
12*e07d83d3SAndroid Build Coastguard Worker
13*e07d83d3SAndroid Build Coastguard Worker  <properties>
14*e07d83d3SAndroid Build Coastguard Worker    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15*e07d83d3SAndroid Build Coastguard Worker    <grpc.version>1.56.1-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
16*e07d83d3SAndroid Build Coastguard Worker    <protoc.version>3.22.3</protoc.version>
17*e07d83d3SAndroid Build Coastguard Worker    <!-- required for jdk9 -->
18*e07d83d3SAndroid Build Coastguard Worker    <maven.compiler.source>1.8</maven.compiler.source>
19*e07d83d3SAndroid Build Coastguard Worker    <maven.compiler.target>1.8</maven.compiler.target>
20*e07d83d3SAndroid Build Coastguard Worker  </properties>
21*e07d83d3SAndroid Build Coastguard Worker
22*e07d83d3SAndroid Build Coastguard Worker  <dependencyManagement>
23*e07d83d3SAndroid Build Coastguard Worker    <dependencies>
24*e07d83d3SAndroid Build Coastguard Worker      <dependency>
25*e07d83d3SAndroid Build Coastguard Worker        <groupId>io.grpc</groupId>
26*e07d83d3SAndroid Build Coastguard Worker        <artifactId>grpc-bom</artifactId>
27*e07d83d3SAndroid Build Coastguard Worker        <version>${grpc.version}</version>
28*e07d83d3SAndroid Build Coastguard Worker        <type>pom</type>
29*e07d83d3SAndroid Build Coastguard Worker        <scope>import</scope>
30*e07d83d3SAndroid Build Coastguard Worker      </dependency>
31*e07d83d3SAndroid Build Coastguard Worker    </dependencies>
32*e07d83d3SAndroid Build Coastguard Worker  </dependencyManagement>
33*e07d83d3SAndroid Build Coastguard Worker
34*e07d83d3SAndroid Build Coastguard Worker  <dependencies>
35*e07d83d3SAndroid Build Coastguard Worker    <dependency>
36*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
37*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-protobuf</artifactId>
38*e07d83d3SAndroid Build Coastguard Worker    </dependency>
39*e07d83d3SAndroid Build Coastguard Worker    <dependency>
40*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
41*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-stub</artifactId>
42*e07d83d3SAndroid Build Coastguard Worker    </dependency>
43*e07d83d3SAndroid Build Coastguard Worker    <dependency>
44*e07d83d3SAndroid Build Coastguard Worker      <groupId>org.apache.tomcat</groupId>
45*e07d83d3SAndroid Build Coastguard Worker      <artifactId>annotations-api</artifactId>
46*e07d83d3SAndroid Build Coastguard Worker      <version>6.0.53</version>
47*e07d83d3SAndroid Build Coastguard Worker      <scope>provided</scope> <!-- not needed at runtime -->
48*e07d83d3SAndroid Build Coastguard Worker    </dependency>
49*e07d83d3SAndroid Build Coastguard Worker    <dependency>
50*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
51*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-netty-shaded</artifactId>
52*e07d83d3SAndroid Build Coastguard Worker    </dependency>
53*e07d83d3SAndroid Build Coastguard Worker  </dependencies>
54*e07d83d3SAndroid Build Coastguard Worker
55*e07d83d3SAndroid Build Coastguard Worker  <build>
56*e07d83d3SAndroid Build Coastguard Worker    <extensions>
57*e07d83d3SAndroid Build Coastguard Worker      <extension>
58*e07d83d3SAndroid Build Coastguard Worker        <groupId>kr.motd.maven</groupId>
59*e07d83d3SAndroid Build Coastguard Worker        <artifactId>os-maven-plugin</artifactId>
60*e07d83d3SAndroid Build Coastguard Worker        <version>1.7.1</version>
61*e07d83d3SAndroid Build Coastguard Worker      </extension>
62*e07d83d3SAndroid Build Coastguard Worker    </extensions>
63*e07d83d3SAndroid Build Coastguard Worker    <plugins>
64*e07d83d3SAndroid Build Coastguard Worker      <plugin>
65*e07d83d3SAndroid Build Coastguard Worker        <groupId>org.xolstice.maven.plugins</groupId>
66*e07d83d3SAndroid Build Coastguard Worker        <artifactId>protobuf-maven-plugin</artifactId>
67*e07d83d3SAndroid Build Coastguard Worker        <version>0.6.1</version>
68*e07d83d3SAndroid Build Coastguard Worker        <configuration>
69*e07d83d3SAndroid Build Coastguard Worker          <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
70*e07d83d3SAndroid Build Coastguard Worker          <pluginId>grpc-java</pluginId>
71*e07d83d3SAndroid Build Coastguard Worker          <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
72*e07d83d3SAndroid Build Coastguard Worker        </configuration>
73*e07d83d3SAndroid Build Coastguard Worker        <executions>
74*e07d83d3SAndroid Build Coastguard Worker          <execution>
75*e07d83d3SAndroid Build Coastguard Worker            <goals>
76*e07d83d3SAndroid Build Coastguard Worker              <goal>compile</goal>
77*e07d83d3SAndroid Build Coastguard Worker              <goal>compile-custom</goal>
78*e07d83d3SAndroid Build Coastguard Worker            </goals>
79*e07d83d3SAndroid Build Coastguard Worker          </execution>
80*e07d83d3SAndroid Build Coastguard Worker        </executions>
81*e07d83d3SAndroid Build Coastguard Worker      </plugin>
82*e07d83d3SAndroid Build Coastguard Worker      <plugin>
83*e07d83d3SAndroid Build Coastguard Worker        <groupId>org.apache.maven.plugins</groupId>
84*e07d83d3SAndroid Build Coastguard Worker        <artifactId>maven-enforcer-plugin</artifactId>
85*e07d83d3SAndroid Build Coastguard Worker        <version>1.4.1</version>
86*e07d83d3SAndroid Build Coastguard Worker        <executions>
87*e07d83d3SAndroid Build Coastguard Worker          <execution>
88*e07d83d3SAndroid Build Coastguard Worker            <id>enforce</id>
89*e07d83d3SAndroid Build Coastguard Worker            <goals>
90*e07d83d3SAndroid Build Coastguard Worker              <goal>enforce</goal>
91*e07d83d3SAndroid Build Coastguard Worker            </goals>
92*e07d83d3SAndroid Build Coastguard Worker            <configuration>
93*e07d83d3SAndroid Build Coastguard Worker              <rules>
94*e07d83d3SAndroid Build Coastguard Worker                <requireUpperBoundDeps/>
95*e07d83d3SAndroid Build Coastguard Worker              </rules>
96*e07d83d3SAndroid Build Coastguard Worker            </configuration>
97*e07d83d3SAndroid Build Coastguard Worker          </execution>
98*e07d83d3SAndroid Build Coastguard Worker        </executions>
99*e07d83d3SAndroid Build Coastguard Worker      </plugin>
100*e07d83d3SAndroid Build Coastguard Worker    </plugins>
101*e07d83d3SAndroid Build Coastguard Worker  </build>
102*e07d83d3SAndroid Build Coastguard Worker</project>
103