Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
0a4b76fc
Commit
0a4b76fc
authored
11 years ago
by
Shivaram Venkataraman
Browse files
Options
Downloads
Patches
Plain Diff
Rename SBT target to assemble-deps.
parent
1dcded45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project/SparkBuild.scala
+5
-5
5 additions, 5 deletions
project/SparkBuild.scala
with
5 additions
and
5 deletions
project/SparkBuild.scala
+
5
−
5
View file @
0a4b76fc
...
...
@@ -60,7 +60,7 @@ object SparkBuild extends Build {
lazy
val
assemblyProj
=
Project
(
"assembly"
,
file
(
"assembly"
),
settings
=
assemblyProjSettings
)
.
dependsOn
(
core
,
bagel
,
mllib
,
repl
,
streaming
)
dependsOn
(
maybeYarn
:
_
*
)
lazy
val
spark
=
TaskKey
[
Unit
](
"
spark
"
,
"Build assembly of dependencies and
spark
packages"
)
lazy
val
assembleDeps
=
TaskKey
[
Unit
](
"
assemble-deps
"
,
"Build assembly of dependencies and package
s Spark project
s"
)
// A configuration to set an alternative publishLocalConfiguration
lazy
val
MavenCompile
=
config
(
"m2r"
)
extend
(
Compile
)
...
...
@@ -76,12 +76,12 @@ object SparkBuild extends Build {
// Conditionally include the yarn sub-project
lazy
val
maybeYarn
=
if
(
isYarnEnabled
)
Seq
[
ClasspathDependency
](
yarn
)
else
Seq
[
ClasspathDependency
]()
lazy
val
maybeYarnRef
=
if
(
isYarnEnabled
)
Seq
[
ProjectReference
](
yarn
)
else
Seq
[
ProjectReference
]()
lazy
val
allProjects
=
Seq
[
ProjectReference
](
core
,
repl
,
examples
,
bagel
,
streaming
,
mllib
,
tools
,
assemblyProj
)
++
maybeYarnRef
// Everything except assembly and examples belong
s
to packageProjects
// Everything except assembly
, tools
and examples belong to packageProjects
lazy
val
packageProjects
=
Seq
[
ProjectReference
](
core
,
repl
,
bagel
,
streaming
,
mllib
)
++
maybeYarnRef
lazy
val
allProjects
=
packageProjects
++
Seq
[
ProjectReference
](
examples
,
tools
,
assemblyProj
)
def
sharedSettings
=
Defaults
.
defaultSettings
++
Seq
(
organization
:=
"org.apache.spark"
,
version
:=
"0.9.0-incubating-SNAPSHOT"
,
...
...
@@ -308,7 +308,7 @@ object SparkBuild extends Build {
def
assemblyProjSettings
=
sharedSettings
++
Seq
(
name
:=
"spark-assembly"
,
spark
in
Compile
<<=
(
packageProjects
.
map
(
packageBin
in
Compile
in
_
)
++
Seq
(
packageDependency
in
Compile
)).
dependOn
,
assembleDeps
in
Compile
<<=
(
packageProjects
.
map
(
packageBin
in
Compile
in
_
)
++
Seq
(
packageDependency
in
Compile
)).
dependOn
,
jarName
in
assembly
<<=
version
map
{
v
=>
"spark-assembly-"
+
v
+
"-hadoop"
+
hadoopVersion
+
".jar"
},
jarName
in
packageDependency
<<=
version
map
{
v
=>
"spark-assembly-"
+
v
+
"-hadoop"
+
hadoopVersion
+
"-deps.jar"
}
)
++
assemblySettings
++
extraAssemblySettings
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment