gurchet singh
gurchet singh

Reputation: 21

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

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

Upvotes: 0

Views: 3597

Answers (2)

gurchet singh
gurchet singh

Reputation: 21

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

Upvotes: 0

Poorvi Nigotiya
Poorvi Nigotiya

Reputation: 458

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

Upvotes: 0

Related Questions