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

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

    [ https://issues.apache.org/jira/browse/FLINK-6391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985699#comment-15985699 ] 

ASF GitHub Bot commented on FLINK-6391:
---------------------------------------

GitHub user EronWright opened a pull request:

    https://github.com/apache/flink/pull/3784

    FLINK-6391

    FLINK-6391
    Improve change-scala-version.sh to correctly deal with references to flink-gelly-examples.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/EronWright/flink FLINK-6391

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3784.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3784
    
----
commit 0985697f071133abf0a512a4a79834a1ccd19cde
Author: Wright, Eron <er...@emc.com>
Date:   2017-04-26T22:48:57Z

    FLINK-6391
    Improve change-scala-version.sh to correctly deal with references to flink-gelly-examples.

----


> 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)