You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2024/09/27 04:58:31 UTC
Re: [PR] build: publish jars for fury-scala [fury]
chaokunyang commented on PR #1729:
URL: https://github.com/apache/fury/pull/1729#issuecomment-2378401232
Hi @pjfanning , I tried to publish jar with `sbt +publishSigned`, but it failed with:

```java
[error] java.util.zip.ZipException: duplicate entry: META-INF/LICENSE
[error] at java.base/java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:259)
[error] at java.base/java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:115)
[error] at sbt.io.IO$.addFileEntry$1(IO.scala:717)
[error] at sbt.io.IO$.$anonfun$writeZip$6(IO.scala:726)
[error] at sbt.io.IO$.$anonfun$writeZip$6$adapted(IO.scala:726)
[error] at scala.collection.immutable.List.foreach(List.scala:431)
[error] at sbt.io.IO$.writeZip(IO.scala:726)
[error] at sbt.io.IO$.$anonfun$archive$2(IO.scala:676)
[error] at sbt.io.IO$.$anonfun$archive$2$adapted(IO.scala:673)
[error] at sbt.io.IO$.$anonfun$withZipOutput$1(IO.scala:773)
[error] at sbt.io.IO$.$anonfun$withZipOutput$1$adapted(IO.scala:753)
[error] at sbt.io.Using.apply(Using.scala:28)
[error] at sbt.io.IO$.withZipOutput(IO.scala:753)
[error] at sbt.io.IO$.archive(IO.scala:673)
[error] at sbt.io.IO$.jar(IO.scala:638)
[error] at sbt.Package$.makeJar(Package.scala:229)
[error] at sbt.Package$.$anonfun$apply$4(Package.scala:152)
[error] at sbt.Package$.$anonfun$apply$4$adapted(Package.scala:150)
[error] at sbt.util.Tracked$.$anonfun$outputChangedW$1(Tracked.scala:129)
[error] at sbt.Package$.apply(Package.scala:162)
[error] at sbt.Defaults$.$anonfun$packageTask$1(Defaults.scala:1918)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] at sbt.Execute.work(Execute.scala:292)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error] at java.base/java.lang.Thread.run(Thread.java:1583)
[error] (Compile / packageSrc) java.util.zip.ZipException: duplicate entry: META-INF/LICENSE
[error] Total time: 6 s, completed Sep 26, 2024, 9:56:47 PM
```
I've already upgrade sbt to 1.10.2
Is there something that I get wrong?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org