I'm trying to get my debian APT package of karaf to build for karaf 4.2.6.
 https://github.com/steinarb/karaf-debian
 
https://steinar.bang.priv.no/2018/01/23/packaging-karaf-with-native-debian-packaging-tools/

(the last time I built this package was with version 4.1.7 on december 1 2018)

Karaf startup of karaf installed with "apt-get install karaf", is failing with 
this error message in karaf.log:
Jul 07, 2019 3:47:04 PM org.apache.karaf.main.Main main
SEVERE: Could not launch framework
java.lang.RuntimeException: Error installing bundle listed in 
startup.properties with url: 
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0
 and startlevel:\
 30
        at org.apache.karaf.main.Main.installAndStartBundles(Main.java:570)
        at org.apache.karaf.main.Main.launch(Main.java:273)
        at org.apache.karaf.main.Main.main(Main.java:178)
Caused by: java.lang.RuntimeException: Could not resolve 
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0
        at 
org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
        at org.apache.karaf.main.Main.installAndStartBundles(Main.java:562)
        ... 2 more

Are the mvn URLs in /etc/startup.properties resolved against maven
central? Or does karaf have to find them locally?

The file in question is on maven central:
 
https://mvnrepository.com/artifact/org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0

Reply via email to