Hi
I'm trying to update a feature.
Documentation (https://karaf.apache.org/manual/latest/provisioning):
You can update a release by installing the same feature (with the same
SNAPSHOT version or a different version).
So i built a feature and wrapped it into a kar file. When i drop it
into the deploy folder the feature gets installed and everything seems
fine.
Then i built a new instance of this feature (same feature name, but
higher version).
When i dropped this into the deploy folder it was installed right next
to the old feature.
Then i had both features up and running in karaf.
What i expected was the deinstallation of the old feature and the
installation of the new one.
here is my feature.xml file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
name="foobar">
<feature name="foobar" description="foobar"
version="1.0.0-beta-4-SNAPSHOT">
<details>Plugin Example: foobar</details>
<bundle>mvn:de......plugin.examples/foobar/1.0.0-beta-4-SNAPSHOT</bundle>
</feature>
</features>
What am i doing wrong? Or is my expectation wrong?
Kind regards,
Matthias
--
Matthias Koch
Developer
Averbis GmbH
Salzstraße 15
79098 Freiburg
Germany
Fon: +49 761 708 394 21
Fax: +49 761 708 394 10
Email: matthias.k...@averbis.com
Web: https://averbis.com
Headquarters: Freiburg im Breisgau
Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó