Eclipse Project Build | Community
Skip to main content
eliash27546545
Level 2
July 11, 2018
Solved

Eclipse Project Build

  • July 11, 2018
  • 3 replies
  • 3603 views

Hey

Please note that i am trying to build project on eclipse

i did the run configuration for maven project but when i click run i got this error

Unknown lifecycle phase "Clean". 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.

Do you have any idea about it? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

Can you please share complete maven command?

Unknown Lifecycle Phase Error in Maven Build

or check Unknown lifecycle phase maven - Stack Overflow

3 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 11, 2018
Arun Patidar
smacdonald2008
Level 10
July 11, 2018

Can you build a Maven Archetype project via the command line?

eliash27546545
Level 2
July 12, 2018

its fixed by changing Clean install in the goals field to clean install