Skip to content

Commit

Permalink
update groupId to "org.apache.storm"
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgoetz committed Dec 19, 2013
1 parent d9268e4 commit a2b1d5d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
;; limitations under the License.
(def VERSION (.trim (slurp "VERSION")))
(def MODULES (-> "MODULES" slurp (.split "\n")))
(def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION]))
(def DEPENDENCIES (for [m MODULES] [(symbol (str "org.apache.storm/" m)) VERSION]))

(eval `(defproject storm/storm ~VERSION
(eval `(defproject org.apache.storm/storm ~VERSION
:url "http://storm-project.net"
:description "Distributed and fault-tolerant realtime computation"
:license {:name "Eclipse Public License - Version 1.0" :url "https://github.com/nathanmarz/storm/blob/master/LICENSE.html"}
:license {:name "The Apache Software License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
:mailing-list {:name "Storm user mailing list"
:archive "https://groups.google.com/group/storm-user"
:post "storm-user@googlegroups.com"}
:archive "http://mail-archives.apache.org/mod_mbox/incubator-storm-user/"
:post "user@storm.incubator.apache.org"}
:dependencies [~@DEPENDENCIES]
:plugins [[~'lein-sub "0.2.1"]]
:min-lein-version "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion storm-console-logging/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj"))))
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp (.trim)))

(defproject storm/storm-console-logging VERSION
(defproject org.apache.storm/storm-console-logging VERSION
:resource-paths ["logback"]
:target-path "target"
:javac-options ["-target" "1.6" "-source" "1.6"]
Expand Down
2 changes: 1 addition & 1 deletion storm-core/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj"))))
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp (.trim)))

(defproject storm/storm-core VERSION
(defproject org.apache.storm/storm-core VERSION
:dependencies [[org.clojure/clojure "1.4.0"]
[commons-io "1.4"]
[org.apache.commons/commons-exec "1.1"]
Expand Down
13 changes: 7 additions & 6 deletions storm-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj"))))
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp (.trim)))
(def MODULES (-> ROOT-DIR (str "/../MODULES") slurp (.split "\n") (#(filter (fn [m] (not= m "storm-console-logging")) %)) ))
(def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION]))
(def DEPENDENCIES (for [m MODULES] [(symbol (str "org.apache.storm/" m)) VERSION]))
(println DEPENDENCIES)

;; for lib pom.xml, change the symbol to storm/storm-liba and filter out storm-console-logging from modules

(eval `(defproject storm/storm-lib ~VERSION
:url "http://storm-project.net"
(eval `(defproject org.apache.storm/storm-lib ~VERSION
:url "http://storm.incubator.apache.org"
:description "Distributed and fault-tolerant realtime computation"
:license {:name "Eclipse Public License - Version 1.0" :url "https://github.com/nathanmarz/storm/blob/master/LICENSE.html"}
:license {:name "The Apache Software License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
:mailing-list {:name "Storm user mailing list"
:archive "https://groups.google.com/group/storm-user"
:post "storm-user@googlegroups.com"}
:archive "http://mail-archives.apache.org/mod_mbox/incubator-storm-user/"
:post "user@storm.incubator.apache.org"}
:dependencies [~@DEPENDENCIES]
:min-lein-version "2.0.0"
:target-path "target"
Expand Down
4 changes: 2 additions & 2 deletions storm-netty/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj"))))
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp (.trim)))

(eval `(defproject storm/storm-netty ~VERSION
:dependencies [[storm/storm-core ~VERSION]
(eval `(defproject org.apache.storm/storm-netty ~VERSION
:dependencies [[org.apache.storm/storm-core ~VERSION]
[io.netty/netty "3.6.3.Final"]]
:java-source-paths ["src/jvm"]
:test-paths ["test/clj"]
Expand Down

0 comments on commit a2b1d5d

Please sign in to comment.