linkedin / transport

A framework for writing performant user-defined functions (UDFs) that are portable across a variety of engines including Apache Spark, Apache Hive, and Presto.
BSD 2-Clause "Simplified" License
291 stars 72 forks source link

Replace maven with javaLibrary to avoid warning in publish task of transportable-udfs-trino-plugin #136

Closed yiqiangin closed 1 year ago

yiqiangin commented 1 year ago

Summary

As tar file needs to be published for transportable-udfs-trino-plugin, a publish task is added by define a subtask of maven. However, it causes a warning during the execution of publish task

Multiple publications with coordinates 'com.linkedin.transport:transportable-udfs-trino-plugin:0.0.90' are published to repository 'sonatype'. The publications 'javaLibrary' in project ':transportable-udfs-trino-plugin' and 'maven' in project ':transportable-udfs-trino-plugin' will overwrite each other!

as shown in https://github.com/linkedin/transport/actions/runs/4857796463/jobs/8658619601 Therefore,maven subtask is replaced by javaLibrary in build.gradle of transportable-udfs-trino-plugin to avoid this warning.

Test

In transportable-udfs-trino-plugin ./gradlew clean build ./gradlew publishToMavenLocal