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

3.4k Views Asked by At

[ERROR] Unknown lifecycle phase "run". You must specify a valid lifecycle phase or a goal in the format

2

There are 2 best solutions below

1
Poorvi Nigotiya On

I think you are using 'run' which maven is not able to recognize. Use clean installonly

0
gurchet singh On

I got it resolved Root Cause : The phases of the life cycle was not properly defined in execution tag in POM File results throwing the Error : [ERROR] Unknown lifecycle phase "run". You must specify a valid lifecycle phase or a goal in the format