Menu

Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase.

We got this error while running a maven project using the maven goal "mvn clean install". Remove the mvn keyword from the command and run the project only with "clean install". 

[ERROR] Unknown lifecycle phase "mvn". 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]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

Is your reason for discrimination valid?

Your car is German.

Your fuel is Arab.

Your movies are American.

Your letters are Latin.

Your numbers are Arabic.

Your kebab is Turkish.

Your coffee is Ethiopian.

Your tea is Tamil.

Your rice is Indian.

Your pizza is Italian.

Your clothes are Bangladeshi.

Your democracy is Greek.

Your electronics are Chinese.


Still you are complaining that your neighbour is immigrant?