Knotx / knotx-aggregator

An aggregator for all Knot.x projects - release guides, automation, etc.
https://knotx.io
Apache License 2.0
0 stars 3 forks source link

Warnings in the release logs #8

Open tomaszmichalak opened 5 years ago

tomaszmichalak commented 5 years ago

Please fix javadocs to not produce warnings during the release.

> Task :knotx-server-http-common-placeholders:compileJava
warning: The following options were not recognized by any processor: '[codegen.output]'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :knotx-repository-connector-http:compileJava
Note: /Users/tomasz.michalak/knotx/knotx-aggregator/release/knotx-repos/knotx-repository-connector/http/src/main/generated/io/knotx/repository/http/HttpRepositoryOptionsConverter.java uses unchecked or unsafe operations.

> Task :knotx-fragments-handler-api:javadoc
/Users/tomasz.michalak/knotx/knotx-aggregator/release/knotx-repos/knotx-fragments/handler/api/src/main/generated/io/knotx/fragments/handler/reactivex/api/Action.java:80: warning: no description for @return
   * @return 
     ^
1 warning

> Task :knotx-fragments-supplier-api:javadoc
/Users/tomasz.michalak/knotx/knotx-aggregator/release/knotx-repos/knotx-fragments/supplier/api/src/main/java/io/knotx/fragments/supplier/api/FragmentsSupplier.java:30: warning: no @return
  List<Fragment> getFragments(RequestContext requestContext) throws FragmentsProvisionException;
                 ^
/Users/tomasz.michalak/knotx/knotx-aggregator/release/knotx-repos/knotx-fragments/supplier/api/src/main/java/io/knotx/fragments/supplier/api/FragmentsSupplier.java:30: warning: no @throws for io.knotx.fragments.supplier.api.FragmentsProvisionException
  List<Fragment> getFragments(RequestContext requestContext) throws FragmentsProvisionException;
                 ^
2 warnings

> Task :knotx-fragments-supplier-html-splitter:compileJava
warning: The following options were not recognized by any processor: '[codegen.output]'

> Task :knotx-template-engine-handlebars:compileJava
Note: /Users/tomasz.michalak/knotx/knotx-aggregator/release/knotx-repos/knotx-template-engine/handlebars/src/main/java/io/knotx/te/handlebars/HandlebarsTemplateEngine.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
malaskowski commented 5 years ago

Warnings from generated are the cause of the Vert.x Code Gen bug. The rest of the should be easy to fix.