{"id":37019522,"url":"https://github.com/floverfelt/find-and-replace-maven-plugin","last_synced_at":"2026-01-14T02:10:26.598Z","repository":{"id":43315900,"uuid":"355995593","full_name":"floverfelt/find-and-replace-maven-plugin","owner":"floverfelt","description":"Maven plugin for finding and replacing values in filenames, files, and folders.","archived":false,"fork":false,"pushed_at":"2024-06-18T02:13:56.000Z","size":465,"stargazers_count":14,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T15:04:51.514Z","etag":null,"topics":["build-management","java","maven","maven-plugin"],"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/floverfelt.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-08T17:29:11.000Z","updated_at":"2025-06-19T05:40:49.000Z","dependencies_parsed_at":"2023-12-06T05:29:22.388Z","dependency_job_id":"bdd5dec7-29cf-41fa-942c-3a675b5bc1fc","html_url":"https://github.com/floverfelt/find-and-replace-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/floverfelt/find-and-replace-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floverfelt%2Ffind-and-replace-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floverfelt%2Ffind-and-replace-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floverfelt%2Ffind-and-replace-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floverfelt%2Ffind-and-replace-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floverfelt","download_url":"https://codeload.github.com/floverfelt/find-and-replace-maven-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floverfelt%2Ffind-and-replace-maven-plugin/sbom","scorecard":{"id":404188,"data":{"date":"2025-08-11","repo":{"name":"github.com/floverfelt/find-and-replace-maven-plugin","commit":"430e33f63689e6e727f8ef865bac38821c711a8b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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/maven.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/floverfelt/find-and-replace-maven-plugin/maven.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/floverfelt/find-and-replace-maven-plugin/maven.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned 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":"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":"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":"Code-Review","score":0,"reason":"Found 1/20 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.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":"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":"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: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":-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":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v","Warn: Project is vulnerable to: GHSA-rhgr-952r-6p8q"],"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 9 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-18T20:48:15.279Z","repository_id":43315900,"created_at":"2025-08-18T20:48:15.279Z","updated_at":"2025-08-18T20:48:15.279Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"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":["build-management","java","maven","maven-plugin"],"created_at":"2026-01-14T02:10:25.920Z","updated_at":"2026-01-14T02:10:26.583Z","avatar_url":"https://github.com/floverfelt.png","language":"Java","funding_links":["https://www.buymeacoffee.com/floverfelt"],"categories":[],"sub_categories":[],"readme":"# Find and Replace Maven Plugin\n\nThere's a lack of an open source find and replace plugin in the Maven repository. \n\nThe most widely recommended one is the [maven-replacer-plugin](https://mvnrepository.com/artifact/com.google.code.maven-replacer-plugin/maven-replacer-plugin) which \nis very old and just a wrapper around the [ant task](https://ant.apache.org/manual/Tasks/replace.html) which lacks support for file and directory names.\n\nThe find-and-replace maven plugin is an attempt to remedy these issues. It's open source, uses vanilla Java 8, and allows for replacement within files, for file names, and for directory names.\n\nIt's intended to be simple to read and contribute to.\n\n## Documentation\n\nDocumentation can be found [here](https://floverfelt.org/find-and-replace-maven-plugin).\n\n## Usage\n\nThe find-and-replace-maven-plugin is lifecycle phase agnostic. Simply add it to your pom wherever you'd like it to execute.\n\n```\n\u003cplugin\u003e\n   \u003cgroupId\u003eio.github.floverfelt\u003c/groupId\u003e\n   \u003cartifactId\u003efind-and-replace-maven-plugin\u003c/artifactId\u003e\n   \u003cexecutions\u003e\n      \u003cexecution\u003e\n         \u003cid\u003eexec\u003c/id\u003e\n         \u003cphase\u003epackage\u003c/phase\u003e\n         \u003cgoals\u003e\n            \u003cgoal\u003efind-and-replace\u003c/goal\u003e\n         \u003c/goals\u003e\n         \u003cconfiguration\u003e\n            \u003c!-- Possible replacementType values: file-contents, filenames, directory-names. To run for multiple types, pass the values as a CSV list. --\u003e\n            \u003creplacementType\u003edirectory-names\u003c/replacementType\u003e\n            \u003cbaseDir\u003etesting/\u003c/baseDir\u003e\n            \u003cfindRegex\u003e_\u003c/findRegex\u003e\n            \u003creplaceValue\u003e-\u003c/replaceValue\u003e\n            \u003crecursive\u003etrue\u003c/recursive\u003e\n         \u003c/configuration\u003e\n      \u003c/execution\u003e\n   \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n\n## Contribution\n\nIf you'd like to contribute, feel free to raise a pull request or issue. You can support the plugin monetarily [here](https://www.buymeacoffee.com/floverfelt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloverfelt%2Ffind-and-replace-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloverfelt%2Ffind-and-replace-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloverfelt%2Ffind-and-replace-maven-plugin/lists"}