wood burning stoves*
The moose likes Ant, Maven and Other Build Tools and the fly likes maven in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven in eclipse" Watch "maven in eclipse" New topic

maven in eclipse

bisharjan pokharel

Joined: Apr 02, 2011
Posts: 1
Hello guys?? I have been using netbeans for last 3 years and now i am moving to ecipse.I am getting difficulty in running maven project in eclipse.It is a quite straight job to do in Netbeans.I have installed Plugins and other stuffs and created a project .But when i try to run it says to specify the goal.What is this and how to solve this ?? It gives a option to browse goal. Please post how to create an web application in eclipse??
Peter Johnson

Joined: May 14, 2008
Posts: 5812

What plugin did you install? Hopefully m2eclipse. How did you go about creating the project? Hopefully via New | Project | Maven | Maven Project. Or if you create the Maven project from the command line the m2eclipse plugin provides an "Import Maven project" option under File | Import. Also, what archetype did you use? For a web project you should use an archetype for a web project.

Maven projects in Eclipse typically use build-resources as the goal within Eclipse because that is the phase just before the testing phases.

To read more about goals and phase, see Maven the Complete Reference at http://www.sonatype.com/books/mvnref-book/reference/public-book.html

JBoss In Action
I agree. Here's the link: http://aspose.com/file-tools
subject: maven in eclipse
Similar Threads
Maven target folder is empty when using Eclipse M2 plugin
how to configure my already existing project in Maven
Eclipse SVN Settings
Building A Spring Batch Application using MAVEN/Eclipse
eclipse galileo + m2eclipse + enterprise application