Skip to content

Commit a9762c0

Browse files
committed
fix: copy project metadata
Due to the boundary of com.google.api and com.google.cloud namespaces, we copy the project metadata rather than relying on the project inheritance across the boundary.
1 parent 96261fc commit a9762c0

File tree

5 files changed

+161
-0
lines changed

5 files changed

+161
-0
lines changed

java-core/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,44 @@
1717
<relativePath>../gapic-generator-java-pom-parent</relativePath>
1818
</parent>
1919

20+
<!-- Because the parent POM is in the com.google.api namespace and this artifact is in
21+
the com.google.cloud namespace in Central Portal (we cannot mix multiple namespaces
22+
in one deployment bundle) and we want to release them in one release job, we copy the
23+
following metadata (developers, scm, and licenses). This enables us to release this
24+
artifact independently from the parent artifact. -->
25+
<url>https://github.com/googleapis/sdk-platform-java</url>
26+
<developers>
27+
<developer>
28+
<id>suztomo</id>
29+
<name>Tomo Suzuki</name>
30+
<email>[email protected]</email>
31+
<organization>Google</organization>
32+
<roles>
33+
<role>Developer</role>
34+
</roles>
35+
</developer>
36+
</developers>
37+
<organization>
38+
<name>Google LLC</name>
39+
</organization>
40+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false"
41+
child.scm.url.inherit.append.path="false">
42+
<connection>scm:git:[email protected]:googleapis/sdk-platform-java.git</connection>
43+
<developerConnection>scm:git:[email protected]:googleapis/sdk-platform-java.git</developerConnection>
44+
<url>https://github.com/googleapis/sdk-platform-java</url>
45+
<tag>HEAD</tag>
46+
</scm>
47+
<issueManagement>
48+
<url>https://github.com/googleapis/sdk-platform-java/issues</url>
49+
<system>GitHub Issues</system>
50+
</issueManagement>
51+
52+
<licenses>
53+
<license>
54+
<name>Apache-2.0</name>
55+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
56+
</license>
57+
</licenses>
2058
<properties>
2159
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2260
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

java-iam/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@
1717
<relativePath>../gapic-generator-java-pom-parent</relativePath>
1818
</parent>
1919

20+
<!-- Because the parent POM is in the com.google.api namespace and this artifact is in
21+
the com.google.cloud namespace in Central Portal (we cannot mix multiple namespaces
22+
in one deployment bundle) and we want to release them in one release job, we copy the
23+
following metadata (developers, scm, and licenses). This enables us to release this
24+
artifact independently from the parent artifact. -->
25+
<url>https://github.com/googleapis/sdk-platform-java</url>
26+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false"
27+
child.scm.url.inherit.append.path="false">
28+
<connection>scm:git:[email protected]:googleapis/sdk-platform-java.git</connection>
29+
<developerConnection>scm:git:[email protected]:googleapis/sdk-platform-java.git</developerConnection>
30+
<url>https://github.com/googleapis/sdk-platform-java</url>
31+
<tag>HEAD</tag>
32+
</scm>
2033
<developers>
2134
<developer>
2235
<id>chingor</id>

java-shared-dependencies/first-party-dependencies/pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,39 @@
1818
<version>1.16.0</version>
1919
<relativePath />
2020
</parent>
21+
<url>https://github.com/googleapis/sdk-platform-java</url>
22+
<developers>
23+
<developer>
24+
<id>suztomo</id>
25+
<name>Tomo Suzuki</name>
26+
<email>[email protected]</email>
27+
<organization>Google</organization>
28+
<roles>
29+
<role>Developer</role>
30+
</roles>
31+
</developer>
32+
</developers>
33+
<organization>
34+
<name>Google LLC</name>
35+
</organization>
36+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false"
37+
child.scm.url.inherit.append.path="false">
38+
<connection>scm:git:[email protected]:googleapis/sdk-platform-java.git</connection>
39+
<developerConnection>scm:git:[email protected]:googleapis/sdk-platform-java.git</developerConnection>
40+
<url>https://github.com/googleapis/sdk-platform-java</url>
41+
<tag>HEAD</tag>
42+
</scm>
43+
<issueManagement>
44+
<url>https://github.com/googleapis/sdk-platform-java/issues</url>
45+
<system>GitHub Issues</system>
46+
</issueManagement>
47+
48+
<licenses>
49+
<license>
50+
<name>Apache-2.0</name>
51+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
52+
</license>
53+
</licenses>
2154

