sync-pom-version
A small package to sync the package.json
version with the pom.xml
one (i.e. to be used with maven-release-plugin).
Installation
$ npm i --save sync-pom-version
Usage
In your package.json
:
"scripts": "postinstall": "sync-pom-version <path-to-pom>"
Or as a global package:
$ npm i -g sync-pom-version
$ sync-pom-version <path-to-pom> <path-to-package-json>