Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 "${mavenPluginName}=$mavenPluginName" Error while developing crucible plugin

We are trying to create a plugin for the crucible. This plugin enables every comment to be marked as a defect.

 

After running atlas-create-crowd-plugin-module i ran this "atlas-mvn package" and  getting below error:

Unknown lifecycle phase "${mavenPluginName}=$mavenPluginName". 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].

I am new to plugin development. Any help would be appreciated.

 

2 answers

I think this is helpful for your problem:
* go to atlassian-plugin-sdk -> bin->atlas-mvn.bat file.
* replace call set MVN_COMMAND=%%MVN_COMMAND:${mavenPluginName}=%MVN_PLUGIN%%% to call set MVN_COMMAND=%%MVN_COMMAND:%%

this worked for me Thanks!

thanks,also worked for me

Worked for me too!

This is resolved in another answer, please refer to see two changes that needs to be

https://community.atlassian.com/t5/Jira-questions/Unknown-lifecycle-phase-error/qaq-p/1006922

If this resolve your issue, please accept this answer

@Gaurav TomarPlease NEVER accept this answer. The only acceptable answer is for Atlassian to fix their product that has been broken for over 2 years.

 

Please vote for, watch, and comment on https://ecosystem.atlassian.net/browse/ATLASSDK-93

Like # people like this

The above-mentioned issue has been marked as resolved, but still occurs on latest 8.0.16 release.

https://ecosystem.atlassian.net/browse/ATLASSDK-179 issue marks it as resolved and will be released on 8.0.17.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

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