[ 
https://issues.apache.org/jira/browse/KARAF-7444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553616#comment-17553616
 ] 

Jakub Herkel commented on KARAF-7444:
-------------------------------------

Was there any problem? I read your comment here 
https://issues.apache.org/jira/browse/FELIX-6538 and if I understand correctly 
your commit only move "java.lang.runtime" from "jre-14" and above to "jre-base".

Our build fails when version of maven-bundle-plugin is set to 5.1.6 and, on the 
contrary, it works with version 5.1.4.
{code:java}
Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.0:verify 
(default-verify) on project chronos.features.base: Verification failures: 
Verification failures:
    Feature resolution failed for [chronos-base/0.0.1.SNAPSHOT]
Message: Unable to resolve root: missing requirement [root] osgi.identity; 
osgi.identity=chronos-base; type=karaf.feature; version=0.0.1.SNAPSHOT; 
filter:="(&(osgi.identity=chronos-base)(type=karaf.feature)(version>=0.0.1.SNAPSHOT))"
 [caused by: Unable to resolve chronos-base/0.0.1.SNAPSHOT: missing requirement 
[chronos-base/0.0.1.SNAPSHOT] osgi.identity; 
osgi.identity=tech.pantheon.chronos.company.api; type=osgi.bundle; 
version="[0.0.1.SNAPSHOT,0.0.1.SNAPSHOT]"; resolution:=mandatory [caused by: 
Unable to resolve tech.pantheon.chronos.company.api/0.0.1.SNAPSHOT: missing 
requirement [tech.pantheon.chronos.company.api/0.0.1.SNAPSHOT] 
osgi.wiring.package; 
filter:="(&(osgi.wiring.package=tech.pantheon.chronos.utils.dao)(version>=0.0.0)(!(version>=1.0.0)))"
 [caused by: Unable to resolve tech.pantheon.chronos.utilities/0.0.1.SNAPSHOT: 
missing requirement [tech.pantheon.chronos.utilities/0.0.1.SNAPSHOT] 
osgi.wiring.package; filter:="(osgi.wiring.package=java.lang.runtime)"]]]{code}
So the same environment (version of Java, maven etc.), but the only difference 
is version of maven-bundle-plugin and generated OSGI headers in MANIFEST.MF.  
Is there anything else that could be wrong?

> java.lang.runtime export is missing
> -----------------------------------
>
>                 Key: KARAF-7444
>                 URL: https://issues.apache.org/jira/browse/KARAF-7444
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.4.0
>            Reporter: Oliver Lietz
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to