Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3666#discussion_r112152396
--- Diff: flink-libraries/flink-table/pom.xml ---
@@ -231,6 +237,25 @@ under the License.
</configuration>
</plugin>
+ <!-- build a jar-with-dependencies, to be included in
the 'opt' build folder -->
+ <plugin>
--- End diff --
Let's build the jar with dependencies as default jar using the shade plugin.
Currently, the default jar already contains most dependencies, including
Calcite (with relocates Guava) and Reflections. We only need to add Janino to
the shade plugin configuration (add `<include>org.codehaus.janino:*</include>`
after `<include>org.reflections:*</include>`) and then we can use the default
jar and put it into `./opt` because it contains all dependencies.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---