logback / LOGBACK-1728 [Open] Inccorect Bundle-RequiredExecutionEnvironment: JavaSE-1.6
============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/LOGBACK-1728 ============================== Issue created ------------------------------ Hannes Wellmann created this issue on 23/Mar/23 12:31 Summary: Inccorect Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Issue Type: Bug Affects Versions: 1.3.5, 1.4.5 Assignee: Logback dev list Components: logback-access, logback-classic, logback-core Created: 23/Mar/23 12:31 Environment: The MANIFEST.MF file of logback-core, -classic, and -access contain the OSGi entry {{{}Bundle-RequiredExecutionEnvironment: JavaSE-1.6{}}}, which is outdated since Java-8 is required for logback 1.3 and Java-11 for 1.4. In general the OSGi header {{Bundle-RequiredExecutionEnvironment}} is deprecated and should be replaced by a corresponding osgi.ee required capability. The maven-bundle-plugin can generated all that automatically, if it is not restricted and therefore this issue can simply be solved by removing the {{<_noee>true</_noee>}} and {{<Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> }}configuration elements. Furthermore the maven-bundle-plugin configuration explicitly imports packages that are used in the code and are therefore added any ways. Listing them explicitly could just cause inconsistencies in the future if something changes in this regard. Priority: Major Reporter: Hannes Wellmann ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) _______________________________________________ logback-dev mailing list logback-dev@qos.ch https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-dev