{"record":{"id":"f8c0e23194df5a3b","repo":"apache/maven","slug":"unrecognized-entry-entry","errorCode":null,"errorMessage":"Unrecognized entry: {entry}","messagePattern":"Unrecognized entry: (.+?)","errorType":"exception","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java","lineNumber":173,"sourceCode":"        String relocationsEntries = (String) session.getConfigProperties().get(Constants.MAVEN_RELOCATIONS_ENTRIES);\n        if (relocationsEntries == null) {\n            return null;\n        }\n        String[] entries = relocationsEntries.split(\",\");\n        try (Stream<String> lines = Arrays.stream(entries)) {\n            List<Relocation> relocationList = lines.filter(\n                            l -> l != null && !l.trim().isEmpty())\n                    .map(l -> {\n                        boolean global;\n                        String splitExpr;\n                        if (l.contains(\">>\")) {\n                            global = true;\n                            splitExpr = \">>\";\n                        } else if (l.contains(\">\")) {\n                            global = false;\n                            splitExpr = \">\";\n                        } else {\n                            throw new IllegalArgumentException(\"Unrecognized entry: \" + l);\n                        }\n                        String[] parts = l.split(splitExpr);\n                        if (parts.length < 1) {\n                            throw new IllegalArgumentException(\"Unrecognized entry: \" + l);\n                        }\n                        Artifact s = parseArtifact(parts[0]);\n                        Artifact t;\n                        if (parts.length > 1) {\n                            t = parseArtifact(parts[1]);\n                        } else {\n                            t = SENTINEL;\n                        }\n                        return new Relocation(global, s, t);\n                    })\n                    .collect(Collectors.toList());\n            LOGGER.info(\"Parsed {} user relocations\", relocationList.size());\n            return new Relocations(relocationList);\n        }","sourceCodeStart":155,"sourceCodeEnd":191,"githubUrl":"https://github.com/apache/maven/blob/e4093d4e120eac99d6bdce5ba67cace2f3085c97/impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java#L155-L191","documentation":"Error \"Unrecognized entry: {entry}\" thrown in apache/maven.","triggerScenarios":"Thrown at impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java:173 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"}