{"id":18385363,"url":"https://github.com/themrmilchmann/mjlevents","last_synced_at":"2025-10-06T00:36:34.239Z","repository":{"id":57723582,"uuid":"125077872","full_name":"TheMrMilchmann/MJLEvents","owner":"TheMrMilchmann","description":"A minimal Java library which provides an efficient and modular Event-System (for Java 8 and later).","archived":false,"fork":false,"pushed_at":"2022-09-06T11:06:29.000Z","size":573,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T15:30:13.911Z","etag":null,"topics":["eventbus","events","java","jvm","mjl"],"latest_commit_sha":null,"homepage":"","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/TheMrMilchmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-03-13T16:00:41.000Z","updated_at":"2023-10-21T22:50:18.000Z","dependencies_parsed_at":"2022-09-26T21:41:24.663Z","dependency_job_id":null,"html_url":"https://github.com/TheMrMilchmann/MJLEvents","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/TheMrMilchmann/MJLEvents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2FMJLEvents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2FMJLEvents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2FMJLEvents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2FMJLEvents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheMrMilchmann","download_url":"https://codeload.github.com/TheMrMilchmann/MJLEvents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2FMJLEvents/sbom","scorecard":{"id":140254,"data":{"date":"2025-08-11","repo":{"name":"github.com/TheMrMilchmann/MJLEvents","commit":"09f28573808da0ce29d1e5298d7b52c3224b18e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"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":"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/ci.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":"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/TheMrMilchmann/MJLEvents/ci.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   6 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":"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":"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"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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"}}]},"last_synced_at":"2025-08-16T07:51:08.194Z","repository_id":57723582,"created_at":"2025-08-16T07:51:08.194Z","updated_at":"2025-08-16T07:51:08.194Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278542660,"owners_count":26004060,"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-05T02:00:06.059Z","response_time":54,"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":["eventbus","events","java","jvm","mjl"],"created_at":"2024-11-06T01:17:24.304Z","updated_at":"2025-10-06T00:36:34.221Z","avatar_url":"https://github.com/TheMrMilchmann.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MJL Events\n\n[![License](https://img.shields.io/badge/license-Apache%202.0-yellowgreen.svg?style=flat-square\u0026label=License)](https://github.com/TheMrMilchmann/MJLEvents/blob/master/LICENSE)\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.themrmilchmann.mjl/mjl-events.svg?style=flat-square\u0026label=Maven%20Central)](https://maven-badges.herokuapp.com/maven-central/com.github.themrmilchmann.mjl/mjl-events)\n[![JavaDoc](https://img.shields.io/maven-central/v/com.github.themrmilchmann.mjl/mjl-events.svg?style=flat-square\u0026label=JavaDoc\u0026color=blue)](https://javadoc.io/doc/com.github.themrmilchmann.mjl/mjl-events)\n![Java](https://img.shields.io/badge/Java-8-green.svg?style=flat-square\u0026color=b07219\u0026logo=Java)\n\nA **m**inmal **J**ava **l**ibrary which provides an efficient and modular\nin-process event-system (for Java 8 and later).\n\nThe API of this library has been heavily influenced by [guava](https://github.com/google/guava)\nand other implementations. It was designed to be fully compatible with Java\nmodules.\n\n\n## Getting Started\n\n```java\npublic class Sample {\n\n    public static void main(String[] args) {\n        // Create a basic EventBus\n        EventBus\u003cEvent\u003e bus = EventBus.build();\n\n        // Subscribe a handler\n        SubscriberHandle handle = bus.subscribe(SimpleEvent.class, () -\u003e System.our.println(\"Received Event\"));\n\n        // Post an event\n        Event event = new Event();\n        bus.post(event);\n\n        // Unsubscribe a handler\n        handle.unsubscribe();\n    }\n\n    public static class Event {}\n\n}\n```\n\n\n## Building from source\n\n### Setup\n\nThis project uses [Gradle's toolchain support](https://docs.gradle.org/7.5.1/userguide/toolchains.html)\nto detect and select the JDKs required to run the build. Please refer to the\nbuild scripts to find out which toolchains are requested.\n\nAn installed JDK 1.8 (or later) is required to use Gradle.\n\n### Building\n\nOnce the setup is complete, invoke the respective Gradle tasks using the\nfollowing command on Unix/macOS:\n\n    ./gradlew \u003ctasks\u003e\n\nor the following command on Windows:\n\n    gradlew \u003ctasks\u003e\n\nImportant Gradle tasks to remember are:\n- `clean`                   - clean build results\n- `build`                   - assemble and test the Java library\n- `publishToMavenLocal`     - build and install all public artifacts to the\n                              local maven repository\n\nAdditionally `tasks` may be used to print a list of all available tasks.\n\n\n## License\n\nCopyright 2018-2022 Leon Linhart\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fmjlevents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemrmilchmann%2Fmjlevents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fmjlevents/lists"}