Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build error: #3201

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Fix the build error: #3201

merged 1 commit into from
Aug 20, 2024

Conversation

jhua-vmware
Copy link
Collaborator

@jhua-vmware jhua-vmware commented Aug 19, 2024

  1. [jcenter] is deprecated: https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.RepositoryHandler.html
  2. org.springframework.boot:spring-boot-gradle-plugin is in gradlePluginPortal() repo
  3. swagger2markup-gradle-plugin:1.3.3 was released in 2018, and the following 2 dependecies no longer available. I don't see any build artifact difference with/without this plugin
  • What went wrong: A problem occurred configuring root project 'singleton'.

Could not resolve all files for configuration ':classpath'.
Could not find org.asciidoctor:asciidoctor-gradle-plugin:1.5.7.
Searched in the following locations:
- file:/root/.m2/repository/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom
- https://repo1.maven.org/maven2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom - https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom - https://jcenter.bintray.com/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom Required by: project :
Could not find ch.netzwerg:paleo-core:0.11.0.
Searched in the following locations:
- file:/root/.m2/repository/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom
- https://repo1.maven.org/maven2/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom - https://repo.maven.apache.org/maven2/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom - https://jcenter.bintray.com/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom Required by: project : > io.github.swagger2markup:swagger2markup-gradle-plugin:1.3.3 > io.github.swagger2markup:swagger2markup:1.3.3
Could not find
nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:1.0.
Searched in the following locations:
- file:/root/.m2/repository/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom
- https://repo1.maven.org/maven2/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom - https://repo.maven.apache.org/maven2/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom - https://jcenter.bintray.com/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom Required by: project : > io.github.swagger2markup:swagger2markup-gradle-plugin:1.3.3 > io.github.swagger2markup:swagger2markup:1.3.3 >
io.github.swagger2markup:markup-document-builder:1.1.2

* What went wrong:
A problem occurred configuring root project 'singleton'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find org.asciidoctor:asciidoctor-gradle-plugin:1.5.7.
     Searched in the following locations:
       - file:/root/.m2/repository/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom
       - https://repo1.maven.org/maven2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom
       - https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom
       - https://jcenter.bintray.com/org/asciidoctor/asciidoctor-gradle-plugin/1.5.7/asciidoctor-gradle-plugin-1.5.7.pom
     Required by:
         project :
   > Could not find ch.netzwerg:paleo-core:0.11.0.
     Searched in the following locations:
       - file:/root/.m2/repository/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom
       - https://repo1.maven.org/maven2/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom
       - https://repo.maven.apache.org/maven2/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom
       - https://jcenter.bintray.com/ch/netzwerg/paleo-core/0.11.0/paleo-core-0.11.0.pom
     Required by:
         project : >
io.github.swagger2markup:swagger2markup-gradle-plugin:1.3.3 >
io.github.swagger2markup:swagger2markup:1.3.3
   > Could not find
nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:1.0.
     Searched in the following locations:
       - file:/root/.m2/repository/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom
       - https://repo1.maven.org/maven2/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom
       - https://repo.maven.apache.org/maven2/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom
       - https://jcenter.bintray.com/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom
     Required by:
         project : >
io.github.swagger2markup:swagger2markup-gradle-plugin:1.3.3 >
io.github.swagger2markup:swagger2markup:1.3.3 >
io.github.swagger2markup:markup-document-builder:1.1.2
@jhua-vmware jhua-vmware merged commit a9a2c2d into master Aug 20, 2024
29 checks passed
@jhua-vmware jhua-vmware deleted the jhua/test branch August 20, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants