Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odps依赖包确实导致无法编译 #95

Closed
venxo opened this issue May 25, 2018 · 5 comments
Closed

odps依赖包确实导致无法编译 #95

venxo opened this issue May 25, 2018 · 5 comments

Comments

@venxo
Copy link

venxo commented May 25, 2018

现在编译datax odps插件模块会报
[ERROR] Failed to execute goal on project odpsreader: Could not resolve dependencies for project com.alibaba.datax:odpsreader:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.alibaba.datax:datax-common:jar:0.0.1-SNAPSHOT, com.alibaba.external:bouncycastle.provider:jar:1.38-jdk15: Could not find artifact com.alibaba.datax:datax-common:jar:0.0.1-SNAPSHOT in dtwave (http://repo2.dtwave-inc.com/repository/public/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

比较过之前odps-sdk-core-0.19.3-public.pom的的依赖是

org.bouncycastle
bcprov-jdk15on
1.52

现在是

com.alibaba.external
bouncycastle.provider
1.38-jdk15

后来的这个依赖应该是阿里内部jar,外部仓库无法加载这个jar

@LevelUpUpUp
Copy link

同事也遇到类型的问题了

@zhuliuw
Copy link

zhuliuw commented Jul 2, 2018

我也遇到了

@zhuliuw
Copy link

zhuliuw commented Jul 2, 2018

如何解决?

@venxo
Copy link
Author

venxo commented Jul 2, 2018

把odps的的maven依赖改成

com.aliyun.odps
odps-sdk-core
0.20.7-public

就可以了

@TrafalgarLuo
Copy link
Collaborator

编译命令:
mvn clean package -U -DskipTests assembly:assembly

使用最新代码可以正常编译,注意使用 jdk >= 1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants