The Answer to Life, the Universe, and Everything

Friday, June 22, 2007

Maven with Eclipse A-Z

The simplest A-Z for Maven with Eclipse.
$mvn archetype:create -DgroupId=xx.xx.XX -DartifactId=AppName -Dversion=0.0.1
$mvn eclipse:add-maven-repo -Declipse.workspace=/home/user/workspace
#Move to the project root folder, then..
$mvn eclipse:eclipse -DdownloadSources=true

It's done. Then import the project from the Eclipse and enjoy ;-)

No comments: