flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7037) Remove scala suffix from flink-examples module
Date Thu, 29 Jun 2017 09:31:03 GMT

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

ASF GitHub Bot commented on FLINK-7037:

GitHub user zentol opened a pull request:


    [FLINK-7037] Remove scala suffic from flink-examples module

    This PR removes the scala version suffix from the flink-examples module.
    The suffix prevented building single modules that rely on any example module. This does
not cause issues when building flink completely as we traverse the modules from the parent,
allowing the scala version to be resolved for all modules.
    When building a single module in order to resolve the scala version we have to traverse
from the target module towards the parent, which isn't possible since the scala version isn't

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

    $ git pull https://github.com/zentol/flink 7037

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


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

    This closes #4221
commit 6aadbc9237ae65313e73259021d6654115bc5461
Author: zentol <chesnay@apache.org>
Date:   2017-06-29T09:26:32Z

    [FLINK-7037] Remove scala suffic from flink-examples module


> Remove scala suffix from flink-examples module
> ----------------------------------------------
>                 Key: FLINK-7037
>                 URL: https://issues.apache.org/jira/browse/FLINK-7037
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>             Fix For: 1.4.0
> Exceptions such as this 
> {code}
> [ERROR] Failed to execute goal on project flink-tests_2.11: Could not resolve dependencies
for project org.apache.flink:flink-tests_2.11:jar:1.4-SNAPSHOT: Failed to collect dependencies
at org.apache.flink:flink-examples-batch_2.11:jar:1.4-SNAPSHOT: Failed to read artifact descriptor
for org.apache.flink:flink-examples-batch_2.11:jar:1.4-SNAPSHOT: Failure to find org.apache.flink:flink-examples_${scala.binary.version}:pom:1.4-SNAPSHOT
in https://oss.sonatype.org/content/repositories/snapshots/ was cached in the local repository,
resolution will not be reattempted until the update interval of sonatype-snapshots has elapsed
or updates are forced -> [Help 1]
> {code}
> are caused by modules that have a parent module which have a scala suffix. The scala
version is not properly resolved for parents. In retrospect this is rather obvious, as the
scala version is defined in the parent; in order to resolve the scala version one would ahve
to know who the parent is, but you need the scala version for that.

This message was sent by Atlassian JIRA

View raw message