typelevel / scalacheck

Property-based testing for Scala
http://www.scalacheck.org
BSD 3-Clause "New" or "Revised" License
1.93k stars 404 forks source link

Publish javadoc with dependency #1043

Open Christewart opened 3 months ago

Christewart commented 3 months ago

When trying to build scala3 for bitcoin-s using this branch: https://github.com/Christewart/bitcoin-s-core/tree/2021-06-30-scala3

I get these errors:

[error] (testkitCoreJVM / update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar: not found: https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar
[error] (appCommons / Compile / compileIncremental) Compilation failed
[error] (cryptoTestJVM / update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar: not found: https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar
[error] (testkitCoreJS / update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_sjs1_3/3.2.18.0/scalacheck-1-17_sjs1_3-3.2.18.0-javadoc.jar: not found: https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_sjs1_3/3.2.18.0/scalacheck-1-17_sjs1_3-3.2.18.0-javadoc.jar
[error] (cryptoTestJS / update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_sjs1_3/3.2.18.0/scalacheck-1-17_sjs1_3-3.2.18.0-javadoc.jar: not found: https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_sjs1_3/3.2.18.0/scalacheck-1-17_sjs1_3-3.2.18.0-javadoc.jar
[error] Total time: 38 s, completed Mar 18, 2024, 4:52:04 PM
sbt:bitcoin-s> cryptoTestJVM/test
[error] stack trace is suppressed; run last cryptoTestJVM / update for the full output
[error] (cryptoTestJVM / update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar: not found: https://repo1.maven.org/maven2/org/scalatestplus/scalacheck-1-17_3/3.2.18.0/scalacheck-1-17_3-3.2.18.0-javadoc.jar
[error] Total time: 0 s, completed Mar 18, 2024, 4:53:51 PM

If I comment out the withJavadoc () on this line, things seem to resolve ok

https://github.com/Christewart/bitcoin-s-core/blob/30bfe7eb950815bd56d8831f003c7d5a4f60c336/project/Deps.scala#L233