Hadoop Tutorial Series, Issue #1: Setting Up Your MapReduce Learning Playground | My Blog by Philippe Adjiman: "export M2_HOME=/usr/local/apache-maven
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
Then from the same terminal go into the workspace directory (usually located at ~/workspace) and create a java project hierarchy using the following maven command (change the groupId and the artifactId as you like):
"
'via Blog this'