{"id":16514156,"url":"https://github.com/akkinoc/yaml-resource-bundle","last_synced_at":"2026-04-01T19:29:19.081Z","repository":{"id":36395863,"uuid":"40700772","full_name":"akkinoc/yaml-resource-bundle","owner":"akkinoc","description":"Java ResourceBundle for YAML format.","archived":false,"fork":false,"pushed_at":"2026-03-29T08:44:56.000Z","size":973,"stargazers_count":55,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-29T11:27:51.080Z","etag":null,"topics":["java","java-library","kotlin","kotlin-library","yaml"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"withdk/badusb2-mitm-poc","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akkinoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","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},"funding":{"github":"akkinoc"}},"created_at":"2015-08-14T07:01:17.000Z","updated_at":"2026-03-29T08:44:59.000Z","dependencies_parsed_at":"2023-02-19T09:16:03.184Z","dependency_job_id":"b7558e76-2338-4c75-acb5-88f7e9cf320a","html_url":"https://github.com/akkinoc/yaml-resource-bundle","commit_stats":null,"previous_names":["akihyro/yaml-resource-bundle"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/akkinoc/yaml-resource-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akkinoc%2Fyaml-resource-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akkinoc%2Fyaml-resource-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akkinoc%2Fyaml-resource-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akkinoc%2Fyaml-resource-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akkinoc","download_url":"https://codeload.github.com/akkinoc/yaml-resource-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akkinoc%2Fyaml-resource-bundle/sbom","scorecard":{"id":176285,"data":{"date":"2025-08-11","repo":{"name":"github.com/akkinoc/yaml-resource-bundle","commit":"017a5b7441367d3572597f724ea37368b4260c5c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"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":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","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":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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Code-Review","score":0,"reason":"Found 0/11 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/build.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/akkinoc/yaml-resource-bundle/release.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"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":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/deploy.yml:13"],"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":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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:44:54.956Z","repository_id":36395863,"created_at":"2025-08-16T17:44:54.956Z","updated_at":"2025-08-16T17:44:54.956Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["java","java-library","kotlin","kotlin-library","yaml"],"created_at":"2024-10-11T16:11:37.996Z","updated_at":"2026-04-01T19:29:19.074Z","avatar_url":"https://github.com/akkinoc.png","language":"Kotlin","funding_links":["https://github.com/sponsors/akkinoc"],"categories":[],"sub_categories":[],"readme":"# yaml-resource-bundle\n\n[![maven central badge]][maven central]\n[![javadoc badge]][javadoc]\n[![release badge]][release]\n[![build badge]][build]\n[![codecov badge]][codecov]\n[![license badge]][license]\n[![sponsor badge]][sponsor]\n\n[maven central]: https://central.sonatype.com/artifact/dev.akkinoc.util/yaml-resource-bundle\n[maven central badge]: https://img.shields.io/maven-central/v/dev.akkinoc.util/yaml-resource-bundle?color=brightgreen\n[javadoc]: https://javadoc.io/doc/dev.akkinoc.util/yaml-resource-bundle\n[javadoc badge]: https://javadoc.io/badge2/dev.akkinoc.util/yaml-resource-bundle/javadoc.svg\n[release]: https://github.com/akkinoc/yaml-resource-bundle/releases\n[release badge]: https://img.shields.io/github/v/release/akkinoc/yaml-resource-bundle?color=brightgreen\u0026sort=semver\n[build]: https://github.com/akkinoc/yaml-resource-bundle/actions/workflows/build.yml\n[build badge]: https://github.com/akkinoc/yaml-resource-bundle/actions/workflows/build.yml/badge.svg\n[codecov]: https://codecov.io/gh/akkinoc/yaml-resource-bundle\n[codecov badge]: https://codecov.io/gh/akkinoc/yaml-resource-bundle/branch/main/graph/badge.svg\n[license]: LICENSE.txt\n[license badge]: https://img.shields.io/github/license/akkinoc/yaml-resource-bundle?color=blue\n[sponsor]: https://github.com/sponsors/akkinoc\n[sponsor badge]: https://img.shields.io/static/v1?logo=github\u0026label=sponsor\u0026message=%E2%9D%A4\u0026color=db61a2\n\n[Java ResourceBundle] for YAML format.\n\n[Java ResourceBundle]: https://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html\n\n## Features\n\n* Accesses YAML-formatted resources via ResourceBundle.\n* Supports locale-specific resources according to the ResourceBundle specification.\n* Supports YAML values nested in a map or list.\n* Supports YAML anchors and aliases indicated by `\u0026` and `*`.\n* Supports multiple YAML documents separated by `---`.\n\n## Dependencies\n\nDepends on:\n\n* Java 17, 21, or 25\n* Kotlin 2.3\n* SnakeYAML 2.6\n\n## Usage\n\n### Adding the Dependency\n\nThe artifact is published on [Maven Central Repository][maven central].\nIf you are using Maven, add the following dependency.\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003edev.akkinoc.util\u003c/groupId\u003e\n    \u003cartifactId\u003eyaml-resource-bundle\u003c/artifactId\u003e\n    \u003cversion\u003e${yaml-resource-bundle.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Creating Resource Files\n\nCreate a YAML-formatted resource file on the classpath.\nAlso, create locale-specific resource files as needed.\n\nFor example (resource.yml, resource_en.yml, resource_fr.yml, etc):\n\n```yaml\nfruits:\n  apple: Apple\n  orange: Orange\n  grape: Grape\ncolors:\n  - Red\n  - Orange\n  - Purple\n```\n\n### Accessing the Resource\n\nAccess the resource via YamlResourceBundle.\n\nFor example in Java:\n\n```java\nimport dev.akkinoc.util.YamlResourceBundle;\n```\n\n```java\n// Gets the resource bundle\n// YamlResourceBundle.Control is specified for ResourceBundle.Control\nResourceBundle bundle = ResourceBundle.getBundle(\n        \"resource\", YamlResourceBundle.Control.INSTANCE);\n\n// Gets the map values\nSystem.out.println(bundle.getString(\"fruits.apple\"));   // =\u003e \"Apple\" or localized value\nSystem.out.println(bundle.getString(\"fruits.orange\"));  // =\u003e \"Orange\" or localized value\nSystem.out.println(bundle.getString(\"fruits.grape\"));   // =\u003e \"Grape\" or localized value\n\n// Gets the list values\nSystem.out.println(bundle.getString(\"colors[0]\"));      // =\u003e \"Red\" or localized value\nSystem.out.println(bundle.getString(\"colors[1]\"));      // =\u003e \"Orange\" or localized value\nSystem.out.println(bundle.getString(\"colors[2]\"));      // =\u003e \"Purple\" or localized value\n\n// Gets the list values as an array\nSystem.out.println(Arrays.toString(bundle.getStringArray(\"colors\")));\n// =\u003e \"[Red, Orange, Purple]\" or localized values\n\n// Gets the all keys\nSystem.out.println(bundle.keySet());\n// =\u003e \"[fruits.apple, fruits.orange, fruits.grape,\n//      colors, colors[0], colors[1], colors[2]]\" (not sorted)\n```\n\n## API Reference\n\nPlease refer to the [Javadoc][javadoc].\n\n## Release Notes\n\nPlease refer to the [Releases][release] page.\n\n## License\n\nLicensed under the [Apache License, Version 2.0][license].\n\n## Support the Project\n\nIf this project is useful to you, I appreciate giving a ⭐ star to this repository.\nI would also appreciate if you would consider 💖 [sponsoring][sponsor] as well.\nYour support is my biggest motive force. Thanks ✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakkinoc%2Fyaml-resource-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakkinoc%2Fyaml-resource-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakkinoc%2Fyaml-resource-bundle/lists"}