Skip to content

[sdk-platform-java] maven-download-plugin is flaky when building in parallel. #13026

@blakeli0

Description

@blakeli0

The release job failed due to the following errors

00:01:33:876 [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.6.8:wget (download-compliance-suite) on project gapic-showcase: IO Error: OverlappingFileLockException -> [Help 1]
00:01:33:876 [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.6.8:wget (download-common-resources-proto) on project gapic-generator-java: IO Error: java.io.StreamCorruptedException: invalid type code: 00 -> [Help 1]

See error log for details.

download-maven-plugin:1.6.8:wget is not thread safe and could run into errors when building in parallel. We should remove the need of it in build. For this specific case, the protos we are trying to download are only used in tests, we should have a copy of them in test folders instead of always downloading from the internet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.sdk-platform-java

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions