{"id":36418380,"url":"https://github.com/dataliquid/distribution-verifier-maven-plugin","last_synced_at":"2026-01-11T17:01:26.532Z","repository":{"id":52539551,"uuid":"186296453","full_name":"dataliquid/distribution-verifier-maven-plugin","owner":"dataliquid","description":"Distribution Verifier - Maven Plugin","archived":false,"fork":false,"pushed_at":"2025-12-22T01:17:28.000Z","size":209,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-22T17:59:53.728Z","etag":null,"topics":["maven-plugin","opensource","quality","quality-assurance"],"latest_commit_sha":null,"homepage":"https://www.dataliquid.com","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/dataliquid.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2019-05-12T19:38:41.000Z","updated_at":"2025-12-20T16:17:12.000Z","dependencies_parsed_at":"2024-06-12T17:25:34.151Z","dependency_job_id":"4996eeb5-080a-4608-bbba-b253b5113af9","html_url":"https://github.com/dataliquid/distribution-verifier-maven-plugin","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":0.360655737704918,"last_synced_commit":"55c9c27f9e5c07becf9781b13f47098f6a96b7ba"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dataliquid/distribution-verifier-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataliquid%2Fdistribution-verifier-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataliquid%2Fdistribution-verifier-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataliquid%2Fdistribution-verifier-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataliquid%2Fdistribution-verifier-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dataliquid","download_url":"https://codeload.github.com/dataliquid/distribution-verifier-maven-plugin/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataliquid%2Fdistribution-verifier-maven-plugin/sbom","scorecard":{"id":324590,"data":{"date":"2025-08-11","repo":{"name":"github.com/dataliquid/distribution-verifier-maven-plugin","commit":"5053eb30180a9c5ba99be9dccc24a2d5ba6dc410"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"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":"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":"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/9 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":"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/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/ci.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/ci.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/codeql.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gitflow-hotfix.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/gitflow-hotfix.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gitflow-release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/dataliquid/distribution-verifier-maven-plugin/gitflow-release.yml/develop?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'packages' permission set to 'read': .github/workflows/codeql.yml:17","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:18","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:19","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/gitflow-hotfix.yml:19","Warn: topLevel 'contents' permission set to 'write': .github/workflows/gitflow-release.yml:19","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":"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: 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":"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 'develop'"],"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (25) 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-18T02:09:30.446Z","repository_id":52539551,"created_at":"2025-08-18T02:09:30.447Z","updated_at":"2025-08-18T02:09:30.447Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["maven-plugin","opensource","quality","quality-assurance"],"created_at":"2026-01-11T17:01:12.198Z","updated_at":"2026-01-11T17:01:26.446Z","avatar_url":"https://github.com/dataliquid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Maven Distribution Verifier Plugin\n\nimage:https://github.com/dataliquid/distribution-verifier-maven-plugin/actions/workflows/ci.yml/badge.svg[CI Build,link=https://github.com/dataliquid/distribution-verifier-maven-plugin/actions/workflows/ci.yml]\nimage:https://img.shields.io/maven-central/v/com.dataliquid.maven/distribution-verifier-maven-plugin.svg[Maven Central,link=https://search.maven.org/artifact/com.dataliquid.maven/distribution-verifier-maven-plugin]\nimage:https://img.shields.io/badge/License-Apache%202.0-blue.svg[License,link=https://opensource.org/licenses/Apache-2.0]\n\n== Introduction\n\nThe *Maven Distribution Verifier Plugin* allows verification of `*.jar*`, `*.war*`, `*.ear*` and `*.zip*` files. The content is checked against a defined whitelist. This ensures that only the expected artifacts with the respective fingerprint are included in your application distribution.\n\nIf there are any discrepancies in the defined hash values or files that are not defined during the verification process, a report is generated. In this way, the *software artifact* is *additionally hardened* in the *quality assurance* process.\n\n== Features\n\n* Verify distribution files against a whitelist\n* Support for JAR, WAR, EAR, and ZIP files\n* MD5 checksum validation\n* Generate detailed verification reports\n* JUnit report format support\n* Maven integration\n\n== Requirements\n\n* Java 11 or higher\n* Maven 3.6.0 or higher\n\n== Quick Start\n\nAdd the plugin to your Maven `pom.xml`:\n\n[source,xml]\n----\n\u003cbuild\u003e\n  \u003cplugins\u003e\n    \u003cplugin\u003e\n      \u003cgroupId\u003ecom.dataliquid.maven\u003c/groupId\u003e\n      \u003cartifactId\u003edistribution-verifier-maven-plugin\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.3\u003c/version\u003e\n      \u003cconfiguration\u003e\n        \u003cdistributionFile\u003e${project.build.directory}/${project.build.finalName}.zip\u003c/distributionFile\u003e\n        \u003cwhitelistFile\u003e${project.basedir}/src/main/resources/whitelist.xml\u003c/whitelistFile\u003e\n        \u003creportFile\u003e${project.build.directory}/distribution-verifier-report.xml\u003c/reportFile\u003e\n      \u003c/configuration\u003e\n      \u003cexecutions\u003e\n        \u003cexecution\u003e\n          \u003cgoals\u003e\n            \u003cgoal\u003everify\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----\n\n== Goals\n\nThe plugin provides two main goals:\n\n=== verify\n\nVerifies a distribution file against a whitelist.\n\n*Parameters:*\n\n[%header,cols=\"1,1,1,3\"] \n|===\n|Parameter\n|Type\n|Required\n|Description\n\n|distributionFile\n|File\n|Yes\n|The distribution file to verify (JAR, WAR, EAR, or ZIP)\n\n|whitelistFile\n|File\n|Yes\n|The whitelist XML file containing expected entries\n\n|reportFile\n|File\n|No\n|Output report file (default: target/distribution-verifier-report.xml)\n\n|reportFormat\n|String\n|No\n|Report format: \"xml\" or \"junit\" (default: \"xml\")\n\n|failOnError\n|boolean\n|No\n|Fail the build if verification errors are found (default: true)\n|===\n\n*Usage:*\n\n[source,bash]\n----\nmvn distribution-verifier:verify\n----\n\n=== generate\n\nGenerates a whitelist from an existing distribution file.\n\n*Parameters:*\n\n[%header,cols=\"1,1,1,3\"] \n|===\n|Parameter\n|Type\n|Required\n|Description\n\n|distributionFile\n|File\n|Yes\n|The distribution file to analyze\n\n|whitelistFile\n|File\n|Yes\n|Output whitelist file location\n|===\n\n*Usage:*\n\n[source,bash]\n----\nmvn distribution-verifier:generate\n----\n\n== Whitelist\n\nThe whitelist file `whitelist.xml` contains file name, path and the MD5 fingerprint.\n\n[%header,cols=2*] \n|===\n|Attribute\n|Description\n\n|path\n|File path within the Zip file\n\n|md5\n|File expects md5 hash. The attribute is optional. If missing, only checks whether the file exists.\n|===\n\n\n[source,xml]\n----\n\u003cwhitelist\u003e\n  \u003centry path=\"/Sample.md\" /\u003e\n  \u003centry md5=\"193fa5e788a1800a760d1108051c2363\" path=\"/Sample.txt\" /\u003e\t\n\u003c/whitelist\u003e\n----\n\n== Report\n\nAfter verification, all results are summarized in a report. The file `report.xml` contains information on both successful and faulty checks.\n\nEach file is shown with a status and message. \n\nThe status can have the following values:\n\n* `SUCCESS`\n* `FAILED`\n\n[source,xml]\n----\n\u003creport\u003e\n \u003centry md5=\"4114b3e750902c5404ffe4864b3e11b8\" path=\"/Sample.md\"\u003e\n    \u003cresult message=\"Validation passed successfully\" status=\"SUCCESS\" /\u003e\n \u003c/entry\u003e\n \u003centry md5=\"193fa5e788a1800a760d1108051c4711\" path=\"/Sample.txt\"\u003e\n    \u003cresult message=\"File found but with a different MD5 Checksum 193fa5e788a1800a760d1108051c2363\"\n            status=\"FAILED\" /\u003e\n \u003c/entry\u003e\n \u003centry md5=\"193fa5e788a1800a760d1108051c7778\" path=\"/Sample.adoc\"\u003e\n    \u003cresult message=\"Defined file not found\" status=\"FAILED\" /\u003e\n \u003c/entry\u003e\n \u003centry md5=\"0430eba9643b5e60e49c055eb16cbf7a\" path=\"/Sample.adoc\"\u003e\n    \u003cresult status=\"FAILED\" message=\"File is not defined in whitelist\" /\u003e\n \u003c/entry\u003e\n\u003c/report\u003e\n----\n\n\n== Tools\n\nCreating an initial whitelist, the commands `find` and `md5sum` can be combined on linux systems. Listing all files with path and MD5 hash in the whitelist structure, use this command:\n\n[source,bash]\n----\ncd path/to/your/directory\nfind * -type f -exec md5sum {} \\; | awk '{printf \"\u003centry path=\\\"/%s\\\" md5=\\\"%s\\\" /\u003e%s\", $2, $1, \"\\n\"}'\n----\n\nThe `\u003centry\u003e` elements are displayed on the console after the processing has been completed.\nThese can then be transferred to your own whitelist.\n\n[source,xml]\n----\n\u003centry path=\"/Sample.md\"   md5=\"4114b3e750902c5404ffe4864b3e11b8\" /\u003e\n\u003centry path=\"/Sample.text\" md5=\"193fa5e788a1800a760d1108051c2363\" /\u003e\n----\n\n== Examples\n\n=== Basic Verification\n\nVerify a distribution file with default settings:\n\n[source,xml]\n----\n\u003cplugin\u003e\n  \u003cgroupId\u003ecom.dataliquid.maven\u003c/groupId\u003e\n  \u003cartifactId\u003edistribution-verifier-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.3\u003c/version\u003e\n  \u003cexecutions\u003e\n    \u003cexecution\u003e\n      \u003cphase\u003everify\u003c/phase\u003e\n      \u003cgoals\u003e\n        \u003cgoal\u003everify\u003c/goal\u003e\n      \u003c/goals\u003e\n      \u003cconfiguration\u003e\n        \u003cdistributionFile\u003e${project.build.directory}/${project.build.finalName}.zip\u003c/distributionFile\u003e\n        \u003cwhitelistFile\u003esrc/main/resources/whitelist.xml\u003c/whitelistFile\u003e\n      \u003c/configuration\u003e\n    \u003c/execution\u003e\n  \u003c/executions\u003e\n\u003c/plugin\u003e\n----\n\n=== Generate Whitelist from Existing Distribution\n\n[source,bash]\n----\nmvn distribution-verifier:generate \\\n  -DdistributionFile=target/myapp.zip \\\n  -DwhitelistFile=src/main/resources/whitelist.xml\n----\n\n=== JUnit Report Format\n\nGenerate reports in JUnit format for CI/CD integration:\n\n[source,xml]\n----\n\u003cconfiguration\u003e\n  \u003cdistributionFile\u003e${project.build.directory}/${project.build.finalName}.war\u003c/distributionFile\u003e\n  \u003cwhitelistFile\u003esrc/main/resources/whitelist.xml\u003c/whitelistFile\u003e\n  \u003creportFile\u003e${project.build.directory}/surefire-reports/distribution-verifier.xml\u003c/reportFile\u003e\n  \u003creportFormat\u003ejunit\u003c/reportFormat\u003e\n\u003c/configuration\u003e\n----\n\n== Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n== License\n\nThis project is licensed under the Apache License 2.0 - see the link:LICENSE[LICENSE] file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataliquid%2Fdistribution-verifier-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdataliquid%2Fdistribution-verifier-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataliquid%2Fdistribution-verifier-maven-plugin/lists"}