{"id":33083995,"url":"https://github.com/steveohara/j2mod","last_synced_at":"2026-05-02T02:11:26.260Z","repository":{"id":5909105,"uuid":"54226861","full_name":"steveohara/j2mod","owner":"steveohara","description":"Enhanced Modbus library implemented in the Java programming language","archived":false,"fork":false,"pushed_at":"2025-12-22T13:37:23.000Z","size":2043,"stargazers_count":308,"open_issues_count":2,"forks_count":119,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-12-23T03:22:40.503Z","etag":null,"topics":["modbus","modbus-master","modbus-rtu","modbus-serial","modbus-slave","modbus-tcp"],"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/steveohara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2016-03-18T19:34:50.000Z","updated_at":"2025-12-22T13:23:12.000Z","dependencies_parsed_at":"2022-08-06T19:00:59.314Z","dependency_job_id":"ec77ce5b-feef-456a-9221-fa39426f642c","html_url":"https://github.com/steveohara/j2mod","commit_stats":{"total_commits":205,"total_committers":13,"mean_commits":15.76923076923077,"dds":0.448780487804878,"last_synced_commit":"8a024c8312ec276b6aa1d9f0e91abae774a2777a"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/steveohara/j2mod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveohara%2Fj2mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveohara%2Fj2mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveohara%2Fj2mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveohara%2Fj2mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steveohara","download_url":"https://codeload.github.com/steveohara/j2mod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveohara%2Fj2mod/sbom","scorecard":{"id":852802,"data":{"date":"2025-08-11","repo":{"name":"github.com/steveohara/j2mod","commit":"11c2e196f8584f28ce1da6489d0e0e43acb0074a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":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":"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":"Code-Review","score":3,"reason":"Found 10/30 approved changesets -- score normalized to 3","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":"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":"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":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":"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":"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":"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":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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 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-23T22:58:33.458Z","repository_id":5909105,"created_at":"2025-08-23T22:58:33.458Z","updated_at":"2025-08-23T22:58:33.458Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32520155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["modbus","modbus-master","modbus-rtu","modbus-serial","modbus-slave","modbus-tcp"],"created_at":"2025-11-14T13:00:27.443Z","updated_at":"2026-05-02T02:11:26.252Z","avatar_url":"https://github.com/steveohara.png","language":"Java","funding_links":[],"categories":["Messaging"],"sub_categories":["Modbus"],"readme":"# Overview\nThis project is a fork of the [j2mod](https://sourceforge.net/projects/j2mod/) library which began life as [jamod](http://jamod.sourceforge.net/). \nA huge amount of refactoring and code fixing has been carried out on this library, with the addition of supporting JUnit tests, to ensure the library is fit for production use.\n\nThis implementation supports Modbus TCP, UDP, RTU over TCP, Serial RTU and Serial ASCII in both Master and Slave configurations.\nThe serial comms is implemented using [jSerialComm](http://fazecast.github.io/jSerialComm/) and does not require any outside dependencies over and above the logging facade [slf4j](https://www.slf4j.org/).\n\nFor instructions on how to use the library, visit the wiki [here](https://github.com/steveohara/j2mod/wiki) \n\n# Releases\nStable releases can be downloaded here \n\nhttps://mvnrepository.com/artifact/com.ghgande/j2mod\n\n**Note**: _Snapshot releases are no longer supported - they exist up until 3.2.2 but Sonatype have made them non-browsable\nand thanks to the way Maven works, they are not retrievable. The world has moved on and stable releases are the way to go._\n\n# Known Issues\n\n* There are no unit tests for the RTU over TCP transport\n* There is no way of adding `AbstractSerialTransportListener` to a `ModbusSlave` which means you cannot get informed of when the library is switching between send and receive\n* A refactor is overdue to hide package components to encourage best practise usage patterns\n\n# Dependencies\n\n* [jSerialComm](http://fazecast.github.io/jSerialComm/)\nThe serial comms is handled by JSerialComm that includes native implementations for most platforms.\n* [slf4j](https://www.slf4j.org/)\nLogging facade to fit in with your application logging framework\n* JRE 1.8 (JRE 1.6 for v2.70 and lower)\n  \n# Including j2mod\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.ghgande\u003c/groupId\u003e\n        \u003cartifactId\u003ej2mod\u003c/artifactId\u003e\n        \u003cversion\u003eLATEST\u003c/version\u003e\n    \u003c/dependency\u003e\n    \n# Announcements\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveohara%2Fj2mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteveohara%2Fj2mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveohara%2Fj2mod/lists"}