Permalink
Browse files

Add treasury yield example build support.

  • Loading branch information...
1 parent 3c9ebe0 commit 3c4a46639b989eaee56e00b4c28fbb79da7d3e92 @bwmcadams bwmcadams committed Apr 6, 2012
@@ -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] -->
@@ -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"
@@ -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),
@@ -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) =>

0 comments on commit 3c4a466

Please sign in to comment.