{"id":26980192,"url":"https://github.com/clovu/clean-maven-faild-product","last_synced_at":"2025-04-03T14:32:36.602Z","repository":{"id":165395586,"uuid":"640722609","full_name":"clovu/clean-maven-faild-product","owner":"clovu","description":"🚀 A simple and efficient script to quickly clean up failed Maven build artifacts. ","archived":false,"fork":false,"pushed_at":"2025-03-10T05:23:45.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T06:24:49.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clovu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-15T01:38:01.000Z","updated_at":"2025-03-10T05:23:48.000Z","dependencies_parsed_at":"2025-03-10T06:25:03.307Z","dependency_job_id":null,"html_url":"https://github.com/clovu/clean-maven-faild-product","commit_stats":null,"previous_names":["clover-you/clean-maven-faild-product","clovu/clean-maven-faild-product"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovu%2Fclean-maven-faild-product","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovu%2Fclean-maven-faild-product/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovu%2Fclean-maven-faild-product/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovu%2Fclean-maven-faild-product/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clovu","download_url":"https://codeload.github.com/clovu/clean-maven-faild-product/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018233,"owners_count":20869977,"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","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":[],"created_at":"2025-04-03T14:30:28.639Z","updated_at":"2025-04-03T14:32:36.594Z","avatar_url":"https://github.com/clovu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003eEnglish | \u003ca href=\"README.zh-CN.md\"\u003e中文\u003c/a\u003e\u003c/p\u003e\n\n# Clean Maven Failed Artifacts\n\nA simple and practical Rust command-line tool for cleaning up failed downloads and corrupted packages in Maven repositories.\n\n## Project Overview\n\nWhen using Maven to build Java projects, network issues or other problems may cause dependency downloads to fail. These failed downloads remain in the local Maven repository as files ending with `.lastUpdated`. These files can cause subsequent build processes to repeatedly attempt and fail downloads, impacting development efficiency.\n\nThis tool scans the local Maven repository, automatically identifies and deletes all dependency directories containing `.lastUpdated` files, thereby resolving build failures.\n\n## Features\n\n- Automatically scans Maven repository directory\n- Finds all files containing `.lastUpdated`\n- Deletes folders with failed downloads\n- Displays real-time scanning progress\n- Shows final statistics of cleaned packages\n\n## Usage\n\n1. Run the program\n2. Enter Maven repository path (e.g. `C:/Users/username/.m2/repository`)\n3. The program will automatically scan and clean failed downloads\n\n## Building\n\nEnsure Rust environment is installed, then execute:\n\n```bash\ncargo build --release\n```\n\nThe compiled executable will be generated in the `target/release` directory.\n\n## Dependencies\n\n- [walkdir](https://crates.io/crates/walkdir) v2.5.0 - For recursive directory traversal\n\n## Important Notes\n\n- Recommended to back up your Maven repository before use\n- This tool permanently deletes files - use with caution\n\n## License\n\nMIT License © 2025 [Clover You](https://github.com/clovu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovu%2Fclean-maven-faild-product","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclovu%2Fclean-maven-faild-product","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovu%2Fclean-maven-faild-product/lists"}