aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes maven in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "maven in eclipse" Watch "maven in eclipse" New topic
Author

maven in eclipse

bisharjan pokharel
Greenhorn

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
author
Bartender

Joined: May 14, 2008
Posts: 5543

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: maven in eclipse
 
Similar Threads
how to configure my already existing project in Maven
Building A Spring Batch Application using MAVEN/Eclipse
Maven target folder is empty when using Eclipse M2 plugin
eclipse galileo + m2eclipse + enterprise application
Eclipse SVN Settings