How to execute maven tasks in eclipse (Sonatype plugin)

Posted by Bruce on Stack Overflow See other posts from Stack Overflow or by Bruce
Published on 2010-05-11T06:14:24Z Indexed on 2010/05/11 6:24 UTC
Read the original article Hit count: 179

Filed under:
|
|
|

Hi all I know it must be something simple, but I just can't figure it out..

I'm using the Sonatype maven plugin on eclipse. When I want to build a war file for a webapp project, the only way I know to do it is to use the command line and type mvn package.

I've looked all through the right click menu and I can't find any way to do it from eclipse.

There's a maven submenu that seems to have no options to do with building, and there's a run menu that doesn't seem right - I don't want to run my project - I just want to build it. There is a maven build option in the run menu, but if I run it, a configuration window pops up for me to enter goals in..

How I do I just do a simple mvn package, but through gui? What am I missing?

Thanks!

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about java