{"id":18705351,"url":"https://github.com/akayibrahim/jsontopojo","last_synced_at":"2025-10-09T19:35:04.129Z","repository":{"id":57732287,"uuid":"226577955","full_name":"akayibrahim/jsontopojo","owner":"akayibrahim","description":"Auto creating POJO from JSON - Project 5","archived":false,"fork":false,"pushed_at":"2022-05-20T21:18:27.000Z","size":124,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T14:12:09.606Z","etag":null,"topics":["generator","json","json-schema","maven","maven-plugin"],"latest_commit_sha":null,"homepage":"","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/akayibrahim.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}},"created_at":"2019-12-07T21:24:48.000Z","updated_at":"2024-08-20T21:38:15.000Z","dependencies_parsed_at":"2022-09-10T20:31:09.346Z","dependency_job_id":null,"html_url":"https://github.com/akayibrahim/jsontopojo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akayibrahim/jsontopojo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akayibrahim%2Fjsontopojo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akayibrahim%2Fjsontopojo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akayibrahim%2Fjsontopojo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akayibrahim%2Fjsontopojo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akayibrahim","download_url":"https://codeload.github.com/akayibrahim/jsontopojo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akayibrahim%2Fjsontopojo/sbom","scorecard":{"id":175640,"data":{"date":"2025-08-11","repo":{"name":"github.com/akayibrahim/jsontopojo","commit":"3440d711f4a776360e96ece26f2214f76f1483d5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T17:38:12.629Z","repository_id":57732287,"created_at":"2025-08-16T17:38:12.629Z","updated_at":"2025-08-16T17:38:12.629Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278189105,"owners_count":25945082,"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-10-03T02:00:06.070Z","response_time":53,"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":["generator","json","json-schema","maven","maven-plugin"],"created_at":"2024-11-07T12:10:34.567Z","updated_at":"2025-10-09T19:35:04.113Z","avatar_url":"https://github.com/akayibrahim.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON TO POJO Maven Plugin\n\n#### This Maven Plugin is for creating POJO's automatically from json.\n\n##### Follow steps:\n\n1. Add below build tag to pom.xml of your project\n\n```xml\n\u003cbuild\u003e\n    \u003cplugins\u003e\n      \u003cplugin\u003e\n        \u003cgroupId\u003eio.github.akayibrahim\u003c/groupId\u003e\n        \u003cartifactId\u003ejsontopojo\u003c/artifactId\u003e\n        \u003cversion\u003e1.5\u003c/version\u003e\n        \u003cexecutions\u003e\n          \u003cexecution\u003e\n            \u003cconfiguration\u003e\n              \u003cjson\u003e\n                {\n                  \"employee\": {\n                  \"name\":       \"sonoo\",\n                  \"salary\":      56000,\n                  \"married\":    true\n                  }\n                }\n              \u003c/json\u003e\n              \u003cpath\u003eio.githup.akayibrahim.testing\u003c/path\u003e \u003c!-- mandatory --\u003e\n              \u003cclassName\u003eEmployeeTesting\u003c/className\u003e \u003c!-- mandatory --\u003e\n              \u003clombok\u003etrue\u003c/lombok\u003e \u003c!-- optional --\u003e\n              \u003cprefix\u003ePre\u003c/prefix\u003e \u003c!-- optional --\u003e\n              \u003cpostfix\u003ePost\u003c/postfix\u003e \u003c!-- optional --\u003e\n              \u003cthrowForDuplicateObjectName\u003efalse\u003c/throwForDuplicateObjectName\u003e \u003c!-- optional - default: false\n                If it is set true, the plugin will throw error for duplicate object name. You have to fix this names at json and regenerate. \n                If it is set false, the plugin will add \"_$\" postfix for duplicate object name and add TODO to this class for change information. --\u003e\n            \u003c/configuration\u003e\n            \u003cgoals\u003e\n              \u003cgoal\u003ecreate\u003c/goal\u003e\n            \u003c/goals\u003e\n          \u003c/execution\u003e\n        \u003c/executions\u003e\n      \u003c/plugin\u003e\n    \u003c/plugins\u003e\n  \u003c/build\u003e\n```\n2. Run mvn clean install. Once the build is complete, navigate to the project root folder and you should see POJO's file.\n\nMaven Repo Link =\u003e https://repo.maven.apache.org/maven2/io/github/akayibrahim/\n\nNOTE : All data in json should not be null or empty. Tool generate TODO comment for null fields, so you can fix it. Please search TODO comment after generate POJO's.\n\nNOTE : For using lombok, you have to add lombok dependency to your pom.xml.\n```xml    \n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.projectlombok\u003c/groupId\u003e\n      \u003cartifactId\u003elombok\u003c/artifactId\u003e\n      \u003cversion\u003e1.18.10\u003c/version\u003e\n    \u003c/dependency\u003e\n```\nNOTE 2 : For using jackson, you have to add jackson dependency to your pom.xml. it is necessary for \"throwForDuplicateObjectName\" key.\n```xml    \n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.fasterxml.jackson.core\u003c/groupId\u003e\n      \u003cartifactId\u003ejackson-annotations\u003c/artifactId\u003e\n      \u003cversion\u003e2.10.1\u003c/version\u003e\n     \u003c/dependency\u003e\n```\nThanks to https://github.com/giordamauro/json-to-pojo/\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakayibrahim%2Fjsontopojo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakayibrahim%2Fjsontopojo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakayibrahim%2Fjsontopojo/lists"}