Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Eclipse Project Build

Avatar

Level 2

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? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 10

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

Avatar

Level 2

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