scala common enrich development - artsy/snowplow GitHub Wiki

If you want to work on the scala-common-enrich library and also test how it effects scala-kinesis-enrich, you won't want to deploy the library to Sonatype on every iteration.

You should instead point your dependency in scala-kinesis-enrich to your local files for scala-common-enrich.

Do the following two changes in scala-kinesis-enrich:

in 3-enrich/scala-kinesis-enrich/project/Dependencies.scala

Comment out the two instances of val snowplowCommonEnrich = ... that point to Sonatype.

in 3-enrich/scala-kinesis-enrich/project/SnowplowKinesisEnrichBuild.scala

Comment out the one instance of Libraries.snowplowCommonEnrich, and tack on:

dependsOn(RootProject(file("/Users/artsyinc/Documents/snowplow-scala-common-enrich/snowplow/3-enrich/scala-common-enrich/")))

to the end of the lazy val project = Project("snow... definition.