I just right-click on the project, select "Run As" -> "Maven install" or whatever you want. Normally works fine, but there are a few Maven plugins that don't work well here. maven-invoker-plugin is one. So if that one is bound to the lifecycle you'll get some error. If you want to do "mvn clean install" you can create a customized run configuration as well.
/Anders On Wed, Sep 5, 2012 at 7:36 AM, <[email protected]> wrote: > Hi, > > > > I am able to clean,build and create a war file using command prompt using > maven however through eclipse it fails with the following error. > > > > [ERROR] No goals have been specified for this build. You must specify a > valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or > <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available > lifecycle phases are: validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy, pre-site, > site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1] > > > > > > Can you please help me on the same. It is urgent.Appreciate your quick > reply. > > > > Regards, > > Usha > > > > > ________________________________ > Subject to local law, communications with Accenture and its affiliates > including telephone calls and emails (including content), may be monitored > by our systems for the purposes of security and the assessment of internal > compliance with Accenture policy. > ______________________________________________________________________________________ > > www.accenture.com > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
