{"id":16099297,"url":"https://github.com/artemy/zsh-mvn-contexts","last_synced_at":"2026-05-07T01:39:05.718Z","repository":{"id":136340715,"uuid":"289974034","full_name":"artemy/zsh-mvn-contexts","owner":"artemy","description":"zsh plugin for quickly switching between maven configuration files","archived":false,"fork":false,"pushed_at":"2020-08-26T07:37:16.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T22:44:37.426Z","etag":null,"topics":["maven","mvn","plugin","settings","zsh","zsh-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/artemy.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}},"created_at":"2020-08-24T16:01:02.000Z","updated_at":"2021-04-15T16:21:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"66c621ae-f632-45f0-8d7e-b378f645cc1d","html_url":"https://github.com/artemy/zsh-mvn-contexts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artemy/zsh-mvn-contexts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemy%2Fzsh-mvn-contexts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemy%2Fzsh-mvn-contexts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemy%2Fzsh-mvn-contexts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemy%2Fzsh-mvn-contexts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemy","download_url":"https://codeload.github.com/artemy/zsh-mvn-contexts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemy%2Fzsh-mvn-contexts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126685,"owners_count":22962674,"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":["maven","mvn","plugin","settings","zsh","zsh-plugin"],"created_at":"2024-10-09T18:26:44.279Z","updated_at":"2026-05-07T01:39:00.672Z","avatar_url":"https://github.com/artemy.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# zsh-mvn-contexts\n\nzsh-mvn-contexts is a zsh plugin for fast switching between your maven configurations\n\n## Installation\n\n### I'm using Antigen\n\n1. Add the following to your .zshrc:\n\n    ```bash\n    antigen bundle artemy/zsh-mvn-contexts\n    ```\n\n2. Restart zsh.\n\n### I'm using oh-my-zsh\n\n1. Clone this repository into oh-my-zsh's plugin directory:\n\n    ```bash\n    git clone git@github.com:artemy/zsh-mvn-contexts.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/_mvnctx\n    ```\n\n2. Enable the plugin in `~/.zshrc`:\n\n    ```bash\n    plugins=( [other plugins...] _mvnctx)\n    ```\n\n    (mind the underscore)\n3. Restart zsh.\n\n## Prerequisites\n\n1. Create `~/.m2/contexts` directory\n2. Save your custom maven settings as `~/.m2/contexts/\u003cmy-context\u003e.xml`\n3. (Optional) save your custom maven security file as `~/.m2/contexts/\u003cmy-context\u003e-security.xml`\n\n## How it works\n\nPlugin will symlink one of the specified \"context\" files from your `~/.m2/contexts` directory into `~/.m2` directory together with respective security file (if exists).\n\n## Usage\n\n```bash\nmvnctx \u003cmy-context\u003e\n```\n\nPlugin is also aware of existing configurations so it supports autocompletion.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Notes\n\nThanks to [Robin Trietsch](https://github.com/trietsch) for the idea and contributions.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemy%2Fzsh-mvn-contexts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemy%2Fzsh-mvn-contexts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemy%2Fzsh-mvn-contexts/lists"}