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/07/03 20:00:01 UTC

[jira] [Commented] (FLINK-7037) Remove scala suffix from flink-examples module

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

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

Github user greghogan commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4221#discussion_r125350366
  
    --- Diff: flink-examples/flink-examples-table/pom.xml ---
    @@ -24,7 +24,7 @@ under the License.
     
     	<parent>
     		<groupId>org.apache.flink</groupId>
    -		<artifactId>flink-examples_${scala.binary.version}</artifactId>
    +		<artifactId>flink-examples}</artifactId>
    --- End diff --
    
    Leftover `}`.


> 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
(v6.4.14#64029)