如何将 talend 作业导出为单个 fat jar [英] how to export talend job as single fat jar

查看:31
本文介绍了如何将 talend 作业导出为单个 fat jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以仅将 talend 作业导出为一个 jar(包括其所有依赖项)?因为目前导出的 zip 文件有外部依赖.

Is it possible to export the talend job as one jar only (inclusive of all its dependencies)? Because currently, the exported zip file has the dependencies outside.

提前致谢

推荐答案

我从未找到一种方法来通过 Talend Open Studio(社区版)实现包含依赖项输出的单个 jar.解决方法是创建一个 Java 应用程序,将库和作业 jar 添加到其中,然后将该 Java 应用程序打包为一个胖 jar.

I never found a way to achieve the one single jar inclusive of dependencies output via the Talend Open Studio (Community Edition). The workaround is to create a Java Application, add the libraries and the job jars into it, then package that java application as one fat jar.

这篇关于如何将 talend 作业导出为单个 fat jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