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

Logback-classic cannot be built by Eclipse m2e due to importing default package

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.3.0-alpha0
    • logback-classic
    • None
    • Eclipse Neon.3 (4.6.3) on Win2K8 64-bit

       

       

    Description

      Checked out Logback 1.3.0-SNAPSHOT into Eclipse Neon.3 (4.6.3). The other modules build OK but the classic module fails with the error:

      Error(s) found in manifest configuration (org.apache.felix:maven-bundle-plugin:2.5.4:manifest:bundle-manifest:process-classes) org.apache.maven.plugin.MojoExecutionException: Error(s) found in manifest configurationation

         at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:84)

      The maven console shows the error:

      5/30/17, 10:58:11 AM EDT: [ERROR] Manifest ch.qos.logback:logback-classic:jar:1.3.0-SNAPSHPOT : The default package '.' is not permitted by the Import-Package syntax.

      This can be caused by compile errors in Eclipse because Eclipse creates }}{{valid class files regardless of compile errors.

      {{The following package(s) import from the default package [ch.qos.logback.classic.gaffer]   }}

      5/30/17, 10:58:11 AM EDT: [ERROR] Error(s) found in manifest configuration

       

       

       

       

      Attachments

        Activity

          People

            logback-dev Logback dev list
            rsand Richard Sand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: