|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +Copyright 2021 Google LLC |
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +Unless required by applicable law or agreed to in writing, software |
| 9 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | +See the License for the specific language governing permissions and |
| 12 | +limitations under the License. |
| 13 | +--> |
| 14 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 15 | + <modelVersion>4.0.0</modelVersion> |
| 16 | + <groupId>com.example.cloudrun</groupId> |
| 17 | + <artifactId>idp-sql</artifactId> |
| 18 | + <version>0.0.1-SNAPSHOT</version> |
| 19 | + <packaging>jar</packaging> |
| 20 | + |
| 21 | + <!-- The parent pom defines common style checks and testing strategies for our samples. |
| 22 | + Removing or replacing it should not affect the execution of the samples in anyway. --> |
| 23 | + |
| 24 | + <parent> |
| 25 | + <groupId>com.google.cloud.samples</groupId> |
| 26 | + <artifactId>shared-configuration</artifactId> |
| 27 | + <version>1.0.18</version> |
| 28 | + </parent> |
| 29 | + |
| 30 | + <properties> |
| 31 | + <maven.compiler.target>11</maven.compiler.target> |
| 32 | + <maven.compiler.source>11</maven.compiler.source> |
| 33 | + </properties> |
| 34 | + |
| 35 | + <dependencyManagement> |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <!-- Import dependency management from Spring Boot --> |
| 39 | + <groupId>org.springframework.boot</groupId> |
| 40 | + <artifactId>spring-boot-dependencies</artifactId> |
| 41 | + <version>2.4.1</version> |
| 42 | + <type>pom</type> |
| 43 | + <scope>import</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.cloud</groupId> |
| 47 | + <artifactId>spring-cloud-dependencies</artifactId> |
| 48 | + <version>Hoxton.SR8</version> |
| 49 | + <type>pom</type> |
| 50 | + <scope>import</scope> |
| 51 | + </dependency> |
| 52 | + </dependencies> |
| 53 | + </dependencyManagement> |
| 54 | + |
| 55 | + <dependencies> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework.boot</groupId> |
| 58 | + <artifactId>spring-boot-starter-web</artifactId> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.springframework.boot</groupId> |
| 62 | + <artifactId>spring-boot-starter-jdbc</artifactId> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>org.springframework.boot</groupId> |
| 66 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.springframework.cloud</groupId> |
| 70 | + <artifactId>spring-cloud-gcp-starter</artifactId> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>org.springframework.cloud</groupId> |
| 74 | + <artifactId>spring-cloud-gcp-starter-sql-postgresql</artifactId> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.springframework.cloud</groupId> |
| 78 | + <artifactId>spring-cloud-gcp-starter-logging</artifactId> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>net.logstash.logback</groupId> |
| 82 | + <artifactId>logstash-logback-encoder</artifactId> |
| 83 | + <version>6.5</version> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>ch.qos.logback.contrib</groupId> |
| 87 | + <artifactId>logback-json-classic</artifactId> |
| 88 | + <version>0.1.5</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>ch.qos.logback.contrib</groupId> |
| 92 | + <artifactId>logback-jackson</artifactId> |
| 93 | + <version>0.1.5</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>com.google.firebase</groupId> |
| 97 | + <artifactId>firebase-admin</artifactId> |
| 98 | + <version>7.1.0</version> |
| 99 | + </dependency> |
| 100 | + <dependency> |
| 101 | + <groupId>com.google.cloud</groupId> |
| 102 | + <artifactId>google-cloud-secretmanager</artifactId> |
| 103 | + <version>1.2.6</version> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>org.projectlombok</groupId> |
| 107 | + <artifactId>lombok</artifactId> |
| 108 | + <version>1.18.16</version> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>com.squareup.okhttp3</groupId> |
| 112 | + <artifactId>okhttp</artifactId> |
| 113 | + <version>4.10.0-RC1</version> |
| 114 | + </dependency> |
| 115 | + <dependency> |
| 116 | + <groupId>com.google.gms</groupId> |
| 117 | + <artifactId>google-services</artifactId> |
| 118 | + <version>3.1.1</version> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>org.springframework.boot</groupId> |
| 122 | + <artifactId>spring-boot-starter-test</artifactId> |
| 123 | + <scope>test</scope> |
| 124 | + </dependency> |
| 125 | + <dependency> |
| 126 | + <groupId>junit</groupId> |
| 127 | + <artifactId>junit</artifactId> |
| 128 | + <version>4.13</version> |
| 129 | + <scope>test</scope> |
| 130 | + </dependency> |
| 131 | + </dependencies> |
| 132 | + |
| 133 | + <build> |
| 134 | + <plugins> |
| 135 | + <plugin> |
| 136 | + <groupId>org.springframework.boot</groupId> |
| 137 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 138 | + </plugin> |
| 139 | + <!-- [START cloudrun_user_auth_jib] --> |
| 140 | + <plugin> |
| 141 | + <groupId>com.google.cloud.tools</groupId> |
| 142 | + <artifactId>jib-maven-plugin</artifactId> |
| 143 | + <version>2.7.1</version> |
| 144 | + <configuration> |
| 145 | + <to> |
| 146 | + <image>gcr.io/PROJECT_ID/idp-sql</image> |
| 147 | + </to> |
| 148 | + </configuration> |
| 149 | + </plugin> |
| 150 | + <!-- [END cloudrun_user_auth_jib] --> |
| 151 | + </plugins> |
| 152 | + </build> |
| 153 | + |
| 154 | +</project> |
0 commit comments