Problems packaging IBM DB2 driver for Bamboo plugin

Having problems trying to package the ibm DB2 jdbc driver for a bamboo plugin. The issue seems to be that the .jar contains a "COM" directory and also a "com" directory. When unpacked on Windows for maven packaing step, both become lower case and maven-bundle-plugin 2.5.3 which seems to come with the Atlassian SDK 6.2.2 doesn't like this and gives errors like:

Classes found in the wrong directory: {com/ibm/db2/app/BlobWithIO.class=COM.ibm.db2.app.BlobWithIO

 

seeming to suggest that the bundle plugin is confused by the case mismatch of "COM" and "com".

 

It seems possible from looking around that this problem is fixed in later versions of the maven-bundle-plugin but I cannot work out how to force the packaging to use a later version. maven-bundle-plugin does not appear in the dependency tree of the plugin POM and it always downloads version 2.5.3 if deleted, even if a more recent versionexists in my local maven repo.

1 answer

Does anyone know how to force the Atlassian SDK to use a later version of the maven-bundle-plugin? By default I am getting 2.5.3 but I need to try a later version.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

102 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you