lightbend / kalix-jvm-sdk

Java and Scala SDKs for Kalix
https://docs.kalix.io/java/index.html
Other
58 stars 39 forks source link

build: fix duplicate publishing #2149

Closed efgpinto closed 5 months ago

efgpinto commented 5 months ago

Refs https://github.com/lightbend/kalix-jvm-sdk/issues/2139

Don't think his solves all but we should need this to avoid duplication for the 2.12_1.0 packages.

efgpinto commented 5 months ago

You're right. I have doubled check and only for sbt-kalix it tries to write twice with a different name:

[info] Wrote /home/runner/work/kalix-jvm-sdk/kalix-jvm-sdk/sbt-plugin/target/scala-2.12/sbt-1.0/sbt-kalix_2.12_1.0-1.5.0-1-a5094919.pom
[info] Wrote /home/runner/work/kalix-jvm-sdk/kalix-jvm-sdk/sbt-plugin/target/scala-2.12/sbt-1.0/sbt-kalix-1.5.0-1-a5094919.pom

For the remaining (codegenJava, codegenScala, etc), although it tries to publish twice as well, it's with the same name, so this filter would not even work. Closing.