It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unknown lifecycle phase error

I am getting Unknown lifecycle phase error after entering the command

atlas-mvn eclipse:eclipse

Screenshot (1).png

Can anybody help me with this? 

1 answer

0 votes
Andy Heinzer Atlassian Team Feb 15, 2019

It looks like this kind of error has been reported before when using the Atlassian-SDK on Windows platforms specifically.  Please see the bug report in

In it, other users have reported in the comments there that it might be possible to modify a mvn.bat file in that bin folder and make some adjustments to avoid this error.   I'm more concerned about the first error on the screen after you run your command of:

'else' is not recognized as an internal or external command,
operable program or batch file.

Perhaps if we can address that issue first, these other errors can be avoided entirely.

Looks like I was able to fix "Lifecycle Phase" error as follows (I got it on Windows):

1. In "atlas-mvn.bat" file comment out the following line:

call set MVN_COMMAND=%%MVN_COMMAND:${mavenPluginName}=%MVN_PLUGIN%%%

2. Replace it with:



Like # people like this

Many thanks this solve the issue I was having :)

Thanks again

thanks - fixed my eclipse error


else is here but I'm not sure how to fix

set /a ARGI = !ARGI! + 1
set /a ARGN = !ARGI! + 1

if !ARGI! gtr %ARGC% goto loopend

call :getarg !ARGI! ARG
call :getarg !ARGN! ARGNEXT

else (

goto loopstart


Many thanks @Vlad Polonskiy! After updating SDK I've been stuck for several hours with "Lifecycle Phase" error. Your comment contains must-have info to fix it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

229 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you