https://github.com/nikku/amvn
Maven with change detection and automatic rebuild.
https://github.com/nikku/amvn
Last synced: about 1 year ago
JSON representation
Maven with change detection and automatic rebuild.
- Host: GitHub
- URL: https://github.com/nikku/amvn
- Owner: nikku
- Created: 2015-08-17T15:25:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T11:35:31.000Z (about 4 years ago)
- Last Synced: 2025-06-03T01:46:51.163Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 155 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# amvn
[](https://github.com/nikku/amvn/actions/workflows/CI.yml)
`amvn` (awesome maven) wraps [Maven](https://maven.apache.org/) to add change detection and automatic rebuild.
## Installation
Install the library via [npm](https://www.npmjs.com):
```
npm install amvn -g
```
## Usage
```
> amvn clean compile ... --watch
[AMVN] make maven awesome
[AMVN] watching for src/main/resources changes...
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wtf 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
...
```
`amvn` accepts the additional `--watch` argument to copy resources / reload maven on source changes.
It does not actually care _what_ you execute via Maven. Make sure you have a lean and quick build process yourself.
## How it works
`amvn` keeps the running application in sync with your sources
* keeping `target/classes` up to date with `src/main/resources`
* reloading the underlying `mvn` instance on changes in `src/main/java`
Use it with modern web development stacks that bootstrap _fast_.
## License
MIT