Thursday, February 10, 2011

How to use maven for your project.


In this part of the tutorial , we will be looking at how to use MVN as a build tool for a web project.

Since i am new to MVN , i have many problems with regards to usage of MVN as you would. So
When i was browsing the internet for "MVN totorial" first thing i found was Thils.

Since i have downloaded MVN and started following 5 min guide at here. i was faced with following problems.
When i was followng this tutorila using eclipse , it gave me more visual information about following command if you are using command line to genearate MVN project structure.

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

M2Eclipse plugin provides visual interfaces during project strucutre generation phase to select thise options. Following option took my interest to investigate more since that does not mean any thing to me when i was looking at it for the first time. Following is the screen short for M2Eclipse page.



it asks you to select appropriate archetype plugin. hemm, in my vocabulary there is no such name. That is software engineering. it is full of such strange terms. Lets try to get this term in to our terminology.



No comments:

Post a Comment