[
https://issues.apache.org/jira/browse/FLINK-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985700#comment-15985700
]
Eron Wright edited comment on FLINK-6360 at 4/26/17 10:55 PM:
---------------------------------------------------------------
I fixed this and opened a PR at the same time as Greg marked FLINK-6391 as a
dup. Anyway here's the PR:
https://github.com/apache/flink/pull/3784
was (Author: eronwright):
I fixed this and opened a PR at the same time as Greg marked it as a dup.
Anyway here's the PR:
https://github.com/apache/flink/pull/3784
> 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)