编译Kettle的PDI DB Dialog模块失败

问题描述

这两天在编译 kettle 8.2.0.0 的时候突然开始报错

[ERROR] Failed to execute goal on project kettle-dbdialog: Could not resolve dependencies for project pentaho-kettle:kettle-dbdialog:jar:8.2.0.0-311: Could not find artifact org.eclipse.core:commands:jar:3.3.0-i20070605-0010 in pentaho-public (http://nexus.pentaho.org/content/groups/omni/) -> [Help 1]

问题原因

org/eclipse/core/commands/模块存在两个版本,注意其中 “I” 和 “i”
3.3.0-I20070605-0010 
3.3.0-i20070605-0010

检查了一下下面的地址,发现其下没有小写i的目录,只有大写I的目录,估计是这几天第三方包有改过名字所导致的。

https://nexus.pentaho.org/content/groups/omni/org/eclipse/core/commands/

解决办法

建立几个软连接,使3.3.0-i20070605-0010目录和其下包生效

cd ~/.m2/repository/org/eclipse/core/commands
rm -rf 3.3.0-i20070605-0010
ln -s 3.3.0-I20070605-0010 3.3.0-i20070605-0010

cd ~/.m2/repository/org/eclipse/core/commands/3.3.0-I20070605-0010
ln -s commands-3.3.0-I20070605-0010.jar commands-3.3.0-i20070605-0010.jar 
ln -s commands-3.3.0-I20070605-0010.jar.sha1 commands-3.3.0-i20070605-0010.jar.sha1 
ln -s commands-3.3.0-I20070605-0010.pom commands-3.3.0-i20070605-0010.pom
ln -s commands-3.3.0-I20070605-0010.pom.sha1 commands-3.3.0-i20070605-0010.pom.sha1

你可能感兴趣的:(编译Kettle的PDI DB Dialog模块失败)