Reputation: 392
I am adding a new driver to Opendaylight's unimgr, and I added a new feature to the controller to allow use of this driver.
It works fine, but when I make changes to my driver and rebuild it (mvn clean install -pl my-new-driver -DskipTests
), after running feature:install odl-unimgr-my-new-driver
, I still get the old version (even if I clear the data folder beforehand, or perform bundle:update
and bundle:refresh
).
Is there a way to update the feature without building the entire unimgr (and hence the entire controller) again?
Some information about my setup: I use SNAPSHOT versions, and am running the karaf which is built as part of the unimgr project (unimgr/karaf/target/assembly/bin/karaf
).
Upvotes: 0
Views: 125
Reputation: 1349
I believe this is due to the fact that the local project karaf distros copy all the artifacts under target/assembly/system and the target/assembly/etc/org.ops4j.pax.url.mvn.cfg file is set up to only look under system. So to get updates, you can either
Upvotes: 2