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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.