git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-9449) `mvn clean` fails on macOS 10.13


Andrew Janke created FLINK-9449:
-----------------------------------

             Summary: `mvn clean` fails on macOS 10.13
                 Key: FLINK-9449
                 URL: https://issues.apache.org/jira/browse/FLINK-9449
             Project: Flink
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.5.0, 1.6.0
         Environment: macOS 10.13.4, Java 1.8.0, Maven 3.5.3
            Reporter: Andrew Janke
         Attachments: mvn-clean.out

I apologize in advance if this is a silly newbie mistake.

I am trying to build Flink on macOS 10.13, and I can't get the basic `mvn clean` target to succeed. It throws several warnings bout expressions in artifactIds, and then errors out with this error:

[ERROR] Failed to execute goal on project flink-dist_2.11: Could not resolve dependencies for project org.apache.flink:flink-dist_2.11:jar:1.6-SNAPSHOT: Failure to find org.apache.flink:flink-shaded-hadoop2-uber:jar:1.6-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1]

To reproduce:

I'm simply cloning my fork of the flink repo, cding in to it, and immediately doing a `mvn clean`. Same thing happens if I check out the `release-1.5.0` tag first.

[~/local/repos]
$ git clone https://github.com/apjanke/flink
Cloning into 'flink'...
remote: Counting objects: 459249, done.
remote: Total 459249 (delta 0), reused 0 (delta 0), pack-reused 459248
Receiving objects: 100% (459249/459249), 152.68 MiB | 26.29 MiB/s, done.
Resolving deltas: 100% (194904/194904), done.
Checking out files: 100% (8240/8240), done.
[~/local/repos]
$ cd flink
[~/local/repos/flink on ⇄ master]
$ mvn -e clean &> mvn-clean.out
[✘ ~/local/repos/flink on ⇄ master ±]
$ mvn --version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T14:49:05-05:00)
Maven home: /usr/local/Cellar/maven/3.5.3/libexec
Java version: 1.8.0_141, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.4", arch: "x86_64", family: "mac"




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flink-development/msg07377.html on line 120
Call Stack
#TimeMemoryFunctionLocation
10.0008358376{main}( ).../msg07377.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flink-development/msg07377.html on line 120
Call Stack
#TimeMemoryFunctionLocation
10.0008358376{main}( ).../msg07377.html:0