You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace <tt> by <code> to fix javadoc failure on Java 11
Build failure when using JDK 11.0.2:
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project git: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/InverseBuildChooser.java:20: error: tag not supported in the generated HTML version: tt
[ERROR] * e.g. If <tt>**/master</tt> and <tt>**/release-*</tt> are configured as
[ERROR] ^
[ERROR] /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/InverseBuildChooser.java:20: error: tag not supported in the generated HTML version: tt
[ERROR] * e.g. If <tt>**/master</tt> and <tt>**/release-*</tt> are configured as
[ERROR] ^
[ERROR] /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/InverseBuildChooser.java:24: error: tag not supported in the generated HTML version: tt
[ERROR] * This is useful, for example, when you have jobs building your <tt>master</tt> and various
[ERROR] ^
[ERROR] /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/InverseBuildChooser.java:25: error: tag not supported in the generated HTML version: tt
[ERROR] * <tt>release</tt> branches and you want a second job which builds all new feature branches —
[ERROR] ^
[ERROR] /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/InverseBuildChooser.java:27: error: tag not supported in the generated HTML version: tt
[ERROR] * <tt>master</tt> and the release branches again each time they change.
[ERROR] ^
[ERROR] /home/tiste/dev/github/jenkinsci/git-plugin/src/main/java/hudson/plugins/git/util/BuildChooser.java:190: warning: @return has already been specified
[ERROR] * @return
[ERROR] ^
[ERROR]
[ERROR] Command line was: /home/tiste/.tools/JDKs/jdk-11.0.2/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/home/tiste/dev/github/jenkinsci/git-plugin/target/apidocs' dir.
```
0 commit comments