This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes how to lauch a pom.xml with maven in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to lauch a pom.xml with maven in eclipse" Watch "how to lauch a pom.xml with maven in eclipse" New topic

how to lauch a pom.xml with maven in eclipse

khekhone yvan
Ranch Hand

Joined: May 08, 2011
Posts: 79
hi people

i want to read some code Spring MVC projet and Spring send only POM projet how can i deploy on my eclipse.

the link on the pom is MVC Basic
tx you for your help :p
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31680

Did you install the Maven Eclipse plugin yet?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Peter Johnson

Joined: May 14, 2008
Posts: 5850

First step, like Jeanne mentioned, is to install the m2eclipse plugin. You can find it in the Eclipse marketplace - just do a search on "maven". Once that is installed, within Eclipse do File | Import | Maven |Existing Maven Projects. Then you are all set to go.

Though looking at the ling you provided, all of the projects stored in appear to be Eclipse projects. For example, has both a .project and a .classpath file. In that case, after installing m2eclipse you can import the project using File Import | Existing Projects into Workspace.

And yet another possibility: If you have subclipse installed also (for Subversion access), you can do File | Import | SVN | Checkout Projects for SVN and specify the URL to the project (such as

JBoss In Action
Have you tried LearnNowOnline?
subject: how to lauch a pom.xml with maven in eclipse