{"record":{"id":"eb3b2120805ee55a","repo":"quarkusio/quarkus","slug":"failed-to-resolve-descriptor-for-projectartifact","errorCode":null,"errorMessage":"Failed to resolve descriptor for ${projectArtifact}","messagePattern":"Failed to resolve descriptor for (.+?)","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/buildfile/MavenProjectBuildFile.java","lineNumber":180,"sourceCode":"        }\n        return null;\n    }\n\n    private static List<ArtifactCoords> toArtifactCoords(List<org.eclipse.aether.graph.Dependency> deps) {\n        final List<ArtifactCoords> result = new ArrayList<>(deps.size());\n        for (org.eclipse.aether.graph.Dependency dep : deps) {\n            org.eclipse.aether.artifact.Artifact a = dep.getArtifact();\n            result.add(ArtifactCoords.of(a.getGroupId(), a.getArtifactId(), a.getClassifier(),\n                    a.getExtension(), a.getVersion()));\n        }\n        return result;\n    }\n\n    private static ArtifactDescriptorResult describe(MavenArtifactResolver resolver, Artifact projectArtifact) {\n        try {\n            return resolver.resolveDescriptor(projectArtifact);\n        } catch (BootstrapMavenException e) {\n            throw new RuntimeException(\"Failed to resolve descriptor for \" + projectArtifact, e);\n        }\n    }\n\n    private static List<ArtifactCoords> collectPlatformDescriptors(List<ArtifactCoords> managedDeps, MessageWriter log) {\n        if (managedDeps.isEmpty()) {\n            return Collections.emptyList();\n        }\n        final List<ArtifactCoords> result = new ArrayList<>(4);\n        for (ArtifactCoords c : managedDeps) {\n            if (PlatformArtifacts.isCatalogArtifact(c)) {\n                result.add(c);\n            }\n        }\n        return result;\n    }\n\n    private static boolean isSameFile(Path p1, Path p2) {\n        try {","sourceCodeStart":162,"sourceCodeEnd":198,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/buildfile/MavenProjectBuildFile.java#L162-L198","documentation":"RuntimeException from MavenProjectBuildFile.describe: reading the Maven artifact descriptor (effective pom/dependency info) of the project artifact failed during dependency analysis in devtools. The project artifact is interpolated into the message; the cause chain identifies the unresolvable dependency or repository problem.","triggerScenarios":"Thrown at independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/buildfile/MavenProjectBuildFile.java:180 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Follow the caused-by exception to the unresolvable artifact","Verify the artifact and its dependencies are deployed/installed in accessible repositories","Retry after fixing settings or repository access if the cause is connectivity"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}