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

Bamboo plugin fails to resolve with springframework POM dependency

I'm pretty much a n00b with both Spring and Atlassian plugin development, so perhaps I'm just doing something wrong, but here's a simple way to reproduce my scenario:

  1. I created a new bamboo plugin using the atlas-create-bamboo-plugin command in version 6.2.14 of the SDK.
  2. The only change I made was to set bamboo.version and bamboo.data.version to 5.15.3 in the pom.xml
  3. I ran 'atlas-debug' to start up a local server, and verified that the plugin is resolved and loaded.
  4. I added a single dependency in my pom.xml:
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-web</artifactId>
    <version>4.2.8.RELEASE</version>
    <scope>provided</scope> </dependency>
  5. I recompiled/packaged the plugin with 'atlas-package'.
  6. The plugin compiled, but failed to load, and the Felix console at /bamboo/plugins/servlet/system/console/bundles shows a large number of unresolved OSGi imports for my plugin.

The goal here is to be able to use Spring's RestTemplate to connect to an external service.

0 answers

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...

302 views 2 6
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