I ran this command in my project directory to build and package it:
mvn clean javadoc:jar package
I do have my JAVA_HOME varia
JAVA_HOME
After spending 2-3 hours of time, i felt opening Eclipse via command line looks easiest solution. Follow below steps,
cd open Eclipse.app
Now your eclipse can able to find the Terminal Environmental variables.