You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2017/04/23 12:10:04 UTC

[jira] [Commented] (FLINK-6360) Failed to create assembly for Scala 2.11 due to tools/change-scala-version.sh not changing flink-gelly-examples_2.10

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

Greg Hogan commented on FLINK-6360:
-----------------------------------

[~jlaskowski] thanks for reporting this. I think your reasoning is correct. We should also consider creating an {{examples.xml}} assembly and modifying that as you have described.

> Failed to create assembly for Scala 2.11 due to tools/change-scala-version.sh not changing flink-gelly-examples_2.10
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-6360
>                 URL: https://issues.apache.org/jira/browse/FLINK-6360
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.3.0
>            Reporter: Jacek Laskowski
>            Priority: Minor
>
> I'm building Flink for Scala 2.11 using the following command:
> {code}
> oss; cd flink; gco -- .; gl && \
> ./tools/change-scala-version.sh 2.11 && \
> mvn clean install -DskipTests -Dhadoop.version=2.7.3 -Dscala.version=2.11.7 
> {code}
> For the past couple of days I've been unable to build Flink because of the following error:
> {code}
> [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/jacek/dev/oss/flink/flink-dist/../flink-libraries/flink-gelly-examples/target/flink-gelly-examples_2.10-1.3-SNAPSHOT.jar -> [Help 1]
> {code}
> I've been able to trace it down to {{flink-dist/src/main/assemblies/bin.xml}} not being changed by {{./tools/change-scala-version.sh}} so the build tries to include {{flink-gelly-examples_2.10}} rather than {{flink-gelly-examples_2.11}}.
> Please comment if my reasoning is correct or not and I'd be happy to work on it. Thanks.



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