Maven error | Selenium Forum
G
gautam Posted on 21/10/2020

Hi,

When i run the command mvn eclipse.eclipse i am getting below error:

 

C:\Users\Gautam\eclipse-workspace\MavenProjectfrmCMD>mvn eclipse.eclipse

 

Unknown lifecycle phase "eclipse.eclipse". 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-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

 

Please let me know if i am doing something wrong.

 

Thanks,

Gautam 


A
amruta.markhedkar Replied on 21/10/2020

Hi Gautam, 

I believe the command is not "mvn eclipse.eclipse" but "mvn eclipse:eclipse" . Use colon there.

Hope that helps!

Thanks,

Amruta

 


A
Ashish Replied on 22/10/2020

mvn eclipse:eclipse is command

Also please use eclipse maven plugin


G
gautam Replied on 23/10/2020

Thanks Amruta and Ashish.


Related Posts