Maven Build of CustomFunctionResolver fails on JavaDoc error

Maven Build of CustomFunctionResolver fails on JavaDoc error

book

Article ID: KB0083462

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10

Description

StreamBase custom functions which contain CustomFunctionResolver code may fail an 'install' or 'package' build with errors like:
 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs)   on project sample_custom-java-function1_sb10: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - C:\Users\{user}\Documents\ws\SB10.1.1\sample_custom-java-function1_sb10\src\main\  java\com\streambase\sample\WithResolver.java:33:  ...warning: no @param for arg0 ...warning: no @return ...error: no tag name after @ ...error: malformed HTML ...error: bad use of '>' ...warning: empty <p> tag [ERROR] Command line was: C:\tibco\sb-cep\10.1\jdk\jre\..\bin\javadoc.exe -Xdoclint:all @options @packages

Issue/Introduction

Correct the JavaDoc or skip the JavaDoc build step.

Resolution

You may either remove all JavaDoc annotations from the boilerplate code for the custom function, or you may suppress JavaDoc generation in the Build dialog by setting property "maven.javadoc.skip" with a value of "true" as shown below.
Dialog with maven.javadoc.skip set to true.