xref: /aosp_15_r20/external/grpc-grpc-java/examples/example-gauth/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-gauth</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-gauth</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    <protobuf.version>3.22.3</protobuf.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-netty-shaded</artifactId>
38*e07d83d3SAndroid Build Coastguard Worker      <scope>runtime</scope>
39*e07d83d3SAndroid Build Coastguard Worker    </dependency>
40*e07d83d3SAndroid Build Coastguard Worker    <dependency>
41*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
42*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-protobuf</artifactId>
43*e07d83d3SAndroid Build Coastguard Worker    </dependency>
44*e07d83d3SAndroid Build Coastguard Worker    <dependency>
45*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
46*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-stub</artifactId>
47*e07d83d3SAndroid Build Coastguard Worker    </dependency>
48*e07d83d3SAndroid Build Coastguard Worker    <dependency>
49*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
50*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-auth</artifactId>
51*e07d83d3SAndroid Build Coastguard Worker    </dependency>
52*e07d83d3SAndroid Build Coastguard Worker    <dependency>
53*e07d83d3SAndroid Build Coastguard Worker      <groupId>org.apache.tomcat</groupId>
54*e07d83d3SAndroid Build Coastguard Worker      <artifactId>annotations-api</artifactId>
55*e07d83d3SAndroid Build Coastguard Worker      <version>6.0.53</version>
56*e07d83d3SAndroid Build Coastguard Worker      <scope>provided</scope> <!-- not needed at runtime -->
57*e07d83d3SAndroid Build Coastguard Worker    </dependency>
58*e07d83d3SAndroid Build Coastguard Worker    <dependency>
59*e07d83d3SAndroid Build Coastguard Worker      <groupId>io.grpc</groupId>
60*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-testing</artifactId>
61*e07d83d3SAndroid Build Coastguard Worker      <scope>test</scope>
62*e07d83d3SAndroid Build Coastguard Worker    </dependency>
63*e07d83d3SAndroid Build Coastguard Worker    <dependency>
64*e07d83d3SAndroid Build Coastguard Worker      <groupId>com.google.auth</groupId>
65*e07d83d3SAndroid Build Coastguard Worker      <artifactId>google-auth-library-oauth2-http</artifactId>
66*e07d83d3SAndroid Build Coastguard Worker      <version>0.9.0</version>
67*e07d83d3SAndroid Build Coastguard Worker    </dependency>
68*e07d83d3SAndroid Build Coastguard Worker    <dependency>
69*e07d83d3SAndroid Build Coastguard Worker      <groupId>com.google.api.grpc</groupId>
70*e07d83d3SAndroid Build Coastguard Worker      <artifactId>grpc-google-cloud-pubsub-v1</artifactId>
71*e07d83d3SAndroid Build Coastguard Worker      <version>0.1.24</version>
72*e07d83d3SAndroid Build Coastguard Worker    </dependency>
73*e07d83d3SAndroid Build Coastguard Worker    <dependency>
74*e07d83d3SAndroid Build Coastguard Worker      <groupId>junit</groupId>
75*e07d83d3SAndroid Build Coastguard Worker      <artifactId>junit</artifactId>
76*e07d83d3SAndroid Build Coastguard Worker      <version>4.13.2</version>
77*e07d83d3SAndroid Build Coastguard Worker      <scope>test</scope>
78*e07d83d3SAndroid Build Coastguard Worker    </dependency>
79*e07d83d3SAndroid Build Coastguard Worker    <dependency>
80*e07d83d3SAndroid Build Coastguard Worker      <groupId>org.mockito</groupId>
81*e07d83d3SAndroid Build Coastguard Worker      <artifactId>mockito-core</artifactId>
82*e07d83d3SAndroid Build Coastguard Worker      <version>3.4.0</version>
83*e07d83d3SAndroid Build Coastguard Worker      <scope>test</scope>
84*e07d83d3SAndroid Build Coastguard Worker    </dependency>
85*e07d83d3SAndroid Build Coastguard Worker  </dependencies>
86*e07d83d3SAndroid Build Coastguard Worker
87*e07d83d3SAndroid Build Coastguard Worker  <build>
88*e07d83d3SAndroid Build Coastguard Worker    <extensions>
89*e07d83d3SAndroid Build Coastguard Worker      <extension>
90*e07d83d3SAndroid Build Coastguard Worker        <groupId>kr.motd.maven</groupId>
91*e07d83d3SAndroid Build Coastguard Worker        <artifactId>os-maven-plugin</artifactId>
92*e07d83d3SAndroid Build Coastguard Worker        <version>1.7.1</version>
93*e07d83d3SAndroid Build Coastguard Worker      </extension>
94*e07d83d3SAndroid Build Coastguard Worker    </extensions>
95*e07d83d3SAndroid Build Coastguard Worker    <plugins>
96*e07d83d3SAndroid Build Coastguard Worker      <plugin>
97*e07d83d3SAndroid Build Coastguard Worker        <groupId>org.apache.maven.plugins</groupId>
98*e07d83d3SAndroid Build Coastguard Worker        <artifactId>maven-enforcer-plugin</artifactId>
99*e07d83d3SAndroid Build Coastguard Worker        <version>1.4.1</version>
100*e07d83d3SAndroid Build Coastguard Worker        <executions>
101*e07d83d3SAndroid Build Coastguard Worker          <execution>
102*e07d83d3SAndroid Build Coastguard Worker            <id>enforce</id>
103*e07d83d3SAndroid Build Coastguard Worker            <goals>
104*e07d83d3SAndroid Build Coastguard Worker              <goal>enforce</goal>
105*e07d83d3SAndroid Build Coastguard Worker            </goals>
106*e07d83d3SAndroid Build Coastguard Worker            <configuration>
107*e07d83d3SAndroid Build Coastguard Worker              <rules>
108*e07d83d3SAndroid Build Coastguard Worker                <requireUpperBoundDeps/>
109*e07d83d3SAndroid Build Coastguard Worker              </rules>
110*e07d83d3SAndroid Build Coastguard Worker            </configuration>
111*e07d83d3SAndroid Build Coastguard Worker          </execution>
112*e07d83d3SAndroid Build Coastguard Worker        </executions>
113*e07d83d3SAndroid Build Coastguard Worker      </plugin>
114*e07d83d3SAndroid Build Coastguard Worker    </plugins>
115*e07d83d3SAndroid Build Coastguard Worker  </build>
116*e07d83d3SAndroid Build Coastguard Worker</project>
117