generate Java public API and MQTT extensions only for public ports