Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.1.0
-
None
Description
I wish to be able to change the version of qpid-jms-client library used in the jms shim. This would allow running the test with older versions of the library and also with various proprietary builds of the library.
One possible way to implement this would be to make the library version a maven attribute and to switch between geronimo-jms_1.1_spec and the 2.0 version using maven profile, e.g.:
mvn -Pjms11 -Dqpid-jms-client.version=0.11.0.mycompany-1 package mvn -Pjms20 -Dqpid-jms-client.version=0.20.0 package
On a related task, it might be helpful to use Maven to produce an uberjar, a jar that bundles all runtime dependencies in itself. It would simplify running the shim from the test program, because then there would be no classpath to deal with.