编译Kettle的PDI DB Dialog模块失败

栏目: 数据库 · 发布时间: 6年前

内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kongxx/article/details/83990244

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kongxx/article/details/83990244

问题描述

这两天在编译 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

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

An Introduction to Genetic Algorithms

An Introduction to Genetic Algorithms

Melanie Mitchell / MIT Press / 1998-2-6 / USD 45.00

Genetic algorithms have been used in science and engineering as adaptive algorithms for solving practical problems and as computational models of natural evolutionary systems. This brief, accessible i......一起来看看 《An Introduction to Genetic Algorithms》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具