๐Ÿ“ฆ darrachequesne / sync-pom-version

sync package.json and pom.xml versions

โ˜… 7 stars โ‘‚ 7 forks ๐Ÿ‘ 7 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/darrachequesne/sync-pom-version.git
HTTPS git clone https://github.com/darrachequesne/sync-pom-version.git
SSH git clone git@github.com:darrachequesne/sync-pom-version.git
CLI gh repo clone darrachequesne/sync-pom-version
Damien Arrachequesne Damien Arrachequesne chore: release 1.1.0 02a6073 7 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ bin
๐Ÿ“„ .gitignore
๐Ÿ“„ index.js
๐Ÿ“„ LICENSE
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ README.md

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>