{"id":37023796,"url":"https://github.com/hb0730/hb0730-commons","last_synced_at":"2026-01-14T02:51:53.125Z","repository":{"id":37108241,"uuid":"283623134","full_name":"hb0730/hb0730-commons","owner":"hb0730","description":"commons 常用类库","archived":true,"fork":false,"pushed_at":"2022-06-17T03:34:53.000Z","size":1151,"stargazers_count":2,"open_issues_count":9,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T01:48:28.915Z","etag":null,"topics":["commons","http","java","jgit","jsch","json","tools"],"latest_commit_sha":null,"homepage":"https://blog.hb0730.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hb0730.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-29T23:30:37.000Z","updated_at":"2023-01-27T23:46:12.000Z","dependencies_parsed_at":"2022-08-18T23:40:51.506Z","dependency_job_id":null,"html_url":"https://github.com/hb0730/hb0730-commons","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/hb0730/hb0730-commons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hb0730%2Fhb0730-commons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hb0730%2Fhb0730-commons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hb0730%2Fhb0730-commons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hb0730%2Fhb0730-commons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hb0730","download_url":"https://codeload.github.com/hb0730/hb0730-commons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hb0730%2Fhb0730-commons/sbom","scorecard":{"id":458350,"data":{"date":"2025-08-11","repo":{"name":"github.com/hb0730/hb0730-commons","commit":"c2a148fa7a43c2d75bcbca80bbaa14d6eb123ea1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"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":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/commons.yml:1","Warn: no topLevel permission defined: .github/workflows/gitee-sync.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commons.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commons.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commons.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commons.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/commons.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gitee-sync.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/hb0730/hb0730-commons/gitee-sync.yml/master?enable=pin","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-4cx2-fc23-5wg6","Warn: Project is vulnerable to: GHSA-6xx3-rg99-gc3p","Warn: Project is vulnerable to: GHSA-73xv-w5gp-frxh","Warn: Project is vulnerable to: GHSA-8xfc-gm6g-vgpv","Warn: Project is vulnerable to: GHSA-hr8g-6v94-x4m9","Warn: Project is vulnerable to: GHSA-v435-xc8x-wvr9","Warn: Project is vulnerable to: GHSA-wjxj-5m7g-mg7q","Warn: Project is vulnerable to: GHSA-3p86-9955-h393","Warn: Project is vulnerable to: GHSA-vrpq-qp53-qv56"],"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-19T10:23:22.429Z","repository_id":37108241,"created_at":"2025-08-19T10:23:22.430Z","updated_at":"2025-08-19T10:23:22.430Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["commons","http","java","jgit","jsch","json","tools"],"created_at":"2026-01-14T02:51:52.487Z","updated_at":"2026-01-14T02:51:53.112Z","avatar_url":"https://github.com/hb0730.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://github.com/hb0730/hb0730-commons\" target=\"_blank\"\u003ecommons\u003c/a\u003e\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://search.maven.org/artifact/com.hb0730/commons-all\"\u003e\n\u003cimg alt=\"Maven Central\" src=\"https://img.shields.io/maven-central/v/com.hb0730/commons-parent?style=flat-square\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/hb0730/hb0730-commons/blob/master/LICENSE\"\u003e\n\u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/hb0730/hb0730-commons?style=flat-square\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/hb0730/hb0730-commons/actions\"\u003e\n\u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/workflow/status/hb0730/hb0730-commons/commons%20CI?style=flat-square\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://www.oracle.com/java/technologies/javase-downloads.html\"\u003e\n\u003cimg alt=\"jdk\" src=\"https://img.shields.io/badge/jdk-8%2B-green?style=flat-square\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://apidoc.gitee.com/hb0730/hb0730-commons\"\u003e\n\u003cimg alt=\"api\" src=\"https://img.shields.io/badge/api-doc-blue?style=flat-square\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://www.codacy.com/manual/hb0730/hb0730-commons?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=hb0730/hb0730-commons\u0026amp;utm_campaign=Badge_Grade\"\u003e\n\u003cimg alt=\"codacy\" src=\"https://app.codacy.com/project/badge/Grade/32651203ac1043cb8c85fddf42a68c9a\"/\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://codecov.io/gh/hb0730/hb0730-commons\"\u003e\n  \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/hb0730/hb0730-commons/branch/dev/graph/badge.svg\" /\u003e\n\u003c/a\u003e\n\n\u003c/p\u003e\n\n-----------------------\n## 简介\nhb0730-commons是个人平时用到的java类库(封装http,cache等工具)\n## 包含组件\n|模块|介绍|\n|----|----|\n|commons-cache|封装的缓存工具,支持本地内存缓存以及spring data redis缓存|\n|commons-http|简单抽象http，支持httpClient,okHttp等工具|\n|commons-json|集合各大(fastjson,gson,jackson...)json工具类|\n|comons-encrypt|加密解密工具|\n|commons-lang|平时用到的单一工具如String,Date等utils|\n|commons-mail|java发送mail使用spring Mail|\n|commons-spring|spring相关工具|\n|commons-ssh|对 [jsch](http://www.jcraft.com/jsch/) 等SSH Client简单封装|\n|commons-scm|对 scm(git,svn)等支持,方便操作|\n## 测试 \n测试依赖第三方组件\n\n|模块|\n|----|\n|commons-cache-test|\n|commons-http-test|\n|commons-spring-test|\n## 安装\n### maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.hb0730\u003c/groupId\u003e\n    \u003cartifactId\u003ecommons-dependencies\u003c/artifactId\u003e\n    \u003cversion\u003e2.1.2-RELEASE\u003c/version\u003e\n    \u003ctype\u003epom\u003c/type\u003e\n    \u003cscope\u003eimport\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n或者\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.hb0730\u003c/groupId\u003e\n    \u003cartifactId\u003ecommons-all\u003c/artifactId\u003e\n    \u003cversion\u003e2.1.2-RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhb0730%2Fhb0730-commons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhb0730%2Fhb0730-commons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhb0730%2Fhb0730-commons/lists"}