https://github.com/avides/gitlab-release-maven-plugin
Maven plugin to create gitlab release tags
https://github.com/avides/gitlab-release-maven-plugin
gitlab maven maven-plugin
Last synced: 6 months ago
JSON representation
Maven plugin to create gitlab release tags
- Host: GitHub
- URL: https://github.com/avides/gitlab-release-maven-plugin
- Owner: avides
- License: mit
- Archived: true
- Created: 2018-12-18T15:40:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T13:08:06.000Z (over 7 years ago)
- Last Synced: 2025-04-09T21:43:52.103Z (about 1 year ago)
- Topics: gitlab, maven, maven-plugin
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitlab-release-maven-plugin
[](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.avides.gitlab%22%20AND%20a%3A%22gitlab-release-maven-plugin%22)
[](https://www.codacy.com/app/avides-builds/gitlab-release-maven-plugin)
[](https://www.codacy.com/app/avides-builds/gitlab-release-maven-plugin)
[](https://travis-ci.org/avides/gitlab-release-maven-plugin)
The gitlab-release-maven-plugin creates tags on your GitLab Repository by your project version in your maven build.
## Plugin
### With required configuration options
```xml
com.avides.gitlab
gitlab-release-maven-plugin
2.2.0-RELEASE
```
### With all options
```xml
com.avides.gitlab
gitlab-release-maven-plugin
2.2.0-RELEASE
http://your-custom-gitlab-domain/
GITLAB_ACCESS_TOKEN
repository-namespace
project-name
0.1.0-RELEASE
true
YOUR_DEPLOYMENT_BRANCH
```
## Configuration options
| Property | Description | Required |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------- | -------- |
| gitlabHost | Your custom GitLab URL (default: `https://gitlab.com`) | No |
| gitlabAccessToken | Your User GitLab Access Token (Pass this token directly in the execute command, `-DgitlabAccessToken=ACCESS_TOKEN`) | Yes |
| gitlabRepositoryNamespace | Repository namespace (If `project.scm.url` is set in your pom, it will be resolved automatically.) | No |
| gitlabRepositoryName | Repository name (default: `${project.name}`) | No |
| projectVersion | Project version and finally the Release-Tag name (default: `${project.version}`) | No |
| gitlabPreReleaseDesired | If `true`, PRE-Releases will be create a Release-Tag, otherwise not (default: `false`) | No |
| gitlabBranchName | Your deployment branch (default: `master`) | No |
## Usage
```bash
mvn gitlab-release:release -DgitlabAccessToken=ACCESS_TOKEN
```