Java Play-framework server is using a library that is not available anymore (com.typesafe.play/sbt-plugin/2.8.3)
Bug Report Checklist
- [ ] Have you provided a full/minimal spec to reproduce the issue?
- [ ] Have you validated the input using an OpenAPI validator (example)?
- [ ] Have you tested with the latest master to confirm the issue still exists?
- [ ] Have you searched for related issues/PRs?
- [ ] What's the actual output vs expected output?
- [ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Unable to deploy Java Play-framework server since it is using a library that is not available in maven anymore. Do you have any suggestion how to bypass this problem?
Here is a problematic library:
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.3")
in a generated file https://github.com/broadinstitute/molecular-data-provider/blob/molepro-code-gen/MoleProAPI/java-play-framework-server/project/plugins.sbt
openapi-generator version
java -jar ../../../openapi-generator/openapi-generator-cli-7.4.0.jar generate -i molecular_data_provider.yml -g java-play-framework -o java-play-framework-server --additional-properties=hideGenerationTimestamp=true
OpenAPI declaration file content or url
https://github.com/broadinstitute/molecular-data-provider/blob/master/MoleProAPI/molecular_data_provider.yml
Generation Details
#13 24.98 [info] loading settings for project base-build from plugins.sbt ...
#13 25.47 [info] loading project definition from /usr/src/base/project
#13 32.27 [warn]
#13 32.27 [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
#13 32.29 [warn] com.typesafe.play:sbt-plugin:2.8.3 (sbtVersion=1.0, scalaVersion=2.12)
#13 32.29 [warn]
#13 32.29 [warn] Note: Unresolved dependencies path:
#13 32.43 [error] sbt.librarymanagement.ResolveException: Error downloading com.typesafe.play:sbt-plugin;sbtVersion=1.0;scalaVersion=2.12:2.8.3
#13 32.43 [error] Not found
#13 32.43 [error] Not found
#13 32.43 [error] not found: https://repo1.maven.org/maven2/com/typesafe/play/sbt-plugin_2.12_1.0/2.8.3/sbt-plugin-2.8.3.pom
#13 32.43 [error] not found: /root/.ivy2/local/com.typesafe.play/sbt-plugin/scala_2.12/sbt_1.0/2.8.3/ivys/ivy.xml
Steps to reproduce
Related issues/PRs
Suggest a fix
i remember seeing similar issues a few days ago but the issue resolved itself later but looks like those dependencies are restored later.
can you please give it another try later?
i remember seeing similar issues a few days ago but the issue resolved itself later but looks like those dependencies are restored later.
can you please give it another try later?
I am afraid that the issue did not resolved itself and the dependencies are still missing.