-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-27317][build] Don't fork build for attaching sources #19524
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is some dark working directory magic. :) How about making the .scalafmt.conf
path relative to the base directory instead? Are there any other consequences of using -no-fork
?
eg.
index ff31c8996bb..ad805f54d6d 100644
--- a/flink-scala/pom.xml
+++ b/flink-scala/pom.xml
@@ -146,7 +146,7 @@ under the License.
<scala>
<scalafmt>
<version>${spotless.scalafmt.version}</version>
- <file>../.scalafmt.conf</file>
+ <file>${project.basedir}/../.scalafmt.conf</file>
</scalafmt>
<licenseHeader>
<content>${spotless.license.header}</content>
@@ -1224,12 +1224,12 @@ under the License. | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-source-plugin</artifactId> | |||
<version>2.2.1</version><!--$NO-MVN-MAN-VER$--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any particular reason for the upgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No; it just felt like a good opportunity to do so since we're looking at the plugin anyway.
Using |
I would use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix @zentol! Good job.
@flinkbot run azure |
1 similar comment
@flinkbot run azure |
No description provided.