java - How to specify maven bin in eclipse maven plugin? -


i have eclipse maven plugin coming on centos. how can execute maven command on linx like:

mvn clean package

[abigail@localhost ~]$ mvn bash: mvn: command not found 

how should specify path executable of maven plugin in eclipse? or have install maven seperately? thanks.

eclipse (m2e) have bundled central parts of maven inside eclipse plugin, why not detected, , not usable. investigation find correct way bootstrap it, have create launcher file manually.

if want run maven outside of eclipse, far better off standalone version of maven. mvn command bootstrap maven runtime system correctly, , secondly, able use advice concerning use of maven. maven binaries quite stable, wouldn't need upgrade upgrade eclipse.

you can subsequently switch eclipse use external installation if prefer.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -