Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcgay/unique-revision-maven-filtering
Replace ${revision} in Maven POM by real version when installing / deploying artifacts
https://github.com/jcgay/unique-revision-maven-filtering
maven-extension versioning
Last synced: 5 days ago
JSON representation
Replace ${revision} in Maven POM by real version when installing / deploying artifacts
- Host: GitHub
- URL: https://github.com/jcgay/unique-revision-maven-filtering
- Owner: jcgay
- License: mit
- Created: 2016-08-20T13:48:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T04:01:38.000Z (almost 2 years ago)
- Last Synced: 2023-07-03T16:34:54.796Z (over 1 year ago)
- Topics: maven-extension, versioning
- Language: Groovy
- Homepage:
- Size: 37.1 KB
- Stars: 18
- Watchers: 4
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# unique-revision-maven-filtering
This Maven extension aims to replace `${revision}` version in POM when installing / deploying artifacts. You can then depend on such artifacts without breaking dependency resolution.
## Installation
Get [unique-revision-maven-filtering](https://dl.bintray.com/jcgay/maven/fr/jcgay/maven/extension/unique-revision-maven-filtering/1.3/unique-revision-maven-filtering-1.3.jar) and copy it in `%M2_HOME%/lib/ext` folder (where `%M2_HOME` targets your local Maven installation).
*or*
Use the new [core extensions configuration mechanism](http://takari.io/2015/03/19/core-extensions.html) by creating a `${maven.multiModuleProjectDirectory}/.mvn/extensions.xml` file with:
```
fr.jcgay.maven.extension
unique-revision-maven-filtering
1.3
```
## Usage
Run you build as usual, if your are using [continuous delivery friendly version](https://maven.apache.org/docs/3.2.1/release-notes.html) with the `${revision}` property it will be automatically replaced by its resolved value when installing or deploying artifacts.
# Build status
[![Build Status](https://travis-ci.org/jcgay/unique-revision-maven-filtering.svg?branch=master)](https://travis-ci.org/jcgay/unique-revision-maven-filtering)
[![Coverage Status](https://coveralls.io/repos/jcgay/unique-revision-maven-filtering/badge.svg?branch=master)](https://coveralls.io/r/jcgay/unique-revision-maven-filtering?branch=master)# Release
mvn -B release:prepare release:perform