{"id":34610513,"url":"https://github.com/filiphr/mapstruct-builder-accessor","last_synced_at":"2026-05-26T12:04:37.541Z","repository":{"id":85631436,"uuid":"114976216","full_name":"filiphr/mapstruct-builder-accessor","owner":"filiphr","description":"Alternative Accessor Naming Strategy for MapStruct that supports builder setters","archived":false,"fork":false,"pushed_at":"2017-12-21T09:23:28.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T02:55:38.937Z","etag":null,"topics":["builder","mapping","mapstruct"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filiphr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-12-21T07:29:23.000Z","updated_at":"2018-03-16T08:33:57.000Z","dependencies_parsed_at":"2023-03-09T16:45:12.477Z","dependency_job_id":null,"html_url":"https://github.com/filiphr/mapstruct-builder-accessor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/filiphr/mapstruct-builder-accessor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filiphr%2Fmapstruct-builder-accessor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filiphr%2Fmapstruct-builder-accessor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filiphr%2Fmapstruct-builder-accessor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filiphr%2Fmapstruct-builder-accessor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filiphr","download_url":"https://codeload.github.com/filiphr/mapstruct-builder-accessor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filiphr%2Fmapstruct-builder-accessor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33519218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"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":["builder","mapping","mapstruct"],"created_at":"2025-12-24T14:10:27.780Z","updated_at":"2026-05-26T12:04:37.536Z","avatar_url":"https://github.com/filiphr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapStruct builder accessor\n\nThis project supports an alternative `AccessorNamingStrategy` which supports different builder styles.\n\n**IMPORTANT**: This is not a support for using builders for mappings, but just the discovery of the properties within a builder type.\n\n**IMPORANT2**: This is not yet published on maven central. If you want to use it as a dependency you can use [jitpack.io](https://jitpack.io/#filiphr/mapstruct-builder-accessor/)  \n\n## Using\n\nIn order to use this accessor strategy one just needs to add the following dependencies:\n\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n    \u003cartifactId\u003emaven-compiler-plugin\u003c/artifactId\u003e\n    \u003cconfiguration\u003e\n        \u003cannotationProcessorPaths\u003e\n            \u003cpath\u003e\n                \u003cgroupId\u003eorg.mapstruct\u003c/groupId\u003e\n                \u003cartifactId\u003emapstruct-processor\u003c/artifactId\u003e\n                \u003cversion\u003e${mapstruct.version}\u003c/version\u003e\n            \u003c/path\u003e\n            \u003cpath\u003e\n                \u003cgroupId\u003ecom.github.filiphr\u003c/groupId\u003e\n                \u003cartifactId\u003emapstruct-builder-accessor\u003c/artifactId\u003e\n                \u003cversion\u003e${mapstruct-builder-accessor.version}\u003c/version\u003e\n            \u003c/path\u003e\n        \u003c/annotationProcessorPaths\u003e\n    \u003c/configuration\u003e\n\u003c/plugin\u003e\n```\n\nIn order this to work nicely with IntelliJ (due to [IDEA-150621](https://youtrack.jetbrains.com/issue/IDEA-150621)) one needs\nto add the the mapstruct processor and the builder accessor to their main pom dependencies\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.mapstruct\u003c/groupId\u003e\n        \u003cartifactId\u003emapstruct-processor\u003c/artifactId\u003e\n        \u003cversion\u003e${mapstruct.version}\u003c/version\u003e\n        \u003c!-- IntelliJ does not pick up the processor if it is not in the dependencies.\n         There is already an open issue for IntelliJ see https://youtrack.jetbrains.com/issue/IDEA-150621\n        --\u003e\n        \u003cscope\u003eprovided\u003c/scope\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.filiphr\u003c/groupId\u003e\n        \u003cartifactId\u003emapstruct-builder-accessor\u003c/artifactId\u003e\n        \u003cversion\u003e${project.version}\u003c/version\u003e\n        \u003c!-- IntelliJ does not pick up the processor if it is not in the dependencies.\n         There is already an open issue for IntelliJ see https://youtrack.jetbrains.com/issue/IDEA-150621\n        --\u003e\n        \u003cscope\u003eprovided\u003c/scope\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Building from source\n\nIn order to build this project to source you need to run `./mvnw clean install`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiliphr%2Fmapstruct-builder-accessor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiliphr%2Fmapstruct-builder-accessor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiliphr%2Fmapstruct-builder-accessor/lists"}