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

release process fails with version 2.10.1 of maven-javadoc-plugin

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.2.2
    • 1.1.3
    • None
    • None

    Description

      To reproduce this issue, modify the parent pom.xml to use javadoc-plugin version 2.10.2 and launch the command

      mvn javadoc:test-jar

      The above command is executed during the release process. A large number of errors will be shown.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:test-jar (attach-javadocs) on project logback-core: MavenReportException: Error while creating archive:
      [ERROR] Exit code: 1 - C:\home\ceki\logback\logback-core\src\test\java\ch\qos\logback\core\AsyncAppenderBaseTest.java:16: error: cannot find symbol
      [ERROR] import ch.qos.logback.core.helpers.NOPAppender;
      [ERROR] 
      [ERROR] symbol:   class NOPAppender
      [ERROR] location: package ch.qos.logback.core.helpers
      [ERROR] C:\home\ceki\logback\logback-core\src\test\java\ch\qos\logback\core\AsyncAppenderBaseTest.java:17: error: cannot find symbol
      [ERROR] import ch.qos.logback.core.read.ListAppender;
      [ERROR] 
      [ERROR] symbol:   class ListAppender
      [ERROR] location: package ch.qos.logback.core.read
      [ERROR] C:\home\ceki\logback\logback-core\src\test\java\ch\qos\logback\core\AsyncAppenderBaseTest.java:19: error: cannot find symbol
      [ERROR] import ch.qos.logback.core.status.OnConsoleStatusListener;
      [ERROR] 
      [ERROR] symbol:   class OnConsoleStatusListener
      [ERROR] location: package ch.qos.logback.core.status
      [ERROR] C:\home\ceki\logback\logback-core\src\test\java\ch\qos\logback\core\AsyncAppenderBaseTest.java:36: error: cannot find symbol
      [ERROR] Context context = new ContextBase();
      [ERROR] 
      [ERROR] symbol:   class Context
      [ERROR] location: class AsyncAppenderBaseTest
      [ERROR] C:\home\ceki\logback\logback-core\src\test\java\ch\qos\logback\core\AsyncAppenderBaseTest.java:37: error: cannot find symbol
      [ERROR] AsyncAppenderBase<Integer> asyncAppenderBase = new AsyncAppenderBase<Integer>();
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: