Bug #28512 Please consider having a source release without bundled jars
Submitted: 18 May 2007 9:04 Modified: 25 Jul 2007 3:12
Reporter: Petteri Räty Email Updates:
Status: Verified Impact on me:
Category:Connector / J Severity:S4 (Feature request)
Version:5.0.6 OS:Linux
Assigned to: Alexander Soklakov CPU Architecture:Any
Triage: D5 (Feature request)

[18 May 2007 9:04] Petteri Räty

How to repeat:
Download the source archive and:
>>> Unpacking mysql-connector-java-5.0.6.tar.gz to /var/tmp/portage/dev-java/jdbc-mysql-5.0.6/work
 * Applying do-not-filter-png.diff ...                                                                                                                                                                 [ ok ]
 * Applying 5.0.5-remove-jboss-dependency-from-tests.patch ...                                                                                                                                         [ ok ]
 * Applying 5.0.5-dist-target-depends.patch ...                                                                                                                                                        [ ok ]
removed `mysql-connector-java-5.0.6-bin.jar'
removed `debug/mysql-connector-java-5.0.6-bin-g.jar'
Changing ignoresystemclasses to true for available tasks
Rewriting build.xml
removed `ant-contrib.jar'
removed `aspectjrt.jar'
removed `aspectjtools.jar'
removed `c3p0-0.9.1-pre6.jar'
removed `commons-logging.jar'
removed `jboss-common-jdbc-wrapper.jar'
removed `jdbc2_0-stdext.jar'
removed `jta-spec1_0_1.jar'
removed `junit.jar'
removed `log4j-1.2.9.jar'
>>> Source unpacked.

Suggested fix:
Please provide a bundle without these dependencies for Linux distributions because we have package management to take care of these being in the system. We can redo the tarballs of course but prefer using pristine upstream releases. From your source releases (8.3M) almost all is bundled dependencies. Here is what I got after removing them and recompressing:

betelgeuse@pena /var/tmp/portage/dev-java/jdbc-mysql-5.0.6 $ du -sh my.tar.bz2
921K    my.tar.bz2
[25 Jul 2007 3:12] Valeriy Kravchuk
Thank you for a reasonable feature request.
[25 Aug 2009 23:27] Milos Jakubicek
Any news on this? As a Fedora package maintainer of Connector/J, I would like to support this request.
[26 Aug 2009 5:45] Tonci Grgin
Hi Milos, let me see what Mark will say.