{"id":20483567,"url":"https://github.com/cbuschka/polyglot-maven-eval","last_synced_at":"2026-04-18T17:05:01.934Z","repository":{"id":95275865,"uuid":"239278813","full_name":"cbuschka/polyglot-maven-eval","owner":"cbuschka","description":"Evaluation of polyglot maven support","archived":false,"fork":false,"pushed_at":"2020-02-09T10:07:37.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T06:49:07.113Z","etag":null,"topics":["build","gradle","java","maven","mvn","polyglot","yaml","yml"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbuschka.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-09T09:37:18.000Z","updated_at":"2020-02-09T10:07:39.000Z","dependencies_parsed_at":"2023-03-30T13:18:28.289Z","dependency_job_id":null,"html_url":"https://github.com/cbuschka/polyglot-maven-eval","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbuschka/polyglot-maven-eval","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fpolyglot-maven-eval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fpolyglot-maven-eval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fpolyglot-maven-eval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fpolyglot-maven-eval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbuschka","download_url":"https://codeload.github.com/cbuschka/polyglot-maven-eval/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fpolyglot-maven-eval/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","gradle","java","maven","mvn","polyglot","yaml","yml"],"created_at":"2024-11-15T16:17:58.297Z","updated_at":"2026-04-18T17:05:01.928Z","avatar_url":"https://github.com/cbuschka.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Evaluation of polyglot maven support\n\n## Motivation\n* we use maven as the standard for java projects\n* maven delivers proven build infrastructure for years\n* but: xml configs of maven are verbose\n* and gradle is slow and a memory hog\n\n### Question: Does polyglot maven reduce verbosity of pom configurations while retaining current feature state?\n\n## Results summary (as of 2020-02-09)\n\n### Pro\n* yaml pom is less verbose\n* setup simple: just place a .mvn/ folder with extensions.xml in project root\n* supported by idea without extra plugins\n* supported by maven 3.5 (possibly earlier)\n* build works out of the box as expected with pom.xml\n\n### Contra\n* no suggestions in idea pom.yml\n* must deal with strange exceptions when yaml does not match pom model\n```text\nCaused by: org.yaml.snakeyaml.constructor.ConstructorException: Cannot create property=configuration for JavaBean=Plugin [org.apache.maven.plugins:java-compiler-plugin]\n in 'reader', line 23, column 7:\n        - artifactId: java-compiler-plugin\n          ^\norg.yaml.snakeyaml.nodes.SequenceNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode\n in 'reader', line 26, column 9:\n            - source: 8\n            ^\n```\n\n## Setup\n* treat as standard maven project\n* run ```mvn clean install``` on command line\n* or import into idea (select pom.yml or folder)\n\n## Links\n* https://www.baeldung.com/maven-polyglot\n* https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003463819-IntelliJ-not-reading-pom-yml-in-maven-polyglot-project\n\n## TODOs\n* try more complex plugins\n* convert existing project\n* check syntax for plugin inheritance scopes\n* try mixing pom.xml/pom.yml as parent/child\n\n## License\n[MIT](./license.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbuschka%2Fpolyglot-maven-eval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbuschka%2Fpolyglot-maven-eval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbuschka%2Fpolyglot-maven-eval/lists"}