{"record":{"id":"4897e5e9b2006683","repo":"apache/maven","slug":"invalid-pom-for-transitive-dependencies-if-an","errorCode":null,"errorMessage":"Invalid POM for {}, transitive dependencies (if any) will not be available, enable verbose output (-X) for more details","messagePattern":"Invalid POM for (.+?), transitive dependencies \\(if any\\) will not be available, enable verbose output \\(-X\\) for more details","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java","lineNumber":582,"sourceCode":"                    if (isMissingPom(e)) {\n                        message = \"Missing POM for \" + artifact.getId();\n                    } else if (isNonTransferablePom(e)) {\n                        throw new ArtifactMetadataRetrievalException(\n                                \"Failed to retrieve POM for \" + artifact.getId() + \": \"\n                                        + e.getCause().getMessage(),\n                                e.getCause(),\n                                artifact);\n                    } else {\n                        message = \"Invalid POM for \" + artifact.getId()\n                                + \", transitive dependencies (if any) will not be available\"\n                                + \", enable verbose output (-X) for more details\";\n                    }\n\n                    if (logger.isDebugEnabled()) {\n                        message += \": \" + e.getMessage();\n                    }\n\n                    logger.warn(message);\n                }\n\n                if (project != null) {\n                    Relocation relocation = null;\n\n                    DistributionManagement distMgmt = project.getModel().getDistributionManagement();\n                    if (distMgmt != null) {\n                        relocation = distMgmt.getRelocation();\n\n                        artifact.setDownloadUrl(distMgmt.getDownloadUrl());\n                        pomArtifact.setDownloadUrl(distMgmt.getDownloadUrl());\n                    }\n\n                    if (relocation != null) {\n                        if (relocation.getGroupId() != null) {\n                            artifact.setGroupId(relocation.getGroupId());\n                            relocatedArtifact = artifact;\n                            project.setGroupId(relocation.getGroupId());","sourceCodeStart":564,"sourceCodeEnd":600,"githubUrl":"https://github.com/apache/maven/blob/e4093d4e120eac99d6bdce5ba67cace2f3085c97/compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java#L564-L600","documentation":"Error \"Invalid POM for {}, transitive dependencies (if any) will not be available, enable verbose output (-X) for more details\" thrown in apache/maven.","triggerScenarios":"Thrown at compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java:582 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e4093d4e120eac99d6bdce5ba67cace2f3085c97","analyzedAt":"2026-08-21T22:58:24.034Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}