2255
<properties>
2356
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

java-shared-dependencies/pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,45 @@
2121
<relativePath>../gapic-generator-java-pom-parent</relativePath>
2222
</parent>
2323

24+
<!-- Because the parent POM is in the com.google.api namespace and this artifact is in
25+
the com.google.cloud namespace in Central Portal (we cannot mix multiple namespaces
26+
in one deployment bundle) and we want to release them in one release job, we copy the
27+
following metadata (developers, scm, and licenses). This enables us to release this
28+
artifact independently from the parent artifact. -->
29+
<url>https://github.com/googleapis/sdk-platform-java</url>
30+
<developers>
31+
<developer>
32+
<id>suztomo</id>
33+
<name>Tomo Suzuki</name>
34+
<email>[email protected]</email>
35+
<organization>Google</organization>
36+
<roles>
37+
<role>Developer</role>
38+
</roles>
39+
</developer>
40+
</developers>
41+
<organization>
42+
<name>Google LLC</name>
43+
</organization>
44+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false"
45+
child.scm.url.inherit.append.path="false">
46+
<connection>scm:git:[email protected]:googleapis/sdk-platform-java.git</connection>
47+
<developerConnection>scm:git:[email protected]:googleapis/sdk-platform-java.git</developerConnection>
48+
<url>https://github.com/googleapis/sdk-platform-java</url>
49+
<tag>HEAD</tag>
50+
</scm>
51+
<issueManagement>
52+
<url>https://github.com/googleapis/sdk-platform-java/issues</url>
53+
<system>GitHub Issues</system>
54+
</issueManagement>
55+
56+
<licenses>
57+
<license>
58+
<name>Apache-2.0</name>
59+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
60+
</license>
61+
</licenses>
62+
2463
<properties>
2564
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2665
<site.installationModule>${project.artifactId}</site.installationModule>

java-shared-dependencies/third-party-dependencies/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,44 @@
1818
<version>2.59.1</version><!-- {x-version-update:gapic-generator-java:current} -->
1919
<relativePath>../../gapic-generator-java-pom-parent</relativePath>
2020
</parent>
21+
<!-- Because the parent POM is in the com.google.api namespace and this artifact is in
22+
the com.google.cloud namespace in Central Portal (we cannot mix multiple namespaces
23+
in one deployment bundle) and we want to release them in one release job, we copy the
24+
following metadata (developers, scm, and licenses). This enables us to release this
25+
artifact independently from the parent artifact. -->
26+
<url>https://github.com/googleapis/sdk-platform-java</url>
27+
<developers>
28+
<developer>
29+
<id>suztomo</id>
30+
<name>Tomo Suzuki</name>
31+
<email>[email protected]</email>
32+
<organization>Google</organization>
33+
<roles>
34+
<role>Developer</role>
35+
</roles>
36+
</developer>
37+
</developers>
38+
<organization>
39+
<name>Google LLC</name>
40+
</organization>
41+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false"
42+
child.scm.url.inherit.append.path="false">
43+
<connection>scm:git:[email protected]:googleapis/sdk-platform-java.git</connection>
44+
<developerConnection>scm:git:[email protected]:googleapis/sdk-platform-java.git</developerConnection>
45+
<url>https://github.com/googleapis/sdk-platform-java</url>
46+
<tag>HEAD</tag>
47+
</scm>
48+
<issueManagement>
49+
<url>https://github.com/googleapis/sdk-platform-java/issues</url>
50+
<system>GitHub Issues</system>
51+
</issueManagement>
52+
53+
<licenses>
54+
<license>
55+
<name>Apache-2.0</name>
56+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
57+
</license>
58+
</licenses>
2159

2260
<properties>
2361
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)