xref: /aosp_15_r20/external/grpc-grpc-java/examples/example-debug/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-debug</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-debug</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>io.grpc</groupId>
45*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-services</artifactId>
46*e07d83d3SAndroid Build Coastguard Worker    </dependency>
47*e07d83d3SAndroid Build Coastguard Worker    <dependency>
48*e07d83d3SAndroid Build Coastguard Worker      <groupId>org.apache.tomcat</groupId>
49*e07d83d3SAndroid Build Coastguard Worker      <artifactId>annotations-api</artifactId>
50*e07d83d3SAndroid Build Coastguard Worker      <version>6.0.53</version>
51*e07d83d3SAndroid Build Coastguard Worker      <scope>provided</scope> <!-- not needed at runtime -->
52*e07d83d3SAndroid Build Coastguard Worker    </dependency>
53*e07d83d3SAndroid Build Coastguard Worker    <dependency>
54*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
55*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-netty-shaded</artifactId>
56*e07d83d3SAndroid Build Coastguard Worker      <scope>runtime</scope>
57*e07d83d3SAndroid Build Coastguard Worker    </dependency>
58*e07d83d3SAndroid Build Coastguard Worker    <dependency> <!-- prevent downgrade of version in protobuf-java-util from grpc-services -->
59*e07d83d3SAndroid Build Coastguard Worker      <groupId>com.google.guava</groupId>
60*e07d83d3SAndroid Build Coastguard Worker      <artifactId>guava</artifactId>
61*e07d83d3SAndroid Build Coastguard Worker      <version>31.1-jre</version>
62*e07d83d3SAndroid Build Coastguard Worker    </dependency>
63*e07d83d3SAndroid Build Coastguard Worker    <dependency>
64*e07d83d3SAndroid Build Coastguard Worker      <groupId>junit</groupId>
65*e07d83d3SAndroid Build Coastguard Worker      <artifactId>junit</artifactId>
66*e07d83d3SAndroid Build Coastguard Worker      <version>4.13.2</version>
67*e07d83d3SAndroid Build Coastguard Worker      <scope>test</scope>
68*e07d83d3SAndroid Build Coastguard Worker    </dependency>
69*e07d83d3SAndroid Build Coastguard Worker    <dependency>
70*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
71*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-testing</artifactId>
72*e07d83d3SAndroid Build Coastguard Worker      <scope>test</scope>
73*e07d83d3SAndroid Build Coastguard Worker    </dependency>
74*e07d83d3SAndroid Build Coastguard Worker  </dependencies>
75*e07d83d3SAndroid Build Coastguard Worker
76*e07d83d3SAndroid Build Coastguard Worker  <build>
77*e07d83d3SAndroid Build Coastguard Worker    <extensions>
78*e07d83d3SAndroid Build Coastguard Worker      <extension>
79*e07d83d3SAndroid Build Coastguard Worker        <groupId>kr.motd.maven</groupId>
80*e07d83d3SAndroid Build Coastguard Worker        <artifactId>os-maven-plugin</artifactId>
81*e07d83d3SAndroid Build Coastguard Worker        <version>1.7.1</version>
82*e07d83d3SAndroid Build Coastguard Worker      </extension>
83*e07d83d3SAndroid Build Coastguard Worker    </extensions>
84*e07d83d3SAndroid Build Coastguard Worker    <plugins>
85*e07d83d3SAndroid Build Coastguard Worker      <plugin>
86*e07d83d3SAndroid Build Coastguard Worker        <groupId>org.xolstice.maven.plugins</groupId>
87*e07d83d3SAndroid Build Coastguard Worker        <artifactId>protobuf-maven-plugin</artifactId>
88*e07d83d3SAndroid Build Coastguard Worker        <version>0.6.1</version>
89*e07d83d3SAndroid Build Coastguard Worker        <configuration>
90*e07d83d3SAndroid Build Coastguard Worker          <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
91*e07d83d3SAndroid Build Coastguard Worker          <pluginId>grpc-java</pluginId>
92*e07d83d3SAndroid Build Coastguard Worker          <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
93*e07d83d3SAndroid Build Coastguard Worker        </configuration>
94*e07d83d3SAndroid Build Coastguard Worker        <executions>
95*e07d83d3SAndroid Build Coastguard Worker          <execution>
96*e07d83d3SAndroid Build Coastguard Worker            <goals>
97*e07d83d3SAndroid Build Coastguard Worker              <goal>compile</goal>
98*e07d83d3SAndroid Build Coastguard Worker              <goal>compile-custom</goal>
99*e07d83d3SAndroid Build Coastguard Worker            </goals>
100*e07d83d3SAndroid Build Coastguard Worker          </execution>
101*e07d83d3SAndroid Build Coastguard Worker        </executions>
102*e07d83d3SAndroid Build Coastguard Worker      </plugin>
103*e07d83d3SAndroid Build Coastguard Worker      <plugin>
104*e07d83d3SAndroid Build Coastguard Worker        <groupId>org.apache.maven.plugins</groupId>
105*e07d83d3SAndroid Build Coastguard Worker        <artifactId>maven-enforcer-plugin</artifactId>
106*e07d83d3SAndroid Build Coastguard Worker        <version>1.4.1</version>
107*e07d83d3SAndroid Build Coastguard Worker        <executions>
108*e07d83d3SAndroid Build Coastguard Worker          <execution>
109*e07d83d3SAndroid Build Coastguard Worker            <id>enforce</id>
110*e07d83d3SAndroid Build Coastguard Worker            <goals>
111*e07d83d3SAndroid Build Coastguard Worker              <goal>enforce</goal>
112*e07d83d3SAndroid Build Coastguard Worker            </goals>
113*e07d83d3SAndroid Build Coastguard Worker            <configuration>
114*e07d83d3SAndroid Build Coastguard Worker              <rules>
115*e07d83d3SAndroid Build Coastguard Worker                <requireUpperBoundDeps/>
116*e07d83d3SAndroid Build Coastguard Worker              </rules>
117*e07d83d3SAndroid Build Coastguard Worker            </configuration>
118*e07d83d3SAndroid Build Coastguard Worker          </execution>
119*e07d83d3SAndroid Build Coastguard Worker        </executions>
120*e07d83d3SAndroid Build Coastguard Worker      </plugin>
121*e07d83d3SAndroid Build Coastguard Worker    </plugins>
122*e07d83d3SAndroid Build Coastguard Worker  </build>
123*e07d83d3SAndroid Build Coastguard Worker</project>
124