{"id":25208144,"url":"https://github.com/h-sslefree/semver-maven-plugin","last_synced_at":"2025-10-25T08:30:59.765Z","repository":{"id":50103812,"uuid":"92623309","full_name":"h-sslefree/semver-maven-plugin","owner":"h-sslefree","description":"The semver-maven-plugin is used to determine the next version of a MAVEN project. Symantic versioning is used to specify the version symantics.","archived":false,"fork":false,"pushed_at":"2021-06-04T02:54:54.000Z","size":376,"stargazers_count":7,"open_issues_count":11,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T12:16:54.054Z","etag":null,"topics":["java","maven","maven-plugin","mavencentral","semantic-versioning"],"latest_commit_sha":null,"homepage":"https://github.com/h-sslefree/semver-maven-plugin","language":"Java","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/h-sslefree.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T20:48:06.000Z","updated_at":"2021-10-19T19:08:56.000Z","dependencies_parsed_at":"2022-08-03T19:30:15.543Z","dependency_job_id":null,"html_url":"https://github.com/h-sslefree/semver-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sslefree%2Fsemver-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sslefree%2Fsemver-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sslefree%2Fsemver-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sslefree%2Fsemver-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h-sslefree","download_url":"https://codeload.github.com/h-sslefree/semver-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238109524,"owners_count":19417881,"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":["java","maven","maven-plugin","mavencentral","semantic-versioning"],"created_at":"2025-02-10T12:18:58.744Z","updated_at":"2025-10-25T08:30:54.340Z","avatar_url":"https://github.com/h-sslefree.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semver-maven-plugin\n\n[![Build Status](https://travis-ci.org/h-sslefree/semver-maven-plugin.svg?branch=master)](https://travis-ci.org/h-sslefree/semver-maven-plugin) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=semver-maven-plugin\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=semver-maven-plugin)\n\nThe semver-maven-plugin is used to determine the next version of a MAVEN project. Symantic versioning is used to specify the version symantics.\n\nCheck: [semver.org](https://www.semver.org) for more information\n\n## Usage\n\nInclude the following depedency in your pom.xml\n\n```\n\u003cplugin\u003e\n  \u003cgroupId\u003enl.hasslefree.maven.plugins\u003c/groupId\u003e\n  \u003cartifactId\u003esemver-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e3.3.1\u003c/version\u003e\n\u003c/plugin\u003e\n```\n\n### Run configurations\n\nYou have to specify the configuration-tag to set the RUN_MODE.\n \n```\n\u003cplugin\u003e\n  \u003cgroupId\u003enl.hasslefree.maven.plugins\u003c/groupId\u003e\n  \u003cartifactId\u003esemver-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e3.3.1\u003c/version\u003e\n\u003c/plugin\u003e\n```\n\nThe goals that use the **maven-release-plugin** are attached to RUN_MODES:\n\n* RELEASE\n* RELEASE_BRANCH\n* RELEASE_BRANCH_RPM\n\nIt generates the `release.properties` and then the *release:prepare*-goal can be used to make the maven release-artifact.\n\nThe goals that are **native** are attached to RUNMODES:\n\n* NATIVE\n* NATIVE_BRANCH\n* NATIVE_BRANCH_RPM\n  \nThe **native**-method is developed in version: *3.0.0* to get rid of the dependency on the **maven-release-plugin**.\n\n## Goals\n\n* **patch**\n\n    Create a bug-fix on your project: 0.0.x. \n\n* **minor**\n\n    Create a non-breaking new feature on your project: 0.x.0.\n\n* **major**\n\n    Create a breaking changes in your project: x.0.0.\n\n* **rollback**\n\n    Rollback a patch, minor or major version. Also deletes created GIT-tags on local and remote repository.\n\n\n* **cleanup-git-tags**\n\n    `@Deprecated`\n    \n    Cleanup remote and local **build-**tags. Run before the build-server makes a release.\n\n### Run the goals\n\nThe goals that use the **maven-release-plugin** are attached to RUNMODES:\n\n* RELEASE\n* RELEASE_BRANCH\n* RELEASE_BRANCH_RPM\n\nTo run the goals please execute the following commands:\n\n* `mvn semver:patch release:prepare`\n* `mvn semver:minor release:prepare`\n* `mvn semver:major release:prepare`\n\nThe goals that are **native** are attached to RUNMODES:\n\n* NATIVE\n* NATIVE_BRANCH\n* NATIVE_BRANCH_RPM\n\nTo run the goals please execute the following commands:\n\n* `mvn semver:patch`\n* `mvn semver:minor`\n* `mvn semver:major`\n* `mvn semver:rollback` \n\n## Build\n\nTo build the semver-maven-plugin, execute the following command:\n\n`mvn clean package`\n\nThis way you can use a SNAPSHOT-version to test in your applications.\n\n### Development\n\n## Formatting code\nRun `mvn fmt:format` to format your code according to the google-style.\n\n### Tests\nRun `mvn test` to start the unit test suite \n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-sslefree%2Fsemver-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh-sslefree%2Fsemver-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-sslefree%2Fsemver-maven-plugin/lists"}