You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2022/04/14 09:55:00 UTC

[jira] [Commented] (FLINK-27232) .scalafmt.conf cant be located when running in sub-directory

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

Timo Walther commented on FLINK-27232:
--------------------------------------

This is a big regression and we are currently also investigating it. CC [~matriv] Even if it might cause other issues, {{${maven.multiModuleProjectDirectory}}} seems the best solution yet even if not perfect. But happy for better ideas.

> .scalafmt.conf cant be located when running in sub-directory
> ------------------------------------------------------------
>
>                 Key: FLINK-27232
>                 URL: https://issues.apache.org/jira/browse/FLINK-27232
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Build System
>    Affects Versions: 1.16.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>
> cd flink-scala
> mvn validate
> Error:  Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.13.0:check (spotless-check) on project flink-scala_2.12: Execution spotless-check of goal com.diffplug.spotless:spotless-maven-plugin:2.13.0:check failed: Unable to locate file with path: .scalafmt.conf: Could not find resource '.scalafmt.conf'. -> [Help 1]
> Currently breaks the docs build.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)