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