Maven article for newer
Maven Install and Config in Ubuntu
http://www.cnblogs.com/0616--ataozhijia/p/3673964.html
Be awear of localRepository setting
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>/home/yan/code/repository/maven</localRepository>
Building Java Projects with Maven
http://spring.io/guides/gs/maven/