Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BomContentTest disableMavenCentralCheck property #2310

Merged

Conversation

suztomo
Copy link
Contributor

@suztomo suztomo commented Jul 8, 2022

When some artifacts are not available in Maven Central yet, use "-DdisableMavenCentralCheck=true" system property when running BomContentTest.


// Sometimes the artifacts are not yet available in Maven Central and only available in local
// Maven repository. Use
boolean enableMavenCentralAvailabilityCheck =
Copy link
Contributor

Choose a reason for hiding this comment

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

The variable name is the opposite of the property name, can we keep them consistent? Either disableMavenCentralCheck or enableMavenCentralAvailabilityCheck?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@suztomo suztomo force-pushed the skip_maven_central_check_option branch from fd064cc to 850d19d Compare July 8, 2022 20:11
// Sometimes the artifacts are not yet available in Maven Central and only available in local
// Maven repository. Use this property in that case.
boolean disableMavenCentralCheck =
! "true".equals(System.getProperty("disableMavenCentralCheck"));
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should also remove ! here as well.

@suztomo suztomo added the kokoro:run force run kokoro label Jul 8, 2022
@cloud-tools-for-java-team cloud-tools-for-java-team removed the kokoro:run force run kokoro label Jul 8, 2022
@suztomo suztomo merged commit b84addb into GoogleCloudPlatform:master Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants