https://github.com/ikelin/incremental-builds
A Maven incremental builds extension for GIT
https://github.com/ikelin/incremental-builds
incremental-builds maven-extension
Last synced: 3 months ago
JSON representation
A Maven incremental builds extension for GIT
- Host: GitHub
- URL: https://github.com/ikelin/incremental-builds
- Owner: ikelin
- License: apache-2.0
- Created: 2019-02-14T05:34:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T15:14:12.000Z (over 1 year ago)
- Last Synced: 2025-01-28T02:17:25.313Z (5 months ago)
- Topics: incremental-builds, maven-extension
- Language: Java
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Incremental Builds Extension for GIT
In a Maven multi-module project using GIT, this extension only builds modules that changed or impacted by the changes.
[](https://maven-badges.herokuapp.com/maven-central/com.ikelin/incremental-builds)
[](https://travis-ci.org/ikelin/incremental-builds)
[](https://coveralls.io/github/ikelin/incremental-builds?branch=master)
[](https://www.codacy.com/app/ikelin/incremental-builds?utm_source=github.com&utm_medium=referral&utm_content=ikelin/incremental-builds&utm_campaign=Badge_Grade)## Usage
Maven `pom.xml`:
```xml
com.ikelin
incremental-builds
{VERSION}
```
Maven command:
```sh
mvn package -Dincremental.enable=true
```This enables the extension and builds modules that changed between the current branch, including uncommitted files and untraced files, and the master branch.
To compare current branch against another commit, branch, or tag:
```sh
mvn package -Dincremental.enable=true -Dincremental.commit=5a6e149
mvn package -Dincremental.enable=true -Dincremental.branch=staging
mvn package -Dincremental.enable=true -Dincremental.tag=1.0.2
```Note that Maven options `-pl` or `--projects` will override this extension's changed modules list.