Skip to content

Commit

Permalink
added overarching project.clj / starting to use lein-monolith/lein-v …
Browse files Browse the repository at this point in the history
…combination to orchestrate the different subprojects. Still WIP, got some errors running "lein monolith each do clean, check, install".
  • Loading branch information
Dr. Christian Betz committed Sep 8, 2017
1 parent 716484d commit c34e0a4
Show file tree
Hide file tree
Showing 20 changed files with 329 additions and 328 deletions.
8 changes: 4 additions & 4 deletions admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down
61 changes: 27 additions & 34 deletions admin/project.clj
Original file line number Diff line number Diff line change
@@ -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}}})
4 changes: 2 additions & 2 deletions avro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
54 changes: 24 additions & 30 deletions avro/project.clj
Original file line number Diff line number Diff line change
@@ -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}}})
4 changes: 2 additions & 2 deletions common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
52 changes: 22 additions & 30 deletions common/project.clj
Original file line number Diff line number Diff line change
@@ -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}}})
54 changes: 26 additions & 28 deletions core/project.clj
Original file line number Diff line number Diff line change
@@ -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}}})
2 changes: 1 addition & 1 deletion embedded/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
64 changes: 29 additions & 35 deletions embedded/project.clj
Original file line number Diff line number Diff line change
@@ -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}}})
Loading

0 comments on commit c34e0a4

Please sign in to comment.