[
https://issues.apache.org/jira/browse/FLINK-18969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-18969.
------------------------------------
Resolution: Not A Problem
Please use {{-DskipTests}} for skipping the execution of tests. When you use
{{-Dmaven.test.skip=true}} maven skips everything related to tests, including
the building of test jars.
> Source code build error: Could not resolve dependencies for project
> org.apache.flink:flink-oss-fs-hadoop:jar:1.12-SNAPSHOT
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-18969
> URL: https://issues.apache.org/jira/browse/FLINK-18969
> Project: Flink
> Issue Type: Bug
> Components: Build System, FileSystems
> Affects Versions: 1.12.0
> Environment: Java 8
> mac os 10.14.6
> branch: master
>
> Reporter: Xin Wang
> Priority: Major
> Labels: compile
> Attachments: image-2020-08-17-09-55-19-914.png,
> image-2020-08-17-09-55-51-714.png
>
>
> When I type cmmand:
>
> {code:java}
> //代码占位符
> cd flink
> mvn clean install -Dmaven.test.skip=true it occurs:
> <groupId>org.apache.flink</groupId>
> 30 <artifactId>flink-parent</artifactId>
> 31 <version>1.12-SNAPSHOT</version>
> {code}
>
>
> !image-2020-08-17-09-55-19-914.png!
> !image-2020-08-17-09-55-51-714.png!
>
> {code:java}
> //代码占位符
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 03:33 min
> [INFO] Finished at: 2020-08-17T09:47:32+08:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project flink-oss-fs-hadoop: Could not
> resolve dependencies for project
> org.apache.flink:flink-oss-fs-hadoop:jar:1.12-SNAPSHOT: Could not find
> artifact org.apache.flink:flink-fs-hadoop-shaded:jar:tests:1.12-SNAPSHOT ->
> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <args> -rf :flink-oss-fs-hadoop
> ZBMAC-C02WD3R01:flink wangxin813$ flink-oss-fs-hadoop{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)