Eclipse Project Build | Community
Skip to main content
eliash27546545
Level 2
Jul 11, 2018 3:19 PM UTC
Solved

Eclipse Project Build

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 11, 2018 3:42 PM UTC

Hi,

Can you please share complete maven command?

Unknown Lifecycle Phase Error in Maven Build

or check Unknown lifecycle phase maven - Stack Overflow

Arun Patidar

3 replies

eliash27546545
Level 2
Jul 12, 2018 9:10 AM UTC

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

Translate
smacdonald2008
Level 10
Jul 11, 2018 3:49 PM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 11, 2018 3:42 PM UTC

Hi,

Can you please share complete maven command?

Unknown Lifecycle Phase Error in Maven Build

or check Unknown lifecycle phase maven - Stack Overflow

Translate
Arun Patidar