1<project xmlns="http://maven.apache.org/POM/4.0.0"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>com.google.auth.samples</groupId> 4 <artifactId>authsamples</artifactId> 5 <version>1.0.0</version> 6 <name>auth-samples</name> 7 8 9 <!-- 10 The parent pom defines common style checks and testing strategies for our samples. 11 Removing or replacing it should not affect the execution of the samples in any way. 12 --> 13 <parent> 14 <groupId>com.google.cloud.samples</groupId> 15 <artifactId>shared-configuration</artifactId> 16 <version>1.2.0</version> 17 </parent> 18 19 <properties> 20 <maven.compiler.target>1.8</maven.compiler.target> 21 <maven.compiler.source>1.8</maven.compiler.source> 22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 23 </properties> 24 25 <!-- START dependencies --> 26 <!-- Using libraries-bom to manage versions. 27 See https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM --> 28 <dependencyManagement> 29 <dependencies> 30 <dependency> 31 <groupId>com.google.cloud</groupId> 32 <artifactId>libraries-bom</artifactId> 33 <version>26.26.0</version> 34 <type>pom</type> 35 <scope>import</scope> 36 </dependency> 37 </dependencies> 38 </dependencyManagement> 39 40 41 <dependencies> 42<!-- OAuth dependency--> 43 <dependency> 44 <groupId>com.google.auth</groupId> 45 <artifactId>google-auth-library-oauth2-http</artifactId> 46 <version>1.20.0</version> 47 </dependency> 48 49<!-- IAM dependency--> 50 <dependency> 51 <groupId>com.google.cloud</groupId> 52 <artifactId>google-iam-admin</artifactId> 53 <version>3.24.0</version> 54 </dependency> 55 56<!-- GCloud dependency--> 57 <dependency> 58 <groupId>com.google.cloud</groupId> 59 <artifactId>google-cloud-compute</artifactId> 60 </dependency> 61 <dependency> 62 <groupId>com.google.cloud</groupId> 63 <artifactId>google-cloud-storage</artifactId> 64 </dependency> 65 66<!-- Test dependencies--> 67 <dependency> 68 <groupId>junit</groupId> 69 <artifactId>junit</artifactId> 70 <version>4.13.2</version> 71 <scope>test</scope> 72 </dependency> 73 <dependency> 74 <artifactId>truth</artifactId> 75 <groupId>com.google.truth</groupId> 76 <scope>test</scope> 77 <version>1.1.5</version> 78 </dependency> 79 80 </dependencies> 81 82</project> 83 84