   :java-source-paths ["java"]
 
   :profiles
-  {:uberjar
+  {
+   ; By default, activate the :oss profile (explained below)
+   :default [:base :system :user :provided :dev :oss]
+
+   ; The :oss profile exists so that Cook can be built with a more
+   ; appropriate set of dependencies for a specific environment than
+   ; the ones defined here (by using `lein with-profile -oss` ...)
+   :oss
+   {:dependencies [
+                   ; For example, one could drop in the datomic-pro
+                   ; library instead of the datomic-free library, by
+                   ; using a profiles.clj file that defines a profile
+                   ; which pulls in datomic-pro
+                   [com.datomic/datomic-free "0.9.5206"
+                    :exclusions [org.slf4j/slf4j-api
+                                 com.fasterxml.jackson.core/jackson-core
+                                 org.slf4j/jcl-over-slf4j
+                                 org.slf4j/jul-to-slf4j
+                                 org.slf4j/log4j-over-slf4j
+                                 org.slf4j/slf4j-nop
+                                 joda-time]]
+                   ; Similarly, one could use an older version of the
+                   ; mesomatic library in environments that require it
+                   [wyegelwe/mesomatic "1.0.1-r0-SNAPSHOT"]]}
+
+   :uberjar
    {:aot [cook.components]}
 
    :dev


                 ;;External system integrations
                 [me.raynes/conch "0.5.2"]
                 [wyegelwe/mesomatic "1.0.1-r0-SNAPSHOT"]
                 [org.clojure/tools.nrepl "0.2.3"]

                 ;;Ring

                 [liberator "0.15.0"]

                 ;;Databases
                 [org.apache.curator/curator-framework "2.7.1"
                  :exclusions [io.netty/netty]]
                 [org.apache.curator/curator-recipes "2.7.1"
                  :exclusions [org.slf4j/slf4j-log4j12
                               org.slf4j/log4j
                               log4j]]
                 [org.apache.curator/curator-test "2.7.1"]]

  :repositories {"maven2" {:url "https://files.couchbase.com/maven2/"}
