I created a simple karaf application that just run some calculations.
After that I did mvn clean install
and then I added the bundle to the local maven repository with install:install-file -Dfile=bundle1-1.0-SNAPSHOT.jar -DgroupId=prg.ogra -DartifactId=bundle1 -Dversion=1.0-SNAPSHOT -Dpackaging=jar
Now I run karaf with ./apache-karaf-4.2.0/bin/karaf debug
and when I do install mvn:org.orga/bundle1/0.0.1-SNAPSHOT
I get an error: Error executing command: Error installing bundles: Unable to install bundle mvn:org.orga/bundle1/0.0.1-SNAPSHOT: org.osgi.framework.BundleException: Unable to cache bundle: mvn:org.orga/bundle1/0.0.1-SNAPSHOT
What should I do? Where am I wrong?