From c34e0a4c2c84dc1a8c0076e6dde631ec465a1a44 Mon Sep 17 00:00:00 2001 From: "Dr. Christian Betz" Date: Fri, 8 Sep 2017 10:58:10 +0200 Subject: [PATCH] added overarching project.clj / starting to use lein-monolith/lein-v combination to orchestrate the different subprojects. Still WIP, got some errors running "lein monolith each do clean, check, install". --- admin/README.md | 8 +++--- admin/project.clj | 61 +++++++++++++++++++---------------------- avro/README.md | 4 +-- avro/project.clj | 54 +++++++++++++++++-------------------- common/README.md | 4 +-- common/project.clj | 52 +++++++++++++++-------------------- core/project.clj | 54 ++++++++++++++++++------------------- embedded/README.md | 2 +- embedded/project.clj | 64 ++++++++++++++++++++------------------------ examples/project.clj | 34 ++++++++++------------- fressian/README.md | 4 +-- fressian/project.clj | 54 +++++++++++++++++-------------------- json/README.md | 2 +- json/project.clj | 54 +++++++++++++++++-------------------- mocks/README.md | 2 +- mocks/project.clj | 26 +++++++----------- nippy/README.md | 4 +-- nippy/project.clj | 54 +++++++++++++++++-------------------- project.clj | 60 +++++++++++++++++++++++++++++++++++++++++ transit/project.clj | 60 ++++++++++++++++++++--------------------- 20 files changed, 329 insertions(+), 328 deletions(-) create mode 100644 project.clj diff --git a/admin/README.md b/admin/README.md index 12f2bee..2ad746c 100644 --- a/admin/README.md +++ b/admin/README.md @@ -2,7 +2,7 @@ Franzy Admin is a comprehensive set of administration tools for Administering [Kafka](http://kafka.apache.org/). -It fits in well with [Franzy](https://github.com/ymilky/franzy), but there's no dependency. Only what you need to administer Kafka is included, there's no dependency on the consumer/producer client itself. +It fits in well with [Franzy](https://github.com/clj-kafka/franzy), but there's no dependency. Only what you need to administer Kafka is included, there's no dependency on the consumer/producer client itself. ## What's in the Box @@ -38,7 +38,7 @@ It fits in well with [Franzy](https://github.com/ymilky/franzy), but there's no ## Docs * Read the browsable [API](http://ymilky.github.io/franzy-admin/index.html) -* See [Franzy Source](https://github.com/ymilky/franzy) and docs for more information about schemas, types, etc. +* See [Franzy Source](https://github.com/clj-kafka/franzy) and docs for more information about schemas, types, etc. * For more about using, validating, and developing schemas, see [Schema](https://github.com/plumatic/schema). * Commented source and tests @@ -47,10 +47,10 @@ It fits in well with [Franzy](https://github.com/ymilky/franzy), but there's no Add the necessary dependency to your project: ```clojure -[ymilky/franzy-admin "0.0.1"] +[clj-kafka.franzy/admin "0.0.1"] ``` -[![Clojars Project](https://img.shields.io/clojars/v/ymilky/franzy-admin.svg)](https://clojars.org/ymilky/franzy-admin) +[![Clojars Project](https://img.shields.io/clojars/v/clj-kafka.franzy/admin.svg)](https://clojars.org/clj-kafka.franzy/admin) ## Requirements diff --git a/admin/project.clj b/admin/project.clj index bfeea40..4e1350c 100644 --- a/admin/project.clj +++ b/admin/project.clj @@ -1,34 +1,27 @@ -(defproject ymilky/franzy-admin "0.0.2-SNAPSHOT" - :description "A Kafka Clojure Admin client, with support for topic, partition, group, cluster management, and more." - :url "https://github.com/ymilky/franzy-admin" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [prismatic/schema "1.1.0"] - [org.apache.kafka/kafka_2.11 "0.9.0.1" :exclusions [org.scala-lang/scala-library]] - [org.scala-lang/scala-library "2.11.8"] - [ymilky/franzy-common "0.0.2-SNAPSHOT"] - [com.taoensso/timbre "4.3.1"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"] - [jarohen/nomad "0.7.2"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/admin "0.0.0" + :description "A Kafka Clojure Admin client, with support for topic, partition, group, cluster management, and more." + :dependencies [[org.clojure/clojure "1.8.0"] + [prismatic/schema "1.1.0"] + [org.apache.kafka/kafka_2.11 "0.9.0.1" :exclusions [org.scala-lang/scala-library]] + [org.scala-lang/scala-library "2.11.8"] + [clj-kafka.franzy/common nil] + [com.taoensso/timbre "4.3.1"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"] + [jarohen/nomad "0.7.2"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/avro/README.md b/avro/README.md index eda6b03..91733c4 100644 --- a/avro/README.md +++ b/avro/README.md @@ -36,10 +36,10 @@ Great fit with [Franzy](https://github.com/ymilky/franzy), a Clojure Kafka clien Add the necessary dependency to your project: ```clojure -[ymilky/franzy-avro "0.0.1"] +[clj-kafka.franzy/avro "0.0.1"] ``` -[![Clojars Project](https://img.shields.io/clojars/v/ymilky/franzy-avro.svg)](https://clojars.org/ymilky/franzy-avro) +[![Clojars Project](https://img.shields.io/clojars/v/clj-kafka.franzy/avro.svg)](https://clojars.org/clj-kafka.franzy/avro) ## Serializing diff --git a/avro/project.clj b/avro/project.clj index 207a9c1..1e08c4e 100644 --- a/avro/project.clj +++ b/avro/project.clj @@ -1,30 +1,24 @@ -(defproject ymilky/franzy-avro "0.0.1" - :description "A Kafka Serializer/Deserializer supporting Avro, and an add-on for Franzy, a Clojure Kafka suite of libraries." - :url "https://github.com/ymilky/franzy-avro" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [org.apache.kafka/kafka-clients "0.9.0.1"] - [com.damballa/abracad "0.4.13"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/avro "0.0.0" + :description "A Kafka Serializer/Deserializer supporting Avro, and an add-on for Franzy, a Clojure Kafka suite of libraries." + :dependencies [[org.clojure/clojure "1.8.0"] + [org.apache.kafka/kafka-clients "0.9.0.1"] + [com.damballa/abracad "0.4.13"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/common/README.md b/common/README.md index 8d73973..b83f090 100644 --- a/common/README.md +++ b/common/README.md @@ -36,10 +36,10 @@ Add the necessary dependency to your project: ```clojure -[ymilky/franzy-common "0.0.1"] +[clj-kafka.franzy/common "0.0.1"] ``` -[![Clojars Project](https://img.shields.io/clojars/v/ymilky/franzy-common.svg)](https://clojars.org/ymilky/franzy-common) +[![Clojars Project](https://img.shields.io/clojars/v/clj-kafka.franzy/common.svg)](https://clojars.org/clj-kafka.franzy/common) ## License diff --git a/common/project.clj b/common/project.clj index 75f024d..f2c1b72 100644 --- a/common/project.clj +++ b/common/project.clj @@ -1,30 +1,22 @@ -(defproject ymilky/franzy-common "0.0.2-SNAPSHOT" - :description "Common resources for Kafka libraries, such as schemas, utility functions, and configuration." - :url "https://github.com/ymilky/franzy-common" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [prismatic/schema "1.1.0"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"] - [jarohen/nomad "0.7.2"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/common "0.0.0" + :description "Common resources for Kafka libraries, such as schemas, utility functions, and configuration." + :monolith/inherit true + + :dependencies [[org.clojure/clojure "1.8.0"] + [prismatic/schema "1.1.0"]] + :plugins [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"] + [jarohen/nomad "0.7.2"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/core/project.clj b/core/project.clj index 30082f9..6bd1e3a 100644 --- a/core/project.clj +++ b/core/project.clj @@ -1,28 +1,26 @@ -(defproject mastodonc/franzy "0.0.4-SNAPSHOT" - :description "Clojure Kafka client with support for Kafka producer, consumer, rebalancing, administration, and validation." - :url "https://github.com/mastodonc/franzy" - :author "ymilky and others, but see README" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :creds :gpg} - "releases" {:url "https://clojars.org/repo" - :creds :gpg}} - :dependencies [[org.clojure/clojure "1.8.0"] - [prismatic/schema "1.0.5"] - [org.apache.kafka/kafka-clients "0.10.0.1"] - [lbradstreet/franzy-common "0.0.2"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev - {:dependencies [[midje "1.7.0"] - [com.taoensso/timbre "4.3.1"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/core "0.0.0" + :description "Clojure Kafka client with support for Kafka producer, consumer, rebalancing, administration, and validation." + :dependencies [[org.clojure/clojure "1.8.0"] + [prismatic/schema "1.0.5"] + [org.apache.kafka/kafka-clients "0.10.0.1"] + [lbradstreet/franzy-common "0.0.2"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev + {:dependencies [[midje "1.7.0"] + [com.taoensso/timbre "4.3.1"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/embedded/README.md b/embedded/README.md index 5bdc164..e9f5ea3 100644 --- a/embedded/README.md +++ b/embedded/README.md @@ -47,7 +47,7 @@ A good fit with [Franzy](https://github.com/ymilky/franzy), a Kafka client and s Add the necessary dependency to your project: ```clojure -[ymilky/franzy-embedded "0.0.1"] +[clj-kafka.franzy/embedded "0.0.1"] ``` ### Requirements diff --git a/embedded/project.clj b/embedded/project.clj index dd50fc1..649b4e1 100644 --- a/embedded/project.clj +++ b/embedded/project.clj @@ -1,35 +1,29 @@ -(defproject ymilky/franzy-embedded "0.0.2-SNAPSHOT" - :description "Embedded Kafka servers with full configuration and validation, components, and more." - :url "https://github.com/ymilky/franzy-embedded" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [prismatic/schema "1.1.0"] - [com.taoensso/timbre "4.3.1"] - [com.stuartsierra/component "0.3.1"] - [org.apache.kafka/kafka_2.11 "0.9.0.1" :exclusions [org.scala-lang/scala-library]] - [org.scala-lang/scala-library "2.11.8"] - [ymilky/franzy-common "0.0.2-SNAPSHOT"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev - {:dependencies [[midje "1.7.0"] - [jarohen/nomad "0.7.2"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/embedded "0.0.0" + :description "Embedded Kafka servers with full configuration and validation, components, and more." + :dependencies [[org.clojure/clojure "1.8.0"] + [prismatic/schema "1.1.0"] + [com.taoensso/timbre "4.3.1"] + [com.stuartsierra/component "0.3.1"] + [org.apache.kafka/kafka_2.11 "0.9.0.1" :exclusions [org.scala-lang/scala-library]] + [org.scala-lang/scala-library "2.11.8"] + [clj-kafka.franzy/common nil]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev + {:dependencies [[midje "1.7.0"] + [jarohen/nomad "0.7.2"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/examples/project.clj b/examples/project.clj index a83dc3e..b4335b9 100644 --- a/examples/project.clj +++ b/examples/project.clj @@ -1,32 +1,26 @@ -(defproject ymilky/franzy-examples "0.0.2-SNAPSHOT" +(defproject clj-kafka.franzy/examples "0.0.0" :description "Examples for Franzy" - :url "https://github.com/ymilky/franzy-examples" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} :dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/core.async "0.2.374"] [com.taoensso/timbre "4.3.1"] [ymilky/travel-zoo "0.0.2"] [jarohen/nomad "0.7.2"] - [ymilky/franzy "0.0.2-SNAPSHOT"] - [ymilky/franzy-admin "0.0.2-SNAPSHOT"] - [ymilky/franzy-nippy "0.0.1"] - [ymilky/franzy-fressian "0.0.1"] - [ymilky/franzy-json "0.0.1"] - [ymilky/franzy-embedded "0.0.2-SNAPSHOT"] + [clj-kafka.franzy/core nil] + [clj-kafka.franzy/admin nil] + [clj-kafka.franzy/nippy nil] + [clj-kafka.franzy/fressian nil] + [clj-kafka.franzy/json nil] + [clj-kafka.franzy/embedded nil] [org.slf4j/slf4j-api "1.7.19"] [org.slf4j/slf4j-nop "1.7.19"] [log4j/log4j "1.2.17"]] - :plugins [[lein-codox "0.9.4"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] :codox {:metadata {:doc/format :markdown} :doc-paths ["README.md"] :output-path "doc/api"} diff --git a/fressian/README.md b/fressian/README.md index 5d61d82..8505804 100644 --- a/fressian/README.md +++ b/fressian/README.md @@ -24,10 +24,10 @@ Great fit with [Franzy](https://github.com/ymilky/franzy), a Clojure Kafka clien Add the necessary dependency to your project: ```clojure -[ymilky/franzy-fressian "0.0.1"] +[clj-kafka.franzy/fressian "0.0.1"] ``` -[![Clojars Project](https://img.shields.io/clojars/v/ymilky/franzy-fressian.svg)](https://clojars.org/ymilky/franzy-fressian) +[![Clojars Project](https://img.shields.io/clojars/v/clj-kafka.franzy/fressian.svg)](https://clojars.org/clj-kafka.franzy/fressian) ## Serializing diff --git a/fressian/project.clj b/fressian/project.clj index 82f4239..b877561 100644 --- a/fressian/project.clj +++ b/fressian/project.clj @@ -1,30 +1,24 @@ -(defproject ymilky/franzy-fressian "0.0.1" - :description "A Kafka Serializer/Deserializer supporting Fressian, and an add-on for Franzy, a Clojure Kafka client." - :url "https://github.com/ymilky/franzy-fressian" - :author "ymilky and others, but see README" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [org.apache.kafka/kafka-clients "0.9.0.1"] - [org.clojure/data.fressian "0.2.1"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/fressian "0.0.0" + :description "A Kafka Serializer/Deserializer supporting Fressian, and an add-on for Franzy, a Clojure Kafka client." + :dependencies [[org.clojure/clojure "1.8.0"] + [org.apache.kafka/kafka-clients "0.9.0.1"] + [org.clojure/data.fressian "0.2.1"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/json/README.md b/json/README.md index d819e0c..aefa87e 100644 --- a/json/README.md +++ b/json/README.md @@ -27,7 +27,7 @@ Great fit with [Franzy](https://github.com/ymilky/franzy), a Clojure Kafka clien Add the necessary dependency to your project: ```clojure -[ymilky/franzy-json "0.0.1"] +[clj-kafka.franzy/json "0.0.1"] ``` ## Serializing diff --git a/json/project.clj b/json/project.clj index 6d885ff..c29980a 100644 --- a/json/project.clj +++ b/json/project.clj @@ -1,30 +1,24 @@ -(defproject ymilky/franzy-json "0.0.1" - :description "A Kafka Serializer/Deserializer supporting JSON, and an add-on for Franzy, a Clojure Kafka client." - :url "https://github.com/ymilky/franzy-json" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [org.apache.kafka/kafka-clients "0.9.0.1"] - [cheshire "5.5.0"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/json "0.0.0" + :description "A Kafka Serializer/Deserializer supporting JSON, and an add-on for Franzy, a Clojure Kafka client." + :dependencies [[org.clojure/clojure "1.8.0"] + [org.apache.kafka/kafka-clients "0.9.0.1"] + [cheshire "5.5.0"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/mocks/README.md b/mocks/README.md index 58d71fc..952716c 100644 --- a/mocks/README.md +++ b/mocks/README.md @@ -21,7 +21,7 @@ Add the necessary dependency to your project: ```clojure -[ymilky/franzy-mocks "0.0.1"] +[clj-kafka.franzy/mocks "0.0.1"] ``` ## Usage diff --git a/mocks/project.clj b/mocks/project.clj index 011bfcc..cf23a54 100644 --- a/mocks/project.clj +++ b/mocks/project.clj @@ -1,22 +1,16 @@ -(defproject ymilky/franzy-mocks "0.0.1" +(defproject clj-kafka.franzy/mocks "0.0.0" :description "Mock producer and consumer for Kafka 0.9+ for testing, dev, etc." - :url "https://github.com/ymilky/franzy-mocks" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} :dependencies [[org.clojure/clojure "1.8.0"] [org.apache.kafka/kafka-clients "0.9.0.1"] - [ymilky/franzy-common "0.0.1"] - [ymilky/franzy "0.0.1"]] - :plugins [[lein-codox "0.9.4"]] + [clj-kafka.franzy/common nil] + [clj-kafka.franzy/core nil]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] :codox {:metadata {:doc/format :markdown} :doc-paths ["README.md"] :output-path "doc/api"} diff --git a/nippy/README.md b/nippy/README.md index 173d2f7..f92e492 100644 --- a/nippy/README.md +++ b/nippy/README.md @@ -23,9 +23,9 @@ Great fit with [Franzy](https://github.com/ymilky/franzy), a Clojure Kafka clien Add the necessary dependency to your project: ```clojure -[ymilky/franzy-nippy "0.0.1"] +[clj-kafka.franzy/nippy "0.0.1"] ``` -[![Clojars Project](https://img.shields.io/clojars/v/ymilky/franzy-fressian.svg)](https://clojars.org/ymilky/franzy-fressian) +[![Clojars Project](https://img.shields.io/clojars/v/clj-kafka.franzy/nippy.svg)](https://clojars.org/clj-kafka.franzy/nippy) ## Serializing diff --git a/nippy/project.clj b/nippy/project.clj index 67e156a..ee38282 100644 --- a/nippy/project.clj +++ b/nippy/project.clj @@ -1,30 +1,24 @@ -(defproject ymilky/franzy-nippy "0.0.1" - :description "A Kafka Serializer/Deserializer supporting Nippy, and an add-on for Franzy, a Clojure Kafka client." - :url "https://github.com/ymilky/franzy-nippy" - :author "ymilky and others, but see README" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [org.apache.kafka/kafka-clients "0.9.0.1"] - [com.taoensso/nippy "2.11.1"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/nippy "0.0.0" + :description "A Kafka Serializer/Deserializer supporting Nippy, and an add-on for Franzy, a Clojure Kafka client." + :dependencies [[org.clojure/clojure "1.8.0"] + [org.apache.kafka/kafka-clients "0.9.0.1"] + [com.taoensso/nippy "2.11.1"]] + :monolith/inherit true + :middleware [leiningen.v/dependency-version-from-scm] + + :plugins + [[lein-monolith "1.0.1"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"] + [lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}}) diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..4644333 --- /dev/null +++ b/project.clj @@ -0,0 +1,60 @@ +(defproject clj-kafka.franzy/all "0.0.0" + :description "A set of Clojure libraries to work with Apache Kafka (producer, consumer, rebalancing, administration, and validation)." + + :vcs :git + :deploy-repositories [["releases" :clojars]] :plugins + [[lein-monolith "1.0.1"] + [lein-cprint "1.2.0"] + [lein-cljfmt "0.5.7"] + [com.roomkey/lein-v "6.1.0-cb-9-0x521a"]] :middleware [leiningen.v/version-from-scm + leiningen.v/add-workspace-data] + + :dependencies + [[org.clojure/clojure "1.8.0"]] + + :test-selectors + {:unit (complement :integration) + :integration :integration} + + :profiles {:install-for-with-all-repl {:middleware ^:replace []}} + + :monolith + {:inherit [:test-selectors + :env + :plugins + :profiles + :middleware] + + :inherit-leaky + [:dependencies + :repositories + :deploy-repositories + :managed-dependencies] + + :project-selectors + {:deployable :deployable + :unstable #(= (first (:version %)) \0)} + + :project-dirs + ["admin" + "avro" + "common" + "core" + "embedded" + "examples" + "fressian" + "json" + "mocks" + "nippy" + "transit"]} + + :release-tasks [["vcs" "assert-committed"] + ["v" "update"] ;; compute new version & tag it + ["vcs" "push"] + ["monolith" "each" "deploy"]]) + +;; release using a parameter to "lein v update" +;; +;; lein release minor +;; lein release major +;; \ No newline at end of file diff --git a/transit/project.clj b/transit/project.clj index 43b705f..4d7ded9 100644 --- a/transit/project.clj +++ b/transit/project.clj @@ -1,30 +1,30 @@ -(defproject ymilky/franzy-transit "0.0.1" - :description "A Kafka Serializer/Deserializer supporting Transit, and an add-on for Franzy, a Clojure Kafka client." - :url "https://github.com/ymilky/franzy-transit" - :author "ymilky" - :license {:name "Eclipse Public License" - :url "http://www.eclipse.org/legal/epl-v10.html"} - :repositories {"snapshots" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false} - "releases" {:url "https://clojars.org/repo" - :username :env - :password :env - :sign-releases false}} - :dependencies [[org.clojure/clojure "1.8.0"] - [org.apache.kafka/kafka-clients "0.9.0.1"] - [com.cognitect/transit-clj "0.8.285"]] - :plugins [[lein-codox "0.9.4"]] - :codox {:metadata {:doc/format :markdown} - :doc-paths ["README.md"] - :output-path "doc/api"} - :profiles {:dev {:dependencies [[midje "1.7.0"]] - :plugins [[lein-midje "3.2"] - [lein-set-version "0.4.1"] - [lein-update-dependency "0.1.2"] - [lein-pprint "1.1.1"]]} - :reflection-check {:global-vars - {*warn-on-reflection* true - *assert* false - *unchecked-math* :warn-on-boxed}}}) +(defproject clj-kafka.franzy/transit "0.0.0" + :description "A Kafka Serializer/Deserializer supporting Transit, and an add-on for Franzy, a Clojure Kafka client." + :url "https://github.com/clj-kafka.franzy/transit" + :author "ymilky" + :license {:name "Eclipse Public License" + :url "http://www.eclipse.org/legal/epl-v10.html"} + :repositories {"snapshots" {:url "https://clojars.org/repo" + :username :env + :password :env + :sign-releases false} + "releases" {:url "https://clojars.org/repo" + :username :env + :password :env + :sign-releases false}} + :dependencies [[org.clojure/clojure "1.8.0"] + [org.apache.kafka/kafka-clients "0.9.0.1"] + [com.cognitect/transit-clj "0.8.285"]] + :plugins [[lein-codox "0.9.4"]] + :codox {:metadata {:doc/format :markdown} + :doc-paths ["README.md"] + :output-path "doc/api"} + :profiles {:dev {:dependencies [[midje "1.7.0"]] + :plugins [[lein-midje "3.2"] + [lein-set-version "0.4.1"] + [lein-update-dependency "0.1.2"] + [lein-pprint "1.1.1"]]} + :reflection-check {:global-vars + {*warn-on-reflection* true + *assert* false + *unchecked-math* :warn-on-boxed}}})