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

Unknown lifecycle phase "${mavenPluginName}=$mavenPluginName" Error while developing crucible plugin

Gaurav Tomar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2019

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

10 votes
Roshan Deshmukh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2020

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:%%

RJ Bates June 15, 2020

this worked for me Thanks!

george jiang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2020

thanks,also worked for me

yogesh pitale
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2020

Worked for me too!

Shiran Vatury September 17, 2020

thanks, mate 

1 vote
PAC IT Licensing
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2019

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

Derek White November 14, 2019

@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
Joyce Kristine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2020

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
AUG Leaders

Atlassian Community Events