Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Add treasury yield example build support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan W. McAdams committed Apr 6, 2012
1 parent 3c9ebe0 commit 3c4a466
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Expand Up @@ -18,12 +18,12 @@
<property>
<!-- If you are reading from mongo, the URI -->
<name>mongo.input.uri</name>
<value>mongodb://127.0.0.1/demo.yield_historical.in</value>
<value>mongodb://127.0.0.1/mongo_hadoop.yield_historical.in</value>
</property>
<property>
<!-- If you are writing to mongo, the URI -->
<name>mongo.output.uri</name>
<value>mongodb://127.0.0.1/demo.yield_historical.out</value>
<value>mongodb://127.0.0.1/mongo_hadoop.yield_historical.out</value>
</property>
<property>
<!-- The query, in JSON, to execute [OPTIONAL] -->
Expand Down
7 changes: 6 additions & 1 deletion project/MongoHadoopBuild.scala
Expand Up @@ -8,7 +8,7 @@ import AssemblyKeys._
object MongoHadoopBuild extends Build {

lazy val buildSettings = Seq(
version := "1.0.0-rc1-SNAPSHOT",
version := "1.0.0-SNAPSHOT",
crossScalaVersions := Nil,
crossPaths := false,
organization := "org.mongodb"
Expand Down Expand Up @@ -65,6 +65,10 @@ object MongoHadoopBuild extends Build {
settings = flumeSettings )


lazy val treasuryExample = Project( id = "treasury-example",
base = file("examples/treasury_yield"),
settings = exampleSettings ) dependsOn( core )


lazy val baseSettings = Defaults.defaultSettings ++ buildSettings ++ Seq(
resolvers ++= Seq(Resolvers.mitSimileRepo, Resolvers.clouderaRepo, Resolvers.mavenOrgRepo, Resolvers.sonatypeRels),
Expand Down Expand Up @@ -145,6 +149,7 @@ object MongoHadoopBuild extends Build {

)

val exampleSettings = dependentSettings
val pigSettings = dependentSettings ++ Seq(
//resolvers ++= Seq(Resolvers.hypobytes), /** Seems to have thrift deps I need*/
libraryDependencies <++= (scalaVersion, libraryDependencies, hadoopRelease) { (sv, deps, hr: String) =>
Expand Down

0 comments on commit 3c4a466

Please sign in to comment.