Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/1813#discussion_r16381169
--- Diff: project/SparkBuild.scala ---
@@ -276,6 +289,41 @@ object Assembly {
}
+/**
+ * Settings for the spark-core artifact. We don't want to expose Guava as
a compile-time dependency,
+ * but at the same time the Java API exposes a Guava type (Optional). So
we package it with the
+ * spark-core jar using the assembly plugin, and use the assembly
deliverable as the main artifact
+ * for that project, disabling the non-assembly jar.
+ */
+object CoreAssembly {
--- End diff --
It's not that it does not create the spark-core jar anymore; it replaces it
with the jar created by the assembly plugin.
I'm pretty sure I tested publishLocal and the jar ended up in the correct
place, but I'll run a build again just to be sure.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]