{"id":19858675,"url":"https://github.com/nnichols/maven-version-bump","last_synced_at":"2026-05-16T05:02:41.194Z","repository":{"id":149217958,"uuid":"318251319","full_name":"nnichols/Maven-Version-Bump","owner":"nnichols","description":"A Shell Script to Bump the Version of Your Maven Projects / POMs","archived":false,"fork":false,"pushed_at":"2021-01-02T14:02:26.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T14:26:46.450Z","etag":null,"topics":["maven","semver","versioning"],"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/nnichols.png","metadata":{"files":{"readme":"README.md","changelog":"changelog_entry.txt","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":"2020-12-03T16:19:14.000Z","updated_at":"2024-11-07T05:51:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"d07a25c8-8f96-4efc-b06c-6d467af7e0c0","html_url":"https://github.com/nnichols/Maven-Version-Bump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nnichols%2FMaven-Version-Bump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nnichols%2FMaven-Version-Bump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nnichols%2FMaven-Version-Bump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nnichols%2FMaven-Version-Bump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nnichols","download_url":"https://codeload.github.com/nnichols/Maven-Version-Bump/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241255130,"owners_count":19934815,"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","semver","versioning"],"created_at":"2024-11-12T14:24:14.000Z","updated_at":"2026-05-16T05:02:41.145Z","avatar_url":"https://github.com/nnichols.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maven Version Bump\n\nA Shell Script to Bump the Version of Your Maven Projects / POMs\n\n## SemVer and Maven\n\n[SemVer](https://semver.org/) is a nice way to version your projects over time, but managing Maven artifact versions from the command line can be a pain.\nWhile experimenting with Clojure's `tools.deps`, I was suddenly responsible for more artifact maintenance.\nAll too often, I ended up manually changing the project version in the POM and creating my CHANGELOG entries separately.\nSo, I adapted some previously used scripts to solve the problem for me.\n\n## Usage\n\nAdd the `bin/verchg` shell script to your path, local `/bin` directory, etc and call it with one of the three following options from the directory that houses your `pom.xml`\n\n* 'major'\n* 'minor'\n* 'bugfix'\n\nFor example:\n\n```shell\n$ ./bin/verchg 'minor'\n\n[INFO] Scanning for projects...\n[INFO]\n[INFO] ---------------\u003c com.my-org:awesome-app \u003e-------------------------------\n[INFO] Building com.my-org:awesome-app 0.3.0\n[INFO] --------------------------------[ jar ]---------------------------------\n[INFO]\n[INFO] --- versions-maven-plugin:2.8.1:set (default-cli) @ awesome-app ---\n[INFO] Local aggregation root: /Users/nnichols/awesome-app\n[INFO] Processing change of com.my-org:awesome-app:0.3.0 -\u003e 0.4.0\n[INFO] Processing com.my-org:awesome-app\n[INFO]     Updating project com.my-org:awesome-app\n[INFO]         from version 0.3.0 to 0.4.0\n[INFO]\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time:  1.173 s\n[INFO] Finished at: 2020-12-03T10:29:36-06:00\n[INFO] ------------------------------------------------------------------------\nProject is now at 0.4.0\n```\n\n### CHANGELOG\n\nIf you'd like to automatically update your `CHANGELOG.md` with each invocation, pull `bin/verchglog` instead.\nIt will scan for the relative path `doc/templates/` for a file `changelog_entry.txt`.\nIt will pre-pend this entry into your CHANGELOG, and `sed` any references to the variables to `${VER}` and `${DATE}`.\n\nFor example:\n\n```\n## v${VER} / ${DATE}\n\n\u003e This release ...\n\n```\n\nbecomes\n\n```\n## v0.4.0 / 2020 Dec 03\n\n\u003e This release ...\n\n```\n\n## Licensing\n\nCopyright © 2020-2021 [Nick A Nichols](https://nnichols.github.io/)\n\nDistributed under the [MIT License](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnnichols%2Fmaven-version-bump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnnichols%2Fmaven-version-bump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnnichols%2Fmaven-version-bump/lists"}