Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Conversation

@suztomo
Copy link
Member

@suztomo suztomo commented Aug 2, 2021

The following libraries are built by Google but not intended for the Libraries BOM. Therefore I put them as third-party BOM:

  • error prone annotations
  • jsr305
  • GSON

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 2, 2021
@suztomo suztomo added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 2, 2021
Comment on lines +86 to +87
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Placing gson as third-party library, because the Libraries BOM doesn't have it.

Comment on lines +106 to +107
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Placing jsr305 as third-party library, because the Libraries BOM doesn't have it.

Comment on lines +111 to +112
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Placing error_prone_annotations as third-party library, because the Libraries BOM doesn't have it.

@suztomo suztomo marked this pull request as ready for review August 24, 2021 19:28
@suztomo suztomo requested a review from a team as a code owner August 24, 2021 19:28
@suztomo suztomo removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 24, 2021
@suztomo
Copy link
Member Author

suztomo commented Aug 24, 2021

It seems that some values are outdated.

@@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License & Copyright?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't find Yoshi Java repositories declare license and copyright in pom.xml files. I see <organization> and <license> elements, which I think should deliver License & Copyright.

Comment on lines 59 to 71
<grpc.version>1.39.0</grpc.version>
<gax.version>1.67.0</gax.version>
<grpc-gcp.version>1.1.0</grpc-gcp.version>
<guava.version>30.1.1-android</guava.version>
<protobuf.version>3.17.3</protobuf.version>
<google.api-common.version>1.10.6</google.api-common.version>
<google.common-protos.version>2.3.2</google.common-protos.version>
<google.core.version>1.95.4</google.core.version>
<google.auth.version>1.0.0</google.auth.version>
<google.http-client.version>1.39.2</google.http-client.version>
<google.oauth-client.version>1.31.5</google.oauth-client.version>
<google.api-client.version>1.32.1</google.api-client.version>
<iam.version>1.0.14</iam.version>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to update them to the latest versions.

@BenWhitehead
Copy link

Good refactoring, also we'll need to Change guava to jre from android

@suztomo
Copy link
Member Author

suztomo commented Aug 25, 2021

Fixed outdated values in the files, including Guava version.

<google.oauth-client.version>1.32.1</google.oauth-client.version>
<google.api-client.version>1.32.1</google.api-client.version>
<iam.version>1.1.0</iam.version>
</properties>
Copy link
Member Author

@suztomo suztomo Aug 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values from master (b28723a)

    <grpc.version>1.40.0</grpc.version>
    <gax.version>2.3.0</gax.version>
    <grpc-gcp.version>1.1.0</grpc-gcp.version>
    <guava.version>30.1.1-jre</guava.version>
    <protobuf.version>3.17.3</protobuf.version>
    <google.api-common.version>2.0.1</google.api-common.version>
    <google.common-protos.version>2.3.2</google.common-protos.version>
    <google.core.version>2.1.1</google.core.version>
    <google.auth.version>1.1.0</google.auth.version>
    <google.http-client.version>1.39.2</google.http-client.version>
    <google.oauth-client.version>1.32.1</google.oauth-client.version>
    <google.api-client.version>1.32.1</google.api-client.version>
    <gson.version>2.8.8</gson.version>
    <threeten.version>1.5.1</threeten.version>
    <javax.annotations.version>1.3.2</javax.annotations.version>
    <animal-sniffer.version>1.20</animal-sniffer.version>
    <iam.version>1.1.0</iam.version>
    <opencensus.version>0.28.0</opencensus.version>
    <findbugs.version>3.0.2</findbugs.version>
    <errorprone.version>2.9.0</errorprone.version>
    <jackson.version>2.12.4</jackson.version>
    <codec.version>1.15</codec.version>
    <httpcomponents.httpcore.version>4.4.14</httpcomponents.httpcore.version>
    <httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>

<codec.version>1.15</codec.version>
<httpcomponents.httpcore.version>4.4.14</httpcomponents.httpcore.version>
<httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>
</properties>
Copy link
Member Author

@suztomo suztomo Aug 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values from master (b28723a)

    <gson.version>2.8.8</gson.version>
    <threeten.version>1.5.1</threeten.version>
    <javax.annotations.version>1.3.2</javax.annotations.version>
    <animal-sniffer.version>1.20</animal-sniffer.version>
    <iam.version>1.1.0</iam.version>
    <opencensus.version>0.28.0</opencensus.version>
    <findbugs.version>3.0.2</findbugs.version>
    <errorprone.version>2.9.0</errorprone.version>
    <jackson.version>2.12.4</jackson.version>
    <codec.version>1.15</codec.version>
    <httpcomponents.httpcore.version>4.4.14</httpcomponents.httpcore.version>
    <httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>

@suztomo
Copy link
Member Author

suztomo commented Aug 25, 2021

@Neenu1995 This pull request adds 2 new artifacts (com.google.cloud:first-party-dependencies and com.google.cloud:third-party-dependencies) to be published Maven Central. The shared dependencies BOM imports the two (code). Do I need to take additional actions?

@suztomo suztomo changed the title chore: split the shared dependencies BOM into two chore: split the shared dependencies BOM into two (internally) Aug 25, 2021
@suztomo suztomo requested a review from Neenu1995 August 25, 2021 18:25
@suztomo
Copy link
Member Author

suztomo commented Aug 25, 2021

I'm feeling that I should merge this #445 first to set the version to contain "-SNAPSHOT".

@suztomo
Copy link
Member Author

suztomo commented Aug 25, 2021

Now the version contains "-SNAPSHOT".

@suztomo suztomo merged commit b5946ff into googleapis:master Aug 25, 2021
@suztomo suztomo deleted the split_into_two branch August 25, 2021 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants