Hi all,
I'm backporting a feature from develop to 8.X I managed to get all the dependencies and compile with tests perfectly, But when I start Opencast I found with this error message that blocks the startup:
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=opencast-allinone; type=karaf.feature; version="[8.0.0.SNAPSHOT,8.0.0.SNAPSHOT]"; filter:="(&(osgi.identity=opencast-allinone)(type=karaf.feature)(version>=8.0.0.SNAPSHOT)(version<=8.0.0.SNAPSHOT))" [caused by: Unable to resolve opencast-allinone/8.0.0.SNAPSHOT: missing requirement [opencast-allinone/8.0.0.SNAPSHOT] osgi.identity; osgi.identity=opencast-services-processing-heavy-load; type=karaf.feature [caused by: Unable to resolve opencast-services-processing-heavy-load/8.0.0.SNAPSHOT: missing requirement [opencast-services-processing-heavy-load/8.0.0.SNAPSHOT] osgi.identity; osgi.identity=opencast-composer-ffmpeg; type=osgi.bundle; version="[8.0.0.SNAPSHOT,8.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve opencast-composer-ffmpeg/8.0.0.SNAPSHOT: missing requirement [opencast-composer-ffmpeg/8.0.0.SNAPSHOT] osgi.service; filter:="(objectClass=org.opencastproject.composer.impl.EncodingProfileScanner)"; effective:=active]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve opencast-allinone/8.0.0.SNAPSHOT: missing requirement [opencast-allinone/8.0.0.SNAPSHOT] osgi.identity; osgi.identity=opencast-services-processing-heavy-load; type=karaf.feature [caused by: Unable to resolve opencast-services-processing-heavy-load/8.0.0.SNAPSHOT: missing requirement [opencast-services-processing-heavy-load/8.0.0.SNAPSHOT] osgi.identity; osgi.identity=opencast-composer-ffmpeg; type=osgi.bundle; version="[8.0.0.SNAPSHOT,8.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve opencast-composer-ffmpeg/8.0.0.SNAPSHOT: missing requirement [opencast-composer-ffmpeg/8.0.0.SNAPSHOT] osgi.service; filter:="(objectClass=org.opencastproject.composer.impl.EncodingProfileScanner)"; effective:=active]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve opencast-services-processing-heavy-load/8.0.0.SNAPSHOT: missing requirement [opencast-services-processing-heavy-load/8.0.0.SNAPSHOT] osgi.identity; osgi.identity=opencast-composer-ffmpeg; type=osgi.bundle; version="[8.0.0.SNAPSHOT,8.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve opencast-composer-ffmpeg/8.0.0.SNAPSHOT: missing requirement [opencast-composer-ffmpeg/8.0.0.SNAPSHOT] osgi.service; filter:="(objectClass=org.opencastproject.composer.impl.EncodingProfileScanner)"; effective:=active]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve opencast-composer-ffmpeg/8.0.0.SNAPSHOT: missing requirement [opencast-composer-ffmpeg/8.0.0.SNAPSHOT] osgi.service; filter:="(objectClass=org.opencastproject.composer.impl.EncodingProfileScanner)"; effective:=active
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 14 more
In the Karaf-features appears all the <feature start-level="80"> in red saying that the attribute start level is not allowed there.
I don't know where to look at, I need help with this.
Best regards.
Max