Trying to compile JIRA-gadget-plugin source code - Error- Couldn't detect an AMPS product to dispatch to

Manish Ranjan March 7, 2012

Hi

being a licensed user i have got access to JIRA source . when i try to a plugin eg: jira-gadget-plugin by using

atlas-run at root level where pom.xml exists it throws errro

Couldn't detect an AMPS product to dispatch to and exits the build process

some thing i am missing ?

Manish

2 answers

1 vote
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2012

Even i had faced the same error while trying to build the behaviours plugin from source . Try without atlas-run .

just run

1)atlas-mvn clean

2)atlas-mvn compile

3)atlas-mvn package

then install the jar in your jira . Most probably it will work :)

0 votes
Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2012

Try using these tutorials:

https://developer.atlassian.com/display/GADGETS/Tutorials+on+Writing+a+Gadget

Basically, rather than run that command from the jira source, you want to download and install the plugin SDK:

https://developer.atlassian.com/display/DOCS/Developer+Quick+Start

https://developer.atlassian.com/display/DOCS/Installing+the+Atlassian+Plugin+SDK

Once you've downloaded the SDK, you can follow the tutorials to make a gadget, especially this one:

https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+Gadgets+for+JIRA

Suggest an answer

Log in or Sign up to answer