When i run the command mvn eclipse.eclipse i am getting below error:
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.
I believe the command is not "mvn eclipse.eclipse" but "mvn eclipse:eclipse" . Use colon there.
Hope that helps!
InstructorAshish Replied on 22/10/2020
mvn eclipse:eclipse is command
Also please use eclipse maven plugin
Thanks Amruta and Ashish.