各位好:
我在flink源码基于1.10编译时有好多jar包都下载不下来,比如flink-test-utils、<!--<module>flink-oss-fs-hadoop</module>—>等,报的错是 [ERROR] Failed to execute goal on project flink-hadoop-compatibility_2.11: Could not resolve dependencies for project org.apache.flink:flink-hadoop-compatibility_2.11:jar:1.10-SNAPSHOT: Could not find artifact org.apache.flink:flink-test-utils_2.11:jar:1.10-SNAPSHOT in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/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. 注释掉一个又另外一个报错,不应该这么多包都下载不下来才对呀,各位有遇到过吗 用的镜像是: <mirror> <id>nexus-aliyun</id> <mirrorOf>*,!jeecg,!jeecg-snapshots,!mapr-releases</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> <mirror> <id>mapr-public</id> <mirrorOf>mapr-releases</mirrorOf> <name>mapr-releases</name> <url>https://maven.aliyun.com/repository/mapr-public</url> </mirror> |
不要用aliyun maven repo,另外你这是1.10-SNAPSHOT 不是1.10的release版本
魏烽 <[hidden email]> 于2020年8月21日周五 下午8:44写道: > 各位好: > > > 我在flink源码基于1.10编译时有好多jar包都下载不下来,比如flink-test-utils、<!--<module>flink-oss-fs-hadoop</module>—>等,报的错是 > > [ERROR] Failed to execute goal on project flink-hadoop-compatibility_2.11: > Could not resolve dependencies for project > org.apache.flink:flink-hadoop-compatibility_2.11:jar:1.10-SNAPSHOT: Could > not find artifact org.apache.flink:flink-test-utils_2.11:jar:1.10-SNAPSHOT > in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/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. > > 注释掉一个又另外一个报错,不应该这么多包都下载不下来才对呀,各位有遇到过吗 > 用的镜像是: > <mirror> > <id>nexus-aliyun</id> > <mirrorOf>*,!jeecg,!jeecg-snapshots,!mapr-releases</mirrorOf> > <name>Nexus aliyun</name> > <url>http://maven.aliyun.com/nexus/content/groups/public</url> > </mirror> > > <mirror> > <id>mapr-public</id> > <mirrorOf>mapr-releases</mirrorOf> > <name>mapr-releases</name> > <url>https://maven.aliyun.com/repository/mapr-public</url> > </mirror> > -- Best Regards Jeff Zhang |
In reply to this post by 魏烽
<mirror> <id>aliyun-mapr-public</id> <mirrorOf>mapr-releases</mirrorOf> <name>mapr-releases</name> <url>https://maven.aliyun.com/repository/mapr-public</url> </mirror> <mirror> <id>confluent-packages-maven</id> <mirrorOf>confluent</mirrorOf> <name>confluent</name> <url>https://packages.confluent.io/maven</url> </mirror> <mirror> <id>aliyun-public</id> <mirrorOf>*</mirrorOf> <name>aliyun public</name> <url>https://maven.aliyun.com/repository/public</url> </mirror> ---- Lynn Chen 在 2020-08-21 19:44:20,"魏烽" <[hidden email]> 写道: >各位好: > >我在flink源码基于1.10编译时有好多jar包都下载不下来,比如flink-test-utils、<!--<module>flink-oss-fs-hadoop</module>—>等,报的错是 > >[ERROR] Failed to execute goal on project flink-hadoop-compatibility_2.11: Could not resolve dependencies for project org.apache.flink:flink-hadoop-compatibility_2.11:jar:1.10-SNAPSHOT: Could not find artifact org.apache.flink:flink-test-utils_2.11:jar:1.10-SNAPSHOT in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/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. > >注释掉一个又另外一个报错,不应该这么多包都下载不下来才对呀,各位有遇到过吗 >用的镜像是: ><mirror> > <id>nexus-aliyun</id> > <mirrorOf>*,!jeecg,!jeecg-snapshots,!mapr-releases</mirrorOf> > <name>Nexus aliyun</name> > <url>http://maven.aliyun.com/nexus/content/groups/public</url> ></mirror> > ><mirror> > <id>mapr-public</id> > <mirrorOf>mapr-releases</mirrorOf> > <name>mapr-releases</name> > <url>https://maven.aliyun.com/repository/mapr-public</url> ></mirror> |
Free forum by Nabble | Edit this page |