Monday, September 19, 2016

Installing mvnw on Ubuntu

Typically when working with jhipster applications there is are mvnw commands that needs to be executed.

The mvnw tool which is wrapper on top of maven needs to be installed by following the example set at https://github.com/vdemeester/mvnw .

First need to checkout the tool :
git clone git://github.com/vdemeester/mvnw.git ~/.mvnw

Then you need to add the following environment variable within .bashrc:


nano ~/.bashrc

Command:
export PATH="$HOME/.mvnw/bin:$PATH"

then enable it :
. ~/.bashrc


No comments: