xref: /aosp_15_r20/external/sdk-platform-java/showcase/pom.xml (revision 882aa7c72c3cd3b66e72a261bdd69b93f7de7670)
1<?xml version='1.0' encoding='UTF-8'?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5  <modelVersion>4.0.0</modelVersion>
6  <groupId>com.google.cloud</groupId>
7  <artifactId>gapic-showcase-parent</artifactId>
8  <packaging>pom</packaging>
9  <version>0.0.1-SNAPSHOT</version>
10  <name>GAPIC Showcase Client Core Parent</name>
11  <description>
12    Java idiomatic client for Google Cloud Platform services.
13  </description>
14
15  <parent>
16    <groupId>com.google.api</groupId>
17    <artifactId>gapic-generator-java-bom</artifactId>
18    <version>2.19.0</version><!-- {x-version-update:gapic-generator-java:current} -->
19    <relativePath>../gapic-generator-java-bom</relativePath>
20  </parent>
21
22  <properties>
23    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
25    <github.global.server>github</github.global.server>
26    <site.installationModule>google-cloud-showcase-parent</site.installationModule>
27    <checkstyle.skip>true</checkstyle.skip>
28    <clirr.skip>true</clirr.skip>
29    <enforcer.skip>true</enforcer.skip>
30  </properties>
31
32  <dependencyManagement>
33    <dependencies>
34      <dependency>
35        <groupId>com.google.api.grpc</groupId>
36        <artifactId>proto-gapic-showcase-v1beta1</artifactId>
37        <version>0.0.1-SNAPSHOT</version>
38      </dependency>
39      <dependency>
40        <groupId>com.google.api.grpc</groupId>
41        <artifactId>grpc-gapic-showcase-v1beta1</artifactId>
42        <version>0.0.1-SNAPSHOT</version>
43      </dependency>
44      <dependency>
45        <groupId>com.google.cloud</groupId>
46        <artifactId>gapic-showcase</artifactId>
47        <version>0.0.1-SNAPSHOT</version>
48      </dependency>
49
50      <dependency>
51        <groupId>junit</groupId>
52        <artifactId>junit</artifactId>
53        <version>4.13.2</version>
54        <scope>test</scope>
55      </dependency>
56    </dependencies>
57  </dependencyManagement>
58
59  <modules>
60    <module>gapic-showcase</module>
61    <module>grpc-gapic-showcase-v1beta1</module>
62    <module>proto-gapic-showcase-v1beta1</module>
63  </modules>
64
65  <profiles>
66    <profile>
67      <id>showcase</id>
68      <activation>
69        <activeByDefault>true</activeByDefault>
70      </activation>
71      <build>
72        <plugins>
73          <plugin>
74            <groupId>org.apache.maven.plugins</groupId>
75            <artifactId>maven-surefire-plugin</artifactId>
76            <version>3.0.0-M8</version>
77            <configuration>
78              <!-- Exclude MessagingClientHttpJsonTest which is currently failing.
79              See https://github.com/googleapis/gapic-generator-java/issues/1547 -->
80              <!-- TODO(1547): Remove this exclusion once MessagingClientHttpJsonTest#updateBlurbTest is fixed -->
81              <excludes>
82                <exclude>**/MessagingClientHttpJsonTest.java</exclude>
83              </excludes>
84              <reportNameSuffix>sponge_log</reportNameSuffix>
85              <skipTests>${skipUnitTests}</skipTests>
86            </configuration>
87          </plugin>
88          <plugin>
89            <groupId>org.apache.maven.plugins</groupId>
90            <artifactId>maven-failsafe-plugin</artifactId>
91            <configuration>
92              <forkCount>1C</forkCount>
93              <reuseForks>true</reuseForks>
94            </configuration>
95          </plugin>
96          <plugin>
97            <groupId>org.codehaus.mojo</groupId>
98            <artifactId>flatten-maven-plugin</artifactId>
99          </plugin>
100        </plugins>
101      </build>
102    </profile>
103  </profiles>
104</project>
105