fcrepo4-labs / fcrepo-api-x

Fedora API Extension Framework
Apache License 2.0
10 stars 11 forks source link

fcrepo-api-x-indexing does not properly provision fcrepo-java-client #143

Closed emetsger closed 7 years ago

emetsger commented 7 years ago

For example,

Attempting to install the fcrepo-api-x-indexing feature in a stand-alone Karaf results in the following error:

Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=fcrepo-api-x-indexing; type=karaf.feature; version="[0.3.0.SNAPSHOT,0.3.0.SNAPSHOT]"; filter:="(&(osgi.identity=fcrepo-api-x-indexing)(type=karaf.feature)(version>=0.3.0.SNAPSHOT)(version<=0.3.0.SNAPSHOT))" [caused by: Unable to resolve fcrepo-api-x-indexing/0.3.0.SNAPSHOT: missing requirement [fcrepo-api-x-indexing/0.3.0.SNAPSHOT] osgi.identity; osgi.identity=fcrepo-api-x-indexing; type=osgi.bundle; version="[0.3.0.SNAPSHOT,0.3.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve fcrepo-api-x-indexing/0.3.0.SNAPSHOT: missing requirement [fcrepo-api-x-indexing/0.3.0.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.fcrepo.client)(version>=0.3.0)(!(version>=1.0.0)))"]]

Explicitly identifying org.fcrepo.client:fcrepo-java-client:0.3.0 as a Maven compile-time dependency should result in the <bundle>mvn:org.fcrepo.client/fcrepo-java-client/0.3.0</bundle> appearing in the Karaf features file for fcrepo-api-x-indexing.