• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

maven in eclipse

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic