flume ng编译问题解决

在编译flume ng的时候出现不能找到flume-ng-log4jappender的问题:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-ng-dist: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.flume.flume-ng-clients:flume-ng-log4jappender:jar:jar-with-dependencies:1.4.0
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.flume.flume-ng-clients -DartifactId=flume-ng-log4jappender -Dversion=1.4.0 -Dclassifier=jar-with-dependencies -Dpackaging=jar -Dfile=/path/to/file
[ERROR]

flume-ng-log4jappender是在apache-flume-1.4.0-src/flume-ng-clients里面的.

所以先编译安装flume-ng-log4jappender:

cd apache-flume-1.4.0-src/flume-ng-clients

mvn install

mvn eclipse:eclipse -DskipTests


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值