{"id":17348749,"url":"https://github.com/jeffque/lombok-compile-test-maven","last_synced_at":"2025-07-25T06:04:17.333Z","repository":{"id":186620124,"uuid":"662400709","full_name":"jeffque/lombok-compile-test-maven","owner":"jeffque","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-05T04:09:39.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T22:06:08.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffque.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-05T04:05:42.000Z","updated_at":"2023-07-05T04:09:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"387e54b4-4837-4857-a3d5-83bf3a9c0d22","html_url":"https://github.com/jeffque/lombok-compile-test-maven","commit_stats":null,"previous_names":["jeffque/lombok-compile-test-maven"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeffque/lombok-compile-test-maven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffque%2Flombok-compile-test-maven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffque%2Flombok-compile-test-maven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffque%2Flombok-compile-test-maven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffque%2Flombok-compile-test-maven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffque","download_url":"https://codeload.github.com/jeffque/lombok-compile-test-maven/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffque%2Flombok-compile-test-maven/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266963279,"owners_count":24013020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-15T16:53:23.505Z","updated_at":"2025-07-25T06:04:17.311Z","avatar_url":"https://github.com/jeffque.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"lombok-compile-test\n===============\n\nThis is a PoC that only setting lombok annotation\nprocessor in `pluginManagement -\u003e plugin -\u003e\nmaven-compiler-plugin -\u003e configuration` is enough.\n\ntest scenarios\n-----------\n\nThe maven-compile-plugin is never added directly under\n`build -\u003e plugins`, but only its configuration is managed\nby `build -\u003e pluginManagement`.\n\nThere is the default configuration, which does not add\nany annotation processor. It shall fail ugly when\ncompiling the project.\n\nAnd there is the `lombok` profile. This only adds the\nlombok annotation processor in the maven-compiler-plugin\nconfiguration, it shall work nicely and beatifully.\n\nAnd also there is the `internal-lombok` that is equals\nto `lombok` profile, but only defined in the module that\nuses lombok.\n\nThis shall fail:\n\n```bash\n./mvnw clean compile # always keeping it clean, it shall fail\n./mvnw clean compile -P lombok # this shall succeed\n./mvnw clean compile -P internal-ombok # this shall also succeed\n```\n\nwhy maven modules? why not simpler?\n--------------\n\nFor some reason that I cannot explain, a simple, non\nnested layout for maven project got everything compiling.\nIt could even be some mistake of my part.\n\nCreating the modules was a way to check that the\ncompilation would be fine only if the annotation\nprocessor is present.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffque%2Flombok-compile-test-maven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffque%2Flombok-compile-test-maven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffque%2Flombok-compile-test-maven/lists"}