-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-9015] [BUILD] Clean project import in scala ide #7375
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
Changes from all commits
80fbdc5
999a068
c8a54db
f47d856
312007e
5a83e07
c4b4c0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -133,7 +133,6 @@ | |
| </goals> | ||
| <configuration> | ||
| <sources> | ||
| <source>src/test/scala</source> | ||
| <source>compatibility/src/test/scala</source> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK as long as we're sure this adds to rather than overrides
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I've been bitten by this before; we may have to pass an option to ensure overriding.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Err, to ensure addition.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not needed anymore. It did hurt you in the past because the add-sources was done by build-helper-maven-plugin only. Overriding the configuration here has overriden the setting from parent. That is why one had to repeat it all the time or the dir set in parent was lost. Now however the addition happens because there are two plugins "adding sources". BTW: We can keep it there. It does not hurt. It is just a cleanup. |
||
| </sources> | ||
| </configuration> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -76,10 +76,6 @@ | |
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-source-plugin</artifactId> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.codehaus.mojo</groupId> | ||
| <artifactId>build-helper-maven-plugin</artifactId> | ||
| </plugin> | ||
| </plugins> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure this isn't needed? this module has src/main/scala code |
||
| </build> | ||
| </project> | ||
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 might be unneeded, but how do you know? even I dont' know what this plugin is about.
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.
The result is needed. The groovy plugin not. The trick is 6 lines above in this commit - maven-dependency-plugin can save to file. The "outputProperty" is changed to "outputFile". It does exactly the same thing as the gradle script.
I have double checked it. It does the same thing. The same file is there with the same content.
The advantage of this is therefore smaller maven file and faster build.
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.
@ScrapCodes you added this in daaca14 -- looks OK to you?
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.
I was not aware of this back then, did it even exist in the 2.9 version of maven dependency plugin ? Anyway the proof that this change is legit is that - it passes the maven test build especially the distributed ones in core(and there are lots of them).