Petals Distribution

Force activation of all checks during javadoc generation

Details

  • Description:
    Hide

    During build, when generating Javadoc:

    • if built with JDK 8 Oracle, all javadoc checks are activated by default,
    • if built with OpenJDK 8, javadoc checks are not activated.

    So the built result depends on the JDK used. To avoid this, we should define ourself to activate javadoc checks through the configuration of the maven-javadoc-plugin.

    In the same time, we could upgrade version of maven-javadoc-plugin:

    <properties>
       <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
    </properties>
    
    <plugin>
       ...
        <artifactId>maven-javadoc-plugin</artifactId>
       <version>${maven-javadoc-plugin.version}</version>
       <configuration>
          <doclint>all</doclint>
       </configuration>
       <executions>
          ...
       </executions>
    </plugin>
    Show
    During build, when generating Javadoc:
    • if built with JDK 8 Oracle, all javadoc checks are activated by default,
    • if built with OpenJDK 8, javadoc checks are not activated.
    So the built result depends on the JDK used. To avoid this, we should define ourself to activate javadoc checks through the configuration of the maven-javadoc-plugin. In the same time, we could upgrade version of maven-javadoc-plugin:
    <properties>
       <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
    </properties>
    
    <plugin>
       ...
        <artifactId>maven-javadoc-plugin</artifactId>
       <version>${maven-javadoc-plugin.version}</version>
       <configuration>
          <doclint>all</doclint>
       </configuration>
       <executions>
          ...
       </executions>
    </plugin>
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2h 29m
1
Christophe DENEUX
Tue, 18 Dec 2018 - 12:18:10 +0100
Open Open In Progress In Progress
1s
1
Christophe DENEUX
Tue, 18 Dec 2018 - 12:18:11 +0100
In Progress In Progress Resolved Resolved
1580d 23h 2m
1
Christophe DENEUX
Mon, 17 Apr 2023 - 12:21:00 +0200

People

Dates

  • Created:
    Tue, 18 Dec 2018 - 09:48:45 +0100
    Updated:
    Mon, 17 Apr 2023 - 12:21:13 +0200
    Resolved:
    Mon, 17 Apr 2023 - 12:21:00 +0200