I would like to use the recently released version 4.0.0 to create a custom
distribution.
I started with the official documentation:
https://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html
There is this dependency:
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>framework</artifactId>
<version>4.0.0</version>
<type>kar</type>
</dependency>
I packaged the distribution with maven und extracted the archive.
If I have a look at the file "etc/org.apache.karaf.features.cfg" the value
for "featuresRepositories"
contains the expected
"mvn:org.apache.karaf.features/standard/4.0.0/xml/features" but the
framework feature is referenced by the absolute file system path:
file:/home/rathgeb/.../target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
(I removed some paths between "rathgeb" and "target")
The XML is also stored under a very strange path under the system directory:
./system/file:/home/rathgeb/.../target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
(I removed some paths between "rathgeb" and "target")
This seems very strange to me.
--
View this message in context:
http://karaf.922171.n3.nabble.com/custom-distribution-features-tp4041246.html
Sent from the Karaf - User mailing list archive at Nabble.com.