Sync the pom.xml version with the one from package.json.
npm install sync-package-pom> Synchronize the version from the package.json with the one in the pom.xml file.
``js`
$ npm i --save-dev sync-package-pom
``
$ sync-package-pom [path-to-package-file] [path-to-pom-file]
Or as a global package:
``
$ npm i -g sync-package-pom
$ sync-package-pom [path-to-package-file] [path-to-pom-file]
Both parameters are optional. If no package.json or pom.xml` is specified it will assume they are present in the current directory.