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
Published 10 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

21 views 0 0
Read article

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