1.下载源码
https://github.com/pentaho/pentaho-kettle.git
找到对应的分支
本文以8.3为例子
2.导入idea (本文环境2021.1.3)
编译打包,注意一定跳过test
mvn clean install -DskipTests
打包成功后启动项目
3.项目启动配置
Windows环境 注意一定要调整kettle-ui-swt项目下
org.eclipse.swt.win32.win32.x86_64
和
org.eclipse.swt.gtk.linux.x86_64
两个依赖的顺序
如果没有org.eclipse.swt.win32.win32.x86_64依赖在pom里添加
<!-- Third-party dependencies -->
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<version>4.6</version>
<!--<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>-->
</dependency>