Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9608

mvn javadoc:javadoc fails on 1.8 with java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 1.8.24
    • None
    • doc, docs
    • None

    Description

      mvn javadoc:javadoc fails with java 11 and works fine with java8 while building 1.8.

       

      An error has occurred in Javadoc report generation: 
      [ERROR] Exit code: 1 - /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mount.java:25: error: tag not supported in the generated HTML version: tt
      [ERROR]  * Refers to a set of paths from a <tt>ContentRepository</tt> that are possibly 
      [ERROR]                                    ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/MountInfoProvider.java:29: error: tag not supported in the generated HTML version: tt
      [ERROR]  * Holds information related to the {@link Mount}s configured in a <tt>ContentRepository</tt>.
      [ERROR]                                                                    ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AnnotatedStandardMBean.java:49: warning: no @param for <T>
      [ERROR]     public <T> AnnotatedStandardMBean(T implementation, Class<T> mbeanInterface){
      [ERROR]                ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AnnotatedStandardMBean.java:49: warning: no @param for implementation
      [ERROR]     public <T> AnnotatedStandardMBean(T implementation, Class<T> mbeanInterface){
      [ERROR]                ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AnnotatedStandardMBean.java:49: warning: no @param for mbeanInterface
      [ERROR]     public <T> AnnotatedStandardMBean(T implementation, Class<T> mbeanInterface){
      [ERROR]                ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/AbstractCacheStats.java:46: warning: no description for @param
      [ERROR]      * @param name
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/AbstractCacheStats.java:57: warning: no @return
      [ERROR]     protected abstract CacheStats getCurrentStats();
      [ERROR]                                   ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:296: warning: no description for @throws
      [ERROR]      * @throws UncheckedExecutionException
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:312: warning: no description for @throws
      [ERROR]      * @throws ExecutionException
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:1635: warning: no @param for <K>
      [ERROR]     public static <K, V> Builder<K, V> newBuilder() {
      [ERROR]                                        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:1635: warning: no @param for <V>
      [ERROR]     public static <K, V> Builder<K, V> newBuilder() {
      [ERROR]                                        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:1606: warning: no @param for stackMoveDistance
      [ERROR]         public Builder<K, V> stackMoveDistance(int stackMoveDistance) {
      [ERROR]                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java:1606: warning: no @return
      [ERROR]         public Builder<K, V> stackMoveDistance(int stackMoveDistance) {
      [ERROR]                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AbstractCheckpointMBean.java:78: warning: no description for @param
      [ERROR]      * @param tab
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AbstractCheckpointMBean.java:79: warning: no description for @throws
      [ERROR]      * @throws OpenDataException
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AbstractCheckpointMBean.java:115: warning: no description for @throws
      [ERROR]      * @throws OpenDataException
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/AbstractCheckpointMBean.java:117: warning: no @param for properties
      [ERROR]     protected final CompositeDataSupport toCompositeData(String id, String created, String expires,
      [ERROR]                                          ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java:88: warning: no @param for <R>
      [ERROR]     public static <R> ManagementOperation<R> newManagementOperation(
      [ERROR]                                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java:88: warning: no @return
      [ERROR]     public static <R> ManagementOperation<R> newManagementOperation(
      [ERROR]                                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java:103: warning: no @param for <R>
      [ERROR]     public static <R> ManagementOperation<R> newManagementOperation(
      [ERROR]                                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java:103: warning: no @return
      [ERROR]     public static <R> ManagementOperation<R> newManagementOperation(
      [ERROR]                                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java:118: warning: no @param for <R>
      [ERROR]     public static <R> ManagementOperation<R> done(String name, final R result) {
      [ERROR]                                              ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/namepath/JcrNameParser.java:61: warning: no @return
      [ERROR]         boolean name(String name, int index);
      [ERROR]                 ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/Whiteboard.java:35: warning: no @param for <T>
      [ERROR]     <T> Registration register(Class<T> type, T service, Map<?, ?> properties);
      [ERROR]                      ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/Whiteboard.java:43: warning: no @param for <T>
      [ERROR]     <T> Tracker<T> track(Class<T> type);
      [ERROR]                    ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/Whiteboard.java:54: warning: no @param for <T>
      [ERROR]     <T> Tracker<T> track(Class<T> type, Map<String, String> filterProperties);
      [ERROR]                    ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/descriptors/AggregatingDescriptors.java:45: warning: no @param for tracker
      [ERROR]     public AggregatingDescriptors(final Tracker<Descriptors> tracker) {
      [ERROR]            ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/GCMonitor.java:36: warning: no description for @param
      [ERROR]      * @param arguments
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/GCMonitor.java:44: warning: no description for @param
      [ERROR]      * @param arguments
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/GCMonitor.java:50: warning: no description for @param
      [ERROR]      * @param message
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/GCMonitor.java:51: warning: no description for @param
      [ERROR]      * @param exception
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/GCMonitor.java:58: warning: no description for @param
      [ERROR]      * @param arguments
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/DelegatingGCMonitor.java:41: warning: no description for @param
      [ERROR]      * @param gcMonitors
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/DelegatingGCMonitor.java:57: warning: no description for @param
      [ERROR]      * @param gcMonitor
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/gc/LoggingGCMonitor.java:36: warning: no description for @param
      [ERROR]      * @param log
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mount.java:36: warning: no @return
      [ERROR]     String getName();
      [ERROR]            ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/MountInfoProvider.java:59: error: tag not supported in the generated HTML version: tt
      [ERROR]      * <tt>null</tt> would be returned
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/nodetype/DefinitionProvider.java:79: warning: no @param for exactTypeMatch
      [ERROR]     PropertyDefinition getDefinition(
      [ERROR]                        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/version/VersionConstants.java:66: warning: empty <p> tag
      [ERROR]      * Quote from JSR 283 Section "15.12.3 Activity Storage"<p>
      [ERROR]                                                             ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/version/VersionConstants.java:76: warning: empty <p> tag
      [ERROR]      * Quote from JSR 283 Section "15.13.2 Configuration Proxy Nodes"<p>
      [ERROR]                                                                      ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/version/VersionConstants.java:88: warning: empty <p> tag
      [ERROR]      * Quote from JSR 283 Section "3.13.8 Version Storage"<p>
      [ERROR]                                                           ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:131: warning: no @param for <T>
      [ERROR]     public static <T> List<T> getServices(@NotNull Whiteboard wb, @NotNull Class<T> type) {
      [ERROR]                               ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:143: warning: no @param for <T>
      [ERROR]     public static <T> T getService(@NotNull Whiteboard wb, @NotNull Class<T> type) {
      [ERROR]                         ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:143: warning: no @param for wb
      [ERROR]     public static <T> T getService(@NotNull Whiteboard wb, @NotNull Class<T> type) {
      [ERROR]                         ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:143: warning: no @param for type
      [ERROR]     public static <T> T getService(@NotNull Whiteboard wb, @NotNull Class<T> type) {
      [ERROR]                         ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:159: warning: no @param for <T>
      [ERROR]     public static <T> List<T> getServices(@NotNull Whiteboard wb, @NotNull Class<T> type, @Nullable Predicate<T> predicate) {
      [ERROR]                               ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/WhiteboardUtils.java:184: warning: no @param for <T>
      [ERROR]     public static <T> T getService(@NotNull Whiteboard wb, @NotNull Class<T> type, @Nullable Predicate<T> predicate) {
      [ERROR]                         ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/Clock.java:139: warning: no @throws for java.lang.InterruptedException
      [ERROR]     public Date getDateIncreasing() throws InterruptedException {
      [ERROR]                 ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StatisticManager.java:66: warning: no @param for executor
      [ERROR]     public StatisticManager(Whiteboard whiteboard, ScheduledExecutorService executor) {
      [ERROR]            ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:49: warning: no description for @param
      [ERROR]      * @param clazz
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:58: warning: no description for @param
      [ERROR]      * @param clazz
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:68: warning: no description for @param
      [ERROR]      * @param customLog
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:69: warning: no description for @param
      [ERROR]      * @param clazz
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:79: warning: no description for @param
      [ERROR]      * @param customLog
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:80: warning: no description for @param
      [ERROR]      * @param clazz
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:98: warning: no description for @param
      [ERROR]      * @param message
      [ERROR]        ^
      [ERROR] /Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/StopwatchLogger.java:107: warning: no description for @param
      [ERROR]      * @param message
      [ERROR]        ^
      [ERROR] 
      [ERROR] Command line was: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/bin/javadoc @options @packages
      [ERROR] 
      [ERROR] Refer to the generated Javadoc files in '/Users/nitigup/jackrabbit_oak_git/jackrabbit-oak/oak-core-spi/target/site/apidocs' dir.
      [ERROR] 
      

      Attachments

        Activity

          People

            reschke Julian Reschke
            ngupta Nitin Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: