{"id":37021265,"url":"https://github.com/invvk/auto-increment-plugin","last_synced_at":"2026-01-14T02:30:19.868Z","repository":{"id":47718894,"uuid":"394356303","full_name":"Invvk/auto-increment-plugin","owner":"Invvk","description":"Maven plugin that automatically increases the version number accordingly, it support commit hash too!","archived":true,"fork":false,"pushed_at":"2021-09-09T19:06:19.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T08:31:33.129Z","etag":null,"topics":["auto-version","automation","commit","git","java","maven","maven-central","maven-plugin","maven-plugins","pom","properties","versioning","yaml"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Invvk.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}},"created_at":"2021-08-09T16:04:07.000Z","updated_at":"2025-06-23T16:28:57.000Z","dependencies_parsed_at":"2022-09-13T08:40:30.237Z","dependency_job_id":null,"html_url":"https://github.com/Invvk/auto-increment-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Invvk/auto-increment-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invvk%2Fauto-increment-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invvk%2Fauto-increment-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invvk%2Fauto-increment-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invvk%2Fauto-increment-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Invvk","download_url":"https://codeload.github.com/Invvk/auto-increment-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invvk%2Fauto-increment-plugin/sbom","scorecard":null,"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":["auto-version","automation","commit","git","java","maven","maven-central","maven-plugin","maven-plugins","pom","properties","versioning","yaml"],"created_at":"2026-01-14T02:30:19.087Z","updated_at":"2026-01-14T02:30:19.843Z","avatar_url":"https://github.com/Invvk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auto-increment-plugin\n[![Java CI with Maven](https://github.com/Invvk/auto-increment-plugin/actions/workflows/maven.yml/badge.svg)](https://github.com/Invvk/auto-increment-plugin/actions/workflows/maven.yml) [![Maven Central](https://img.shields.io/maven-central/v/io.github.invvk/auto-increment-plugin.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.invvk%22%20AND%20a:%22auto-increment-plugin%22)\u003cbr\u003e\n\nMaven plugin that automatically increases the version number accordingly, it support commit hash too!\n\n# How it works\nThis plugin works by generating a properties file saving three values:\n - `Major`: Major version number **X**.0.0\n - `Minor`: Minor version number 0.**X**.0\n - `Patch`: Patch version number 0.0.**X**\n\neverytime a `install` or `package` is initiated, the build number keep increasing.\u003cbr\u003e\nas soon as the `Patch` hit the limit (`default is 9`) the `Minor` version increases by 1\u003cbr\u003e\nand the same thing goes for minor, as soon as it hits the limit (`default is 9`), the `Major` version increases by 1\n\n# Using this plugin\nUsing maven, you can now implement and use this plugin without the need for extra configuration\u003cbr\u003e\nadd this inside `\u003cbuild\u003e` tag\n```xml\n\u003cplugin\u003e\n  \u003cgroupId\u003eio.github.invvk\u003c/groupId\u003e\n  \u003cartifactId\u003eauto-increment-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.2\u003c/version\u003e\n  \u003cexecutions\u003e\n      \u003cexecution\u003e\n          \u003cgoals\u003e\n              \u003cgoal\u003emodifyVersion\u003c/goal\u003e\n          \u003c/goals\u003e\n      \u003c/execution\u003e\n  \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n# Plugin compatibility with Java\nHere is an overview of the current plugin compatibility with Java\n\n| Plugin Version  | Required Java Version |\n| --------------- | ---------------------:|\n| 1.0.X           | Java 1.8              |\n| 1.1.X           | Java 1.8              |\n\n# Common issues\n - **Problem: Sometimes maven might not recognize the property `${aip.version.full}` and highlight it as an error.**\n   - **Solution:** don't worry, in the building process maven is going to recognize this property. you can suppress the error by adding this line on top of the property like in shown picture.\n\u003cbr\u003e![image](https://i.ibb.co/vVB6vXG/Capture.png) \u003cbr\u003e\n copy and paste: `\u003c!--suppress UnresolvedMavenProperty --\u003e`\n \n - **Problem: Commit has isn't appearing in (`aip.git.commit.cut`) or in (`aip.version.full`)**\n   - **Solution:** Make sure that your project is linked up with a git repository and it contains `.git` directory. Also, Make sure that you don't have `disableGit` option enabled.\n # Licenses\n This project uses [GNU General Public License v3.0](https://github.com/Invvk/auto-increment-plugin/blob/main/LICENSE).\n full artical on this license can be found [**here**](https://www.gnu.org/licenses/gpl-3.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvvk%2Fauto-increment-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvvk%2Fauto-increment-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvvk%2Fauto-increment-plugin/lists"}