Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Testing Plugin that has a Dependency on Insight Plugin local

Caroline W_ May 4, 2021 edited

Hi everyone,

I have a Plugin that uses the Insight Plugin. It works fine when I deploy it on a Jira Sandbox enviorment where Insight is installed. But I would like to run it local, to debug it/ use QuickRealod function.

I have integrated it with Maven like this:

<dependency>
<groupId>com.riadalabs.jira.plugins</groupId>
<artifactId>insight</artifactId>
<version>8.7.10</version>
<classifier>api</classifier>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.riadalabs</groupId>
<artifactId>insight-core-model</artifactId>
<version>0.2.2</version>
<scope>provided</scope>
</dependency>



<repository>
<id>riada</id>
<url>https://repo.riada.io/repository/riada-repo/</url>
</repository>
</repositories>

And add it it with:

@ComponentImport final ObjectFacade objectFacade

in my code.

If I do atlas-run the activation of my plugin fails because it can't saisfy the Insight dependency. But if I try to install Insight from jar it troughs the following error:

[com.riadalabs.jira.plugins.insight.services.events.InsightEventBus]: Error creating bean with name 'defaultInsightEventBus' defined in URL

I thought it might be missing the guava libary but adding google guava to my pom also didn't help.

Can someone give me a hint?

Thank you in advance

Caroline

1 answer

1 accepted

0 votes
Answer accepted
Caroline W_ June 3, 2021

I manged to include Insight by by adding it as bundled Artifact to my amps configuration:

<configuration>
...
<bundledArtifacts>
<bundledArtifact>
<groupId>com.riadalabs.jira.plugins</groupId>
<artifactId>insight</artifactId>
<version>8.7.7</version>
</bundledArtifact>
...
</configuration

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe guide, teamwork collection, atlassian events, conference guide, team culture, collaboration tools, ai in teamwork, atlassian learning, event schedule, keynote previews, community events

Must attend events for Team Europe '25!

Make the most of your time in Barcelona with our curated guide – discover how Jira, Confluence, Loom, and Rovo work better together, connect with Atlassian experts, and enter to win an Apple prize bundle!

Get the guide
AUG Leaders

Atlassian Community Events