GoogleCloudPlatform / GoogleCloudPlatform/data-lineage-producer-java-library

Missing classes in artifact

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6
Forks
7
Avg merge
1h 45m
Merged PRs (30d)
1

Description

I noticed that the artifacts
- [`com.google.cloud.datalineage:producerclient-java8:1.0.0` ](https://mvnrepository.com/artifact/com.google.cloud.datalineage/producerclient-java8/1.0.0)
- [`com.google.cloud.datalineage:producerclient:1.0.0`](https://mvnrepository.com/artifact/com.google.cloud.datalineage/producerclient/1.0.0)

do not contain any shaded libs. The build script contains following part
```
shadowJar {
archiveBaseName.set('data-lineage-producer-java-library')
relocate 'com.google.protobuf', 'datalineage.shaded.com.google.protobuf'
relocate 'com.google.guava', 'datalineage.shaded.com.google.guava'
relocate 'com.google.api', 'datalineage.shaded.com.google.api'
relocate 'com.google.auth', 'datalineage.shaded.com.google.auth'
relocate 'io.grpc', 'datalineage.shaded.io.grpc'
relocate 'com.google.common', 'datalineage.shaded.com.google.common'
relocate 'com.google.gson', 'datalineage.shaded.com.google.gson'
relocate 'META-INF/native/libio_grpc_netty_shaded_netty', 'META-INF/native/libdatalineage_shaded_io_grpc_netty_shaded_netty'
relocate 'META-INF/native/io_grpc_netty_shaded_netty', 'META-INF/native/datalineage_shaded_io_grpc_netty_shaded_netty'
mergeServiceFiles()
}
```
and when I build the library locally, all the shaded libraries are present in the jar. So maybe there is an issue with release process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.