You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Eron Wright (JIRA)" <ji...@apache.org> on 2017/04/26 22:42:04 UTC

[jira] [Created] (FLINK-6391) fix build for scala 2.11 (gelly-examples)

Eron Wright  created FLINK-6391:
-----------------------------------

             Summary: fix build for scala 2.11 (gelly-examples)
                 Key: FLINK-6391
                 URL: https://issues.apache.org/jira/browse/FLINK-6391
             Project: Flink
          Issue Type: Bug
          Components: Build System
            Reporter: Eron Wright 
            Assignee: Eron Wright 


After switching the build to Scala 2.11 (using `tools/change-scala-version.sh`), the build fails in flink-dist module.

{code}
...
[INFO] flink-dist ......................................... FAILURE [ 19.337 s]
[INFO] flink-fs-tests ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31:16 min
[INFO] Finished at: 2017-04-26T15:17:43-07:00
[INFO] Final Memory: 380M/1172M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (bin) on project flink-dist_2.11: Failed to create assembly: Error adding file to archive: /Users/wrighe3/Projects/flink/flink-dist/../flink-libraries/flink-gelly-examples/target/flink-gelly-examples_2.10-1.3-SNAPSHOT.jar -> [Help 1]
{code}

The root cause appears to be that the change-scala-version tool should update flink-dist/.../assemblies/bin.xml to use the correct version of flink-gelly-examples.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)