lein插件的wiki地址:https://github.com/technomancy/leiningen/wiki/Plugins
Development Tools
- configleaf Build profiles and access to project.clj at runtime. (see also 'slothcfg', an updated fork)
- hiccup-bridge Hiccup to html, html to hiccup
- lein-4clj An unofficial companion to 4clojure, a Clojure kata site.
- lein-ancient Check your projects and plugins for outdated dependencies.
- lein-annotations Displays comment annotations in your project.
- lein-aot-filter Filtering of AOT compiled class files
- lein-autoreload Reload your source in the background while running the repl.
- lein-bikeshed Notify you if your code is bad
- lein-cascade Execute cascading task dependencies
- lein-checkouts Build all dependency "checkouts" projects before the current project is build
- lein-clean-m2 Remove all artifacts from local repo not used by current project
- lein-create-template Create Leiningen templates from existing skeleton projects
- datomic-schema-grapher A library and lein plugin for graphing datomic schemas
- lein-depgraph Generate a namespace dependency graph as an svg file
- lein-diagnostics† Get diagnostic info regarding versions of libraries
- lein-exec Execute Clojure scripts in a project
- lein-expand-resource-paths Expand glob patterns in
:resource-paths
to work alongside alternative dependency managers - lein-extend-cp Adds paths to the classpath
- lein-externs Generate externs for your ClojureScript project
- lein-filegen Generate files from data and a template
- lein-gentags† Create TAGS files using etags for use in emacs code navigation
- lein-git-deps† Pull dependencies via git
- lein-git-version Middleware DRYs up versions by substituting version info found in git tags into project map.
- lein-gitify Create and initialize Github/git in your new Leiningen projects.
- lein-grep Improved repository searching built off the search subcommand.
- lein-hadoop-cluster Run Leiningen tasks with the configuration necessary to access a live Hadoop cluster.
- lein-iclojure† for running an IClojure REPL
- lein-idefiles Generate IDE files (Eclipse, IDEA) for Leiningen projects
- lein-jdk-tools Add tools.jar to the classpath
- lein-libdir Copy dependencies to a 'lib' folder in your project
- lein-localrepo Work with the local Maven repository
- lein-maven Support for maven projects in checkouts
- lein-modules An alternative to Maven multi-module projects
- lein-nevam Convert Maven pom.xml files to project.clj files
- lein-notes See inline notes from sources
- lein-ns-dep-graph Show namespace dependencies of Clojure project sources as a graph
- lein-oneoff Simplify working with one-off, single-file clojure programs
- lein-open Open any dependency or installed jar in an editor.
- lein-parent Inherit properties from a parent project
- lein-pdo Run lein tasks concurrently in parallel
- lein-project-depends† Output a project’s namespace use/require graph
- lein-repls† Launch a persistent REPL-server and use the lightweight command-line
cljsh
client to interact - lein-resource Copy files and transform using stencil
- lein-shell Run sub-processes from within Leiningen.
- lein-sub Execute tasks on sub-projects
- lein-tarsier Add a VimClojure server to your project
- lein-teamcity Add an on-the-fly stages, artifacts and tests reporting in TeamCity
- lein-thrush Feed the return value of one task into the input of another
- lein-try Try out libraries without creating a dummy project/dependency.
- lein-vanity Lines of code statistics for vanity's sake
- lein-webdav Enables uploading of deployments to webdav repos
- lein-webrepl A browser based nREPL interface
- lein-whimrepl Start a REPL session in a Vim-targetable server for use with vim-slime.
- reloadable-app Leiningen template for a new component based app implementing the reloaded workflow.
- slamhound† Reconstruct ns forms with needed :use/:require/:import clauses
- slothcfg Build profiles and access to project.clj at runtime. Updated fork of 'configleaf'.
- varspotting Count public Vars meeting certain criteria (holding functions, macros etc.)
Compilers
- lein-aggravate Aggregate & compress .css files, general file aggregation options
- lein-antlr† Generate source code from ANTLR grammars
- lein-beaver Generates source code from Beaver/JFlex grammars
- lein-cljsbuild Compile ClojureScript automatically upon modification and share code between Clojure and ClojureScript
- lein-cl2c Compile Chlorine (a subset of Clojure) and Hiccup to Javascript/HTML files
- lein-clr Automate build tasks for ClojureCLR projects on .NET and Mono
- lein-cssgenbuild Generate stylesheets from cssgen
- lein-debian Package build products and/or dependencies as Debian (.deb) packages
- lein-droid Compile Android projects
- lein-fruit Compile iOS projects
- lein-groovyc† Compile Groovy
- lein-lesscss Compile Less CSS resources.
- lein-ragel Compile Ragel sources to Java sources
- lein-scalac Compile Scala
- lein-thrift† Generating Thrift sources
- lein-thriftc Compile Thrift
Testing
- lein-autoexpect Watch project for changes and automatically run expectations
- lein-autotest† Start Lazytest's watch on your project for automatic testing on code change
- lein-clj-doc-test† Enable documentation-based testing like Python's doctest with clj-doc-test
- lein-cloverage Generate cloverage coverage reports
- lein-cucumber Run clojure-based cucumber-jvm specifications
- lein-cuke† Run Cucumber BDD tests
- lein-difftest Display diffs when a test fails
- lein-expectations Run Expectations-based tests
- lein-fail-fast† Stop testing run upon to save time in CI situations
- lein-guzheng Branch coverage analysis usable with any testing framefork
- lein-junit Run JUnit tests
- lein-midje Run Midje tests
- lein-pjotest Run test namespaces in parallel with JUnit XML output
- lein-play Play a different sound at the end of your test runs depending on whether they pass or fail
- lein-prism Auto-reload and rerun tests, works with vanilla clojure.test unlike the others mentioned here.
- lein-test-bang-bang Run each test namespace in a separate JVM
- lein-test-from Run your test namespaces, starting from a particular namespace
- lein-test-out† Run all tests and outputs to a file in junit XML or TAP format
- lein-test-refresh Watch project for changes and automatically reload namespaces and run
clojure.test
tests. - perforate Painless benchmarking with Leiningen and Criterium
- quickie Autotest clojure.test files. Filters stacktraces to skip over some of the clojure cruft.
- speclj (pronounced “speckle”) TDD/BDD framework, with auto-runner, based on rspec
- test2junit Write test results to JUnit XML format suited for creating HTML reports. Allows automation of report generation as well.
Deployment
- lein-beanstalk Deploy to AWS Elastic Beanstalk
- lein-bin Generate cross-platform standalone executables of your project
- lein-cloudbees Deploy clojure apps to cloudbees
- lein-condor† Execute Clojure code on a Condor cluster
- lein-daemon Run app as a daemon
- lein-deploy-deps Deploy project dependencies to a remote repository
- lein-dist Create a standalone tarball of your project source and dependencies
- lein-emr Create jobflows on Amazon Elastic MapReduce.
- lein-hadoop† Generate a jar containing nested libs as required for hadoop jobs
- lein-immutant Manage and deploy applications to an Immutant server
- leiningen-init-script† Generate **NIX daemon scripts for your project
- lein-init-script Generate **NIX daemon scripts for your project
- lein-otf Create non-AOT uberjars
- lein-package Allows for the packaging, installing, and deploying of artifacts besides jars, or multiple artifact projects.
- lein-ping Leiningen plugin that pings websites/urls.
- lein-release Bumps your version number and deploys
- lein-runproject Run any project's -main function directly from the repository
- lein-s3-static-deploy Deploy a local directory as a static website on s3
- lein-set-version Sets the version number in your project.clj
- lein-sha-version Middleware to set the project version based on git SHA
- lein-sitemap Plugin for resubmitting sitemaps to Google Webmaster Tools.
- lein-tar Create a tarball of your project and its dependencies, formerly lein-release
- pallet-lein† Launch nodes and deploy "crate" packages to the cloud
- lein-heroku-deploy Simplify your Heroku deploy
- lein-jelastic Deploy to Jelastic
- lein-aws A leiningen plugin to interact with Amazon Web Services
- lein-version-spec Set the version number of your project according to rules
- lein-worker Upload worker jars to IronWorker
Web
- lein-axis† Generate Apache Axis stubs from a WSDL file
- lein-beanstalk Deploy to Amazon’s Elastic Beanstalk service
- lein-conjure† Create a Conjure project and run it
- lein-gaeshi Google App Engine webs apps using Joodo.
- lein-gwt† Run the Google Web Toolkit compiler
- lein-gwt-plugin Runs and compiles GWT applications
- lein-httpd Start a web server in the current directory.
- lein-joodo Simple web app library. Tasks to create, test, generate, your code.
- lein-ring Work with web applications using Ring
- lein-s3-static-deploy Deploy a local directory as a static website on s3
- lein-servlet Work with servlet-based webapps
- lein-simpleton Serve files via http out of a local directory.
- lein-misaki Helps you building web sites using the Misaki static site generator
- lein-bower Bower web lib dependency management
- lein-karma Runs JavaScript tests with Karma
- lein-protractor Runs AngularJS e2e tests with Protractor
- touchme Touch files when html (by example) files are modified. Can be used to update enlive templates.
- hiccup-watch Watches for changes in your Hiccup (edn (HTML)) source files.
- garden-watch Watches for changes in your Garden (edn (CSS)) source files.
Databases
- lein-flyway† Run Flyway database migrations
- lein-lb† Database migrations using Clj-Liquibase
- datomic-schema-grapher A library and lein plugin for graphing datomic schemas
- drift Create and run Rails like database migrations in Clojure
- clj-sql-up A simple plugin for running SQL database migrations
- lein-embongo Create a managed/embedded instance of MongoDB during a lein build (e.g. for integration testing).
- lein-dbmaintain DbMaintain integration for Leiningen
Documentation
- cloc Generate API docs for your project and dependencies and serve them through a local web server, with a fast Lucene full-text search.
- codox A tool for generating API documentation from Clojure source code. (html)
- lein-autodoc† Generate autodoc documentation
- lein-clique Generate a graph of dependencies between the functions in your project
- lein-docbkx† Render Docbook XML documents as PDF, EPUB, HTML etc. using Docbkx-tools
- lein-html5-docs Generate HTML5 API docs
- lein-javadoc Automatically run javadoc on the java sources in your project
- lein-licenses List licenses of all dependencies
- lein-margauto Watches your source directories for changes to your clojure source files and rebuilds the Marginalia documentation whenever you update your source code
- lein-marginalia Generate Marginalia documentation
- lein-mustache Evaluate Mustache templates with Clojure data files (e.g. for creating templatized documentation)
- lein-precate Transform project.clj into Leiningen 2.x-compatible form.
- lein-sphinx Generate documentation from reStructuredText using Sphinx.
- nephila Show a graph of your Clojure namespaces
Deprecated
- fw1-template Create FW/1 projects (use
lein new fw1 myapp
instead) - lein-clojars Deploy to Clojars (use
lein deploy clojars
instead) - lein-eclipse† Create Eclipse project descriptor files (use recent CounterClockwise)
- lein-heroku Generate and manage Heroku apps (use https://toolbelt.herokuapp.com instead)
- lein-idea Generates Intellij IDEA project files
- lein-midje-lazytest Run Midje/Clojure tests on top of lazytest (Just a meta-package!)
- lein-nailgun† Launch a vimclojure nailgun server (use lein-tarsier)
- lein-noir Create and manage Noir projects (use
new
task) - lein-outdated List newer available versions of dependencies (use lein-ancient instead)
- lein-swank Launch a Swank server for Emacs integration (nrepl or ritz is recommended)
- leiningen-war† Create WAR files for use in servlet containers (use lein-ring)
- radagast† Get simplistic test coverage (use guzheng)
Merged into Leiningen
- lein-javac For compiling Java source (1.4+)
- lein-multi Run tasks against multiple dependency sets (such as multiple Clojure versions) at once (2.0+)
- lein-newnew Next-generation
lein new
supporting custom project skeletons (2.0+) - lein-plugin Manage plugins (1.4+)
- lein-retest Run only the test namespaces which failed last time around (1.6+)
- lein-run Call -main functions from the command-line (1.4+)
- lein-search Search remote repositories for artifacts (1.6+)