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

Want to use latest gson library, but bamboo plugin defaults to atlassian-gson library

I want to use the latest gson-2.8.0 jar in my bamboo plugin, however bamboo defaults to using gson-2.2.2-atlassian-1.jar . I tried adding dependency in pom.xml to use :

<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version><scope>compile</scope>
 </dependency>

But still didn't work.  Please guide on how to achieve this?

1 answer

0 votes

Hi Nikita,

What error exactly you're seeing? Is Maven being able to pull the dependency?

thanks

There is no error as such.There is change in behaviour of the gson library which allows identifying that old library is getting used by plugin.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
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