Try using the Eclipse STS from Spring.
It is Eclipse with all the bits and pieces that you need to do Maven and most Java development.

This will save a ton of time every time you need to set up a new workstation or upgrade an existing one. You can use the Eclipse preference screens to manage and understand where Maven is located and which .m2 folder is the "real" one.

It comes with tools to start a new Maven project with the right structure and initial pom files.

Ron


On 21/04/2014 9:52 PM, Mayank wrote:
Hi,

I am new to Maven, so need some help !!

I have started using by unzipping its binary.zip and setting the environment
variables and got the mvn -version executed successfully but after that none
of the command worked, probably because of setting.xml (not sure, please
clarify).
Then I got another idea and integrated the maven plugin in Eclipse Kepler
and got that successful too. Then I tried to create jsf archetype project in
eclipse, but I did not get the correct structure and facet option (though I
also tried to change the builder and nature in .project file).
Now I am confused, I want to use mvn plugin for eclipse and confusion is
does successfully integrating the maven plugin with eclipse is enough or
does env variable creation and unzipped maven folder are mandatory ?

And since I noticed about .m2 folder after two different tries so I am not
sure which one actually created it ?

Kindly help urgently!!



--
View this message in context: 
http://maven.40175.n5.nabble.com/m2-folder-creation-tp5791740.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to