ops4j / org.ops4j.pax.exam2

Pax Exam is a testing framework for OSGi
https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/
Apache License 2.0
84 stars 100 forks source link

Interpolate Karaf version from POM [PAXEXAM-598] #711

Open ops4j-issues opened 10 years ago

ops4j-issues commented 10 years ago

Harald Wellmann created PAXEXAM-598

Avoid hard-coding the version of Karaf in multiple places. Use Maven resource filtering and ConfigurationManager to determine the version.


Affects: 3.4.0 Fixed in: 4.x Votes: 0, Watches: 2

ops4j-issues commented 7 years ago

INACTIVE Michael Vorburger.ch commented

Found this issue and contemplated implementing something, then figured out that, as far as I can tell from looking at org.ops4j.pax.exam.karaf.container.internal.adaptions.KarafManipulatorFactory, as of right now the version of Karaf, set via org.ops4j.pax.exam.karaf.options.KarafDistributionBaseConfigurationOption.karafVersion(), seems to actually have no impact at all yet... :wink:

ops4j-issues commented 7 years ago

INACTIVE Michael Vorburger.ch commented

Actually the karafVersion() set on KarafDistributionKitConfigurationOption does seem to have an impact and matter (as found in https://bugs.opendaylight.org/show_bug.cgi?id=8578).