Is there a way to produce a KAR file for a bundle which is the same project?
If you refer to the MVN path in the features.xml it fails, because the
project is not in Maven yet.
I tried using the a file path, which is valid in a normal features
definition, but the plugin seems to complain.
<?xml version="1.0" encoding="UTF-8"?>
<features name="${project.artifactId}-${project.version}">
<feature name="${project.artifactId}" description="${project.name}"
version="${project.version}" resolver="(obr)">
<details>${project.description}</details>
<bundle
start-level="50">file:target/${project.artifactId}-${project.version}.jar</bundle>
</feature>
</features>
ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Resource URL is not a maven URL:
file:target/ExampleBundle-1.0.0-SNAPSHOT.jar
--
View this message in context:
http://karaf.922171.n3.nabble.com/Bundle-and-KAR-same-project-tp4025234.html
Sent from the Karaf - User mailing list archive at Nabble.com.