-
Notifications
You must be signed in to change notification settings - Fork 29k
SPARK-6433 hive tests to import spark-sql test JAR for QueryTest access #5119
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 1 commit
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 |
|---|---|---|
|
|
@@ -158,6 +158,7 @@ | |
| <fasterxml.jackson.version>2.4.4</fasterxml.jackson.version> | ||
| <snappy.version>1.1.1.6</snappy.version> | ||
| <netlib.java.version>1.1.2</netlib.java.version> | ||
| <maven-jar-plugin.version>2.6</maven-jar-plugin.version> | ||
|
|
||
| <!-- | ||
| Dependency scopes that can be overridden by enabling certain profiles. These profiles are | ||
|
|
@@ -1265,6 +1266,7 @@ | |
| <id>create-source-jar</id> | ||
| <goals> | ||
| <goal>jar-no-fork</goal> | ||
| <goal>test-jar-no-fork</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
|
|
@@ -1472,6 +1474,46 @@ | |
| <groupId>org.scalatest</groupId> | ||
| <artifactId>scalatest-maven-plugin</artifactId> | ||
| </plugin> | ||
| <!-- Build the JARs--> | ||
|
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. Can this say something more useful? Maybe like: Otherwise it might be hard for someone to understand what is going on here. |
||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-jar-plugin</artifactId> | ||
| <version>${maven-jar-plugin.version}</version> | ||
| <configuration> | ||
|
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. Sorry, I still wasn't sure what this config was for, what does it do? |
||
| <!-- Configuration of the archiver --> | ||
| <archive> | ||
|
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. Is this config needed? I haven't usually needed anything more than the executions below in this kind of incantation.
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. primarily to say what you want and the version. if the version control is cut, not needed any more |
||
| <manifestEntries> | ||
| <mode>development</mode> | ||
| <url>${project.url}</url> | ||
| </manifestEntries> | ||
| <manifest> | ||
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
| </manifest> | ||
| </archive> | ||
| </configuration> | ||
| <executions> | ||
| <execution> | ||
|
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. Nit: the
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. Also not 100% sure but do you need to re-declare the
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. I believe that as the default config is being overrriden to give it the new goal, the original one needs to be repeated |
||
| <id>prepare-jar</id> | ||
| <phase>prepare-package</phase> | ||
| <goals> | ||
| <goal>jar</goal> | ||
| </goals> | ||
| </execution> | ||
| <execution> | ||
| <id>prepare-test-jar</id> | ||
| <phase>prepare-package</phase> | ||
| <goals> | ||
| <goal>test-jar</goal> | ||
| </goals> | ||
| <configuration> | ||
| <excludes> | ||
| <exclude>log4j.properties</exclude> | ||
| </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.
Nit, I don't think this needs to be factored out into a property as I don't think it would be overridden. It just occurs one place too. The plugin versions are just written once in the parent.
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.
Lifted it from the hadoop code. the parent one is @ v 2.4, so it comes down to whether you are happy with what that parent gives you or not. Easy to alter.