-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
SPARK-6433 hive tests to import spark-sql test JAR for QueryTest access #5119
Changes from all commits
650f442
fdac51b
c2b5f89
a6dca33
81ceb01
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 |
---|---|---|
|
@@ -1265,6 +1265,7 @@ | |
<id>create-source-jar</id> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
<goal>test-jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
|
@@ -1472,6 +1473,25 @@ | |
<groupId>org.scalatest</groupId> | ||
<artifactId>scalatest-maven-plugin</artifactId> | ||
</plugin> | ||
<!-- Build test-jar's for all projects, since some projects depend on tests from others --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>prepare-test-jar</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>test-jar</goal> | ||
</goals> | ||
<configuration> | ||
<excludes> | ||
<exclude>log4j.properties</exclude> | ||
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. Just being thorough here at the end -- so the idea here is that the tests shouldn't 'publish' their logging config right? I think that will only affect the |
||
</excludes> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
This file was deleted.
This file was deleted.
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 think the default
jar
execution is already active as it's a part of the standard Maven config.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.
Maven is mystery too all. This bit of build was lifted from hadoop. Your call as to whether you want the jar execution cut
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.
Yeah it can be mysterious; I feel reasonably sure about how the jar plugin works. I'd rather remove the config if we don't know that it's needed, and I have never need these. I also don't re-specify the default jar execution and it's been fine. We'll know quickly of course whether it doesn't actually produce JARs! but yeah I'd trim this down to what is necessary IMHO.