Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1728

Inccorect Bundle-RequiredExecutionEnvironment: JavaSE-1.6

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            HannesWell Hannes Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: