Skip to content

Publish javadoc with dependency #1043

@Christewart

Description

@Christewart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions