Karaf 4.1.5 on debian/amd64, openjdk8

When I'm trying to refresh a feature repository from a maven snapshot on
my own maven repository, after building a new snapshot on travis-ci, I
get this error message:
 karaf@root()> feature:repo-refresh 
mvn:no.priv.bang.ukelonn/ukelonn.karaf/LATEST/xml/features
 Refreshing feature url 
mvn:no.priv.bang.ukelonn/ukelonn.karaf/LATEST/xml/features
 Error refreshing mvn:no.priv.bang.ukelonn/ukelonn.karaf/LATEST/xml/features: 
The following features are required from the repository: 
ukelonn/1.0.0.SNAPSHOT, ukelonn-db-postgresql/1.0.0.SNAPSHOT
 karaf@root()>

What does the error message mean? What should be done to fix it?

The features hat are required, are embedded in the karaf feature
repository I'm trying to refresh:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0"; 
name="ukelonn.karaf">
    <feature name="liquibase-core" start-level="40" version="3.5.3">
        <bundle>mvn:org.yaml/snakeyaml/1.17</bundle>
        <bundle>mvn:org.liquibase/liquibase-core/3.5.3</bundle>
        <bundle 
start-level="35">mvn:no.priv.bang.karaf/liquibase-slf4j-osgi/3.5.3</bundle>
    </feature>
    <feature name="ukelonn-api" description="Ukelonn webapp OSGi service 
definitions OSGi bundle" version="1.0.0.SNAPSHOT">
        <bundle 
start-level="80">mvn:no.priv.bang.ukelonn/ukelonn.api/1.0.0-SNAPSHOT</bundle>
    </feature>
    <feature name="ukelonn-db-liquibase" description="Ukelonn webapp Liquibase 
change list OSGi bundle" version="1.0.0.SNAPSHOT">
        <feature prerequisite="false" 
dependency="false">liquibase-core</feature>
        <bundle 
start-level="80">mvn:no.priv.bang.ukelonn/ukelonn.bundle.db.liquibase/1.0.0-SNAPSHOT</bundle>
    </feature>
    <feature name="ukelonn-db-derby-test" description="Ukelonn webapp derby 
test database OSGi bundle" version="1.0.0.SNAPSHOT">
        <feature prerequisite="false" dependency="false">scr</feature>
        <feature prerequisite="false" 
dependency="false">pax-jdbc-derby</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-api</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-db-liquibase</feature>
        <bundle 
start-level="80">mvn:no.priv.bang.ukelonn/ukelonn.bundle.db.test/1.0.0-SNAPSHOT</bundle>
    </feature>
    <feature name="ukelonn-db-postgresql" description="Ukelonn webapp 
PostgreSQL database connection OSGi bundle" version="1.0.0.SNAPSHOT">
        <feature prerequisite="false" dependency="false">scr</feature>
        <feature prerequisite="false" 
dependency="false">transaction-api</feature>
        <feature prerequisite="false" dependency="false">pax-jdbc-spec</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-api</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-db-liquibase</feature>
        <bundle 
start-level="80">mvn:no.priv.bang.ukelonn/ukelonn.bundle.db.postgresql/1.0.0-SNAPSHOT</bundle>
        <bundle 
start-level="80">mvn:org.postgresql/postgresql/9.4.1211.jre7</bundle>
        
<capability>osgi.service;effective:=active;objectClass=org.osgi.service.jdbc.DataSourceFactory</capability>
    </feature>
    <feature name="ukelonn" description="Ukelonn webapp OSGi bundle" 
version="1.0.0.SNAPSHOT">
        <feature prerequisite="true" dependency="false">wrap</feature>
        <feature prerequisite="false" 
dependency="false">pax-http-whiteboard</feature>
        <feature prerequisite="false" dependency="false">scr</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-api</feature>
        <feature prerequisite="true" dependency="false">wrap</feature>
        <bundle 
start-level="80">mvn:commons-beanutils/commons-beanutils/1.8.3</bundle>
        <bundle 
start-level="80">mvn:commons-collections/commons-collections/3.2.2</bundle>
        <bundle start-level="80">mvn:org.jsoup/jsoup/1.8.3</bundle>
        <bundle start-level="80">mvn:com.vaadin/vaadin-shared/7.6.1</bundle>
        <bundle 
start-level="80">mvn:com.vaadin.external.flute/flute/1.3.0.gg2</bundle>
        <bundle 
start-level="80">mvn:com.vaadin.external.streamhtmlparser/streamhtmlparser-jsilver/0.0.10.vaadin1</bundle>
        <bundle 
start-level="80">mvn:com.vaadin.external.google/guava/16.0.1.vaadin1</bundle>
        <bundle 
start-level="80">wrap:mvn:com.vaadin.external.gwt/gwt-user/2.7.0.vaadin4</bundle>
        <bundle 
start-level="80">wrap:mvn:com.vaadin.addon/vaadin-touchkit-agpl/4.1.0</bundle>
        <bundle 
start-level="80">mvn:no.priv.bang.ukelonn/ukelonn.bundle/1.0.0-SNAPSHOT</bundle>
        <bundle start-level="80">mvn:org.apache.shiro/shiro-core/1.3.1</bundle>
        <bundle start-level="80">mvn:org.apache.shiro/shiro-web/1.3.1</bundle>
        <bundle start-level="80">mvn:com.vaadin/vaadin-server/7.6.1</bundle>
        <bundle start-level="80">mvn:com.vaadin/vaadin-themes/7.6.1</bundle>
        <bundle 
start-level="80">mvn:com.vaadin/vaadin-client-compiled/7.6.1</bundle>
    </feature>
    <feature name="ukelonn.karaf" description="Ukelonn webapp karaf feature 
repository" version="1.0.0.SNAPSHOT">
        <feature version="3.5.3" prerequisite="false" 
dependency="false">liquibase-core</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-api</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-db-liquibase</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-db-derby-test</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn-db-postgresql</feature>
        <feature version="1.0.0.SNAPSHOT" prerequisite="false" 
dependency="false">ukelonn</feature>
    </feature>
</features>


The features that are required are also the two features that are
directly installed in karaf (ukelonn-db-derb-test and
ukelonn-db-postgresql can't be installed at the same time.
ukelonn-db-liquibase and ukelonn-api are pulled in by both of them. The
ukelonn feature requires the database from one of the database plugins).

The features that have been installed belong to an earlier snapshot.

Thanks!


- Steinar

Reply via email to