I just wanted to point out the need (for Hibernate's needs anyway) to at least have this available targeting JDK 1.4. Someone on IRC (David Llyod perhaps) mentioned that the 1.6 runtime was able to load classes faster if they are compiled targetting 1.6 and suggested compiling for all the JDKs.
How about the OSGi support?
IMHO this effort should cover it as well
and all our JBEE artifacts should be OSGi compliant.
In OSGi it is the java package that is versioned, not the artefact (i.e. bundle) that provides it.
In order to have multiple versions of the same API available at runtime, the artefactId must of be distinct.
So AFAICS, what has been suggested above is ok from the OSGi perspective - except the missing OSGi manifest entries of course
Please note, that geronimo is already using API bundles and not jars. They do what I suggested above (i.e. version the package, give the bundles distinct names)