plantuml-parser icon indicating copy to clipboard operation
plantuml-parser copied to clipboard

Build Failed in plantuml-parser-plugin

Open chaehwanli opened this issue 8 months ago • 1 comments
trafficstars

Describe the bug A problem occurred configuring project ':plantuml-parser-plugin'.

Could not resolve all files for configuration ':plantuml-parser-plugin:classpath'. Could not find org.jetbrains.intellij.plugins:structure-base:3.139. Searched in the following locations: - https://plugins.gradle.org/m2/org/jetbrains/intellij/plugins/structure-base/3.139/structure-base-3.139.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :plantuml-parser-plugin > org.jetbrains.intellij:org.jetbrains.intellij.gradle.plugin:0.6.5 > org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.6.5 Could not find org.jetbrains.intellij.plugins:structure-intellij:3.139. Searched in the following locations: - https://plugins.gradle.org/m2/org/jetbrains/intellij/plugins/structure-intellij/3.139/structure-intellij-3.139.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :plantuml-parser-plugin > org.jetbrains.intellij:org.jetbrains.intellij.gradle.plugin:0.6.5 > org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.6.5

Possible solution:

  • Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

To Reproduce Steps to reproduce the behavior: gradlew.bat build

Software versions(Help -> About) Android Studio Ladybug Feature Drop | 2024.2.2 Patch 1 Build #AI-242.23726.103.2422.13016713, built on February 6, 2025 Runtime version: 21.0.5+-12932927-b750.29 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

chaehwanli avatar Feb 21 '25 02:02 chaehwanli

  1. plantuml-parser-plugin/build.gradle modified
plugins {
    id 'java'
    id 'org.jetbrains.intellij' version '1.13.3'  // update plugin version
}

// ... existing code ...

intellij {
    pluginName.set('plantuml-parser')  // change new syntax
    version.set('2020.1')  // change new syntax
    type.set('IU')         // change new syntax
    downloadSources = false
    updateSinceUntilBuild = false
    plugins.set(['org.jetbrains.kotlin'])  // change new syntax
}
  1. JDK version using jdk 11

  2. build ``` bash ./gradlew clean ./gradlew build


I got build success.

chaehwanli avatar Feb 21 '25 06:02 chaehwanli