A Leiningen plugin to collect dependencies in the fantasy format called BOM.
Check out this repository and, from within the root directory of this project, run:
$ lein install
Then, in the project you want to generate a BOM for, run:
$ lein bom
If you want to explicitly ignore some dependencies, you can specify them as
arguments after the call to lein bom.
Example: If you want to ignore org.clojure/clojure and
org.clojure/clojurescript in the output, run
$ lein bom org.clojure/clojure org.clojure/clojurescript
This will hopefully generate bom.json -- this file contains the bom entries
for this project.
Only dependencies that are specified in the project's project.clj under
:dependencies will be included.
profiles.cljThe leiningen internals always include everything specified in your
profiles.clj (on MacOS and probably Linux, this is found under
~/.lein/profiles.cljs) under :dependencies.
If you want to have the pure output from this tool, you need to temporarily
remove all :dependencies from our profiles.clj.
In the future, perhaps we will find a way around this.
Copyright © 2021 Active Group GmbH
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |