|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.google.cloud</groupId> |
| 5 | + <artifactId>google-cloud-bigtable-test-proxy</artifactId> |
| 6 | + <version>1.0</version> |
| 7 | + <packaging>jar</packaging> |
| 8 | + <name>Google Cloud Bigtable Test Proxy</name> |
| 9 | + <url>https://github.com/googleapis/java-bigtable</url> |
| 10 | + |
| 11 | + <parent> |
| 12 | + <artifactId>google-cloud-bigtable-parent</artifactId> |
| 13 | + <groupId>com.google.cloud</groupId> |
| 14 | + <version>2.15.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigtable:current} --> |
| 15 | + </parent> |
| 16 | + |
| 17 | + <dependencyManagement> |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>com.google.cloud</groupId> |
| 21 | + <artifactId>google-cloud-bigtable-bom</artifactId> |
| 22 | + <version>2.15.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigtable:current} --> |
| 23 | + <type>pom</type> |
| 24 | + <scope>import</scope> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>com.google.cloud</groupId> |
| 28 | + <artifactId>google-cloud-bigtable-deps-bom</artifactId> |
| 29 | + <version>2.15.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigtable:current} --> |
| 30 | + <type>pom</type> |
| 31 | + <scope>import</scope> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>com.google.auto.value</groupId> |
| 35 | + <artifactId>auto-value</artifactId> |
| 36 | + <version>1.9</version> |
| 37 | + </dependency> |
| 38 | + </dependencies> |
| 39 | + </dependencyManagement> |
| 40 | + |
| 41 | + <dependencies> |
| 42 | + <dependency> |
| 43 | + <groupId>com.google.cloud</groupId> |
| 44 | + <artifactId>google-cloud-bigtable</artifactId> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>io.grpc</groupId> |
| 48 | + <artifactId>grpc-netty</artifactId> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>io.grpc</groupId> |
| 52 | + <artifactId>grpc-stub</artifactId> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>com.google.protobuf</groupId> |
| 56 | + <artifactId>protobuf-java</artifactId> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>com.google.auto.value</groupId> |
| 60 | + <artifactId>auto-value</artifactId> |
| 61 | + </dependency> |
| 62 | + </dependencies> |
| 63 | + |
| 64 | + <build> |
| 65 | + <extensions> |
| 66 | + <extension> |
| 67 | + <groupId>kr.motd.maven</groupId> |
| 68 | + <artifactId>os-maven-plugin</artifactId> |
| 69 | + <version>1.6.2</version> |
| 70 | + </extension> |
| 71 | + </extensions> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.xolstice.maven.plugins</groupId> |
| 75 | + <artifactId>protobuf-maven-plugin</artifactId> |
| 76 | + <version>0.6.1</version> |
| 77 | + <configuration> |
| 78 | + <protocArtifact>com.google.protobuf:protoc:3.9.0:exe:${os.detected.classifier}</protocArtifact> |
| 79 | + <pluginId>grpc-java</pluginId> |
| 80 | + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.24.0:exe:${os.detected.classifier}</pluginArtifact> |
| 81 | + </configuration> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <goals> |
| 85 | + <goal>compile</goal> |
| 86 | + <goal>compile-custom</goal> |
| 87 | + </goals> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-shade-plugin</artifactId> |
| 94 | + <version>3.2.4</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <phase>package</phase> |
| 98 | + <goals> |
| 99 | + <goal>shade</goal> |
| 100 | + </goals> |
| 101 | + <configuration> |
| 102 | + <filters> |
| 103 | + <filter> |
| 104 | + <artifact>*:*</artifact> |
| 105 | + <excludes> |
| 106 | + <exclude>META-INF/*.SF</exclude> |
| 107 | + <exclude>META-INF/*.DSA</exclude> |
| 108 | + <exclude>META-INF/*.RSA</exclude> |
| 109 | + </excludes> |
| 110 | + </filter> |
| 111 | + </filters> |
| 112 | + <transformers> |
| 113 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 114 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 115 | + <manifestEntries> |
| 116 | + <Main-Class>com.google.cloud.bigtable.testproxy.CbtTestProxyMain</Main-Class> |
| 117 | + </manifestEntries> |
| 118 | + </transformer> |
| 119 | + </transformers> |
| 120 | + </configuration> |
| 121 | + </execution> |
| 122 | + </executions> |
| 123 | + </plugin> |
| 124 | + </plugins> |
| 125 | + </build> |
| 126 | +</project> |
0 commit comments