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
Post a Comment