{"id":28136720,"url":"https://github.com/grunka/maven-repository","last_synced_at":"2026-04-25T21:32:43.381Z","repository":{"id":237445513,"uuid":"615345550","full_name":"grunka/maven-repository","owner":"grunka","description":"A maven repository for local caching of artifacts","archived":false,"fork":false,"pushed_at":"2023-05-25T09:39:04.000Z","size":431,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-14T16:21:24.502Z","etag":null,"topics":["java","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grunka.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,"zenodo":null}},"created_at":"2023-03-17T13:41:04.000Z","updated_at":"2023-04-08T12:50:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"61e9ec41-8f5f-45e4-8112-6cfeaf009bd1","html_url":"https://github.com/grunka/maven-repository","commit_stats":null,"previous_names":["grunka/maven-repository"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/grunka/maven-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2Fmaven-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2Fmaven-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2Fmaven-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2Fmaven-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grunka","download_url":"https://codeload.github.com/grunka/maven-repository/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunka%2Fmaven-repository/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["java","maven"],"created_at":"2025-05-14T16:19:59.085Z","updated_at":"2026-04-25T21:32:43.375Z","avatar_url":"https://github.com/grunka.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maven-repository\n\n[![maven-repository](https://github.com/grunka/maven-repository/actions/workflows/maven.yml/badge.svg)](https://github.com/grunka/maven-repository/actions/workflows/maven.yml)\n\n## Summary\n\nHave you ever installed and tried to maintain a maven repository and thought, this is way more than I need and it can't be that hard to build this kind of thing? I have many times and finally I went through with it and this is the result. Using the frameworks I'm most familiar with making a thing that does what I need.\n\nSome of the decisions made here\n\n- Very limited user capabilities. Just read and write levels.\n- No advanced segmentations of artifact locations. Local and a number of remote repositories are checked in the order of configuration.\n- Deploying is done to the local repository storage location both for snapshots and releases, no special routing to configure.\n- Artifacts stored as files on disk instead of adding various database dependencies.\n- Never tries to fetch SNAPSHOT version from remote repositories.\n\n## Configuration\n\nAll configuration lives in the [yaml file](maven-repository.yml). There are comments for what the fields are used for. You will need to update it since by default no-one will be allowed to download any artifacts through the repository.\n\n## Running\n\nStarting the service \n```shell\njava -jar maven-repository.jar server maven-repository.yml\n```\n\nCreate a sqlite user database in the file `storage/users.sqlite`\n```shell\njava -jar maven-repository.jar create-database -f storage/users.sqlite\n```\n\nAdd a user to the database in the file `storage/users.sqlite`, will be prompted for username, password, and access.\n```shell\njava -jar maven-repository.jar add-user -f storage/users.sqlite\n```\n\nSets the password for a user in the database in the file `storage/users.sqlite`, will be prompted for username and password.\n```shell\njava -jar maven-repository.jar set-user-password -f storage/users.sqlite\n```\n\nSets the access level for a user in the database in the file `storage/users.sqlite`, will be prompted for username and access.\n```shell\njava -jar maven-repository.jar set-user-access -f storage/users.sqlite\n```\n\nGenerates a password hash using the method used in the sqlite database. Will be prompted for a password. Hash can also be used for the users in the yaml configuration file.\n```shell\njava -jar maven-repository.jar generate-password-hash\n```\n\nGenerates a password hash using the classic mysql hash method, which is a double sha1 hash. Will be prompted for a password. Hash can also be used for the users in the yaml configuration file.\n```shell\njava -jar maven-repository.jar generate-mysql-password-hash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunka%2Fmaven-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrunka%2Fmaven-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunka%2Fmaven-repository/lists"}