Skip to content
This repository
Newer
Older
100644 285 lines (279 sloc) 16.579 kb
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
1 ;; This is an annotated example of the options that may be set in a
2 ;; project.clj file. It is a fairly contrived example in order to
3 ;; cover all options exhaustively; it shouldn't be considered a
19b44647 »
2010-12-24 Rework some of sample.project.clj.
4 ;; representative configuration. For a more detailed explanation of
5 ;; some of the terms run "lein help tutorial".
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
6
14f566bd »
2012-05-23 Spin FAQ off into its own page.
7 ;; These options apply to Leiningen 2.x. See the 1.x branch for older versions:
8 ;; https://github.com/technomancy/leiningen/blob/1.x/sample.project.clj
9
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
10 ;; The project is named "sample", and its group-id is "org.example".
11 (defproject org.example/sample "1.0.0-SNAPSHOT" ; version "1.0.0-SNAPSHOT"
3e7f75ee »
2010-06-24 Mention unquote in sample.project.clj
12 ;; Beyond this point you may prepend a form with unquote, or ~, to eval it.
13
19b44647 »
2010-12-24 Rework some of sample.project.clj.
14 ;; The descrption text is searchable from repositories like Clojars.
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
15 :description "A sample project"
16 :url "http://example.org/sample-clojure-project"
3b445493 » michalmarczyk
2010-06-17 Documented :mailing-list and :license in sample.project.clj.
17 ;; The mailing list of the project. If the project has multiple mailing
18 ;; lists, use the :mailing-lists key (bound to a seq of mailing list
19 ;; descriptions as below).
20 :mailing-list {:name "sample mailing list"
21 :archive "http://example.org/sample-mailing-list-archives"
c43ee751 »
2010-07-12 Trim long lines.
22 :other-archives ["http://example.org/sample-list-archive2"
23 "http://example.org/sample-list-archive3"]
3b445493 » michalmarczyk
2010-06-17 Documented :mailing-list and :license in sample.project.clj.
24 :post "list@example.org"
25 :subscribe "list-subscribe@example.org"
26 :unsubscribe "list-unsubscribe@example.org"}
27 ;; The project's license. :distribution should be :repo or :manual;
28 ;; :repo means it is ok for public repositories to host this project's
19b44647 »
2010-12-24 Rework some of sample.project.clj.
29 ;; artifacts. A seq of :licenses is also supported.
3b445493 » michalmarczyk
2010-06-17 Documented :mailing-list and :license in sample.project.clj.
30 :license {:name "Eclipse Public License - v 1.0"
31 :url "http://www.eclipse.org/legal/epl-v10.html"
32 :distribution :repo
33 :comments "same as Clojure"}
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
34 ;; Dependencies are listed as [group-id/name version].
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
35 :dependencies [[org.clojure/clojure "1.3.0"]
7c82e59a »
2012-04-09 Mention new `:dependencies` settings in sample.project.clj. Fixes #501.
36 [org.jclouds/jclouds "1.0" :classifier "jdk15" :scope "test"]
a8c06fbc » xeqi
2012-03-29 Change :type to :extension in sample. Fixes #457
37 [net.sf.ehcache/ehcache "2.3.1" :extension "pom"]
7c82e59a »
2012-04-09 Mention new `:dependencies` settings in sample.project.clj. Fixes #501.
38 [log4j "1.2.15" :exclusions [[javax.mail/mail :extension "jar"]
39 [javax.jms/jms :classifier "*"]
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
40 com.sun.jdmk/jmxtools
41 com.sun.jmx/jmxri]]]
ac9f135c » joegallo
2011-03-11 Add global :exclusions
42 ;; Global exclusions are applied across the board, as an alternative
43 ;; to duplication for multiple depedencies with the same excluded libraries.
44 :exclusions [org.apache.poi/poi
45 org.apache.poi/poi-ooxml]
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
46 ;; Plugins are code that runs in Leiningen itself and usually
47 ;; provides new tasks or hooks.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
48 :plugins [[lein-pprint "1.1.1"]
c7f78676 »
2012-05-03 Clarify that :extensions aren't used by Leiningen. Fixes #555.
49 [lein-assoc "0.1.0"]
ff5524bd » ninjudd
2012-08-23 support disabling autoload of plugin hooks and middleware
50 [s3-wagon-private "1.1.1"]
51 [lein-foo "0.0.1" :hooks false]
52 [lein-bar "0.0.1" :middleware false]]
2a089a13 »
2012-06-01 Document :certificates.
53 ;; If you configure a custom repository with a self-signed SSL
54 ;; certificate, you will need to add it here. Paths should be either
55 ;; be on Leiningen's classpath or relative to the project root.
56 :certificates ["blueant.pem"]
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
57 ;; Each active profile gets merged into the project map. The :dev
58 ;; and :user profiles are active by default, but the latter should be
59 ;; looked up in ~/.lein/profiles.clj rather than set in project.clj.
60 ;; Use the with-profiles higher-order task to run a task with a
61 ;; different set of active profiles.
dff9a6cf »
2012-05-24 Spin off separate profile guide from readme/tutorial.
62 ;; See `lein help profiles` for a detailed explanation.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
63 :profiles {:dev {:resource-paths ["dummy-data"]
64 :dependencies [[clj-stacktrace "0.2.4"]]}
65 :debug {:debug true
21d9917a »
2012-03-28 Now :project-init is redundant with :injections.
66 :injections [(prn (into {} (System/getProperties)))]}
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
67 :1.4 {:dependencies [[org.clojure/clojure "1.4.0-alpha1"]]}}
7c82e59a »
2012-04-09 Mention new `:dependencies` settings in sample.project.clj. Fixes #501.
68 ;; Support project-specific task aliases. These are interpreted in
69 ;; the same way as command-line arguments to the lein command. If
70 ;; the alias points to a vector, it uses partial application. For
71 ;; example, "lein with-magic run -m hi.core" would be equivalent to
a6a8695a » joegallo
2012-07-27 Document how commas are treated.
72 ;; "lein assoc :magic true run -m hi.core". Remember, commas are not
73 ;; considered to be special by argument parsers, they're just part
74 ;; of the preceding argument.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
75 :aliases {"launch" "run"
96507dc9 » joegallo
2012-07-27 Add test! back as an example alias.
76 "dumbrepl" ["trampoline" "run" "-m" "clojure.main/main"]
77 "test!" ["do" "clean," "deps," "test"]}
7c82e59a »
2012-04-09 Mention new `:dependencies` settings in sample.project.clj. Fixes #501.
78 ;; Normally Leiningen runs the javac and compile tasks before
79 ;; calling any eval-in-project code, but you can override this with
80 ;; the :prep-tasks key to do other things like compile protocol buffers.
68f1b075 » Anthony Marcar
2012-07-08 updated prep-tasks doco
81 :prep-tasks [["protobuf" "compile"] "javac" "compile"]
a4667096 »
2010-08-23 Minor cleanup of :min-lein-version functions.
82 ;; Warns users of earlier versions of Leiningen.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
83 :min-lein-version "2.0.0"
60a8ed82 »
2011-07-05 Clarify :checkout-deps-shares in sample.project.clj.
84 ;; Paths to include on the classpath from each project in the
85 ;; checkouts/ directory. (See the FAQ in the Readme for more details
86 ;; about checkout dependencies.) Set this to be a vector of
87 ;; functions that take the target project as argument. Defaults to
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
88 ;; [:source-paths :compile-path :resource-paths], but you could use
60a8ed82 »
2011-07-05 Clarify :checkout-deps-shares in sample.project.clj.
89 ;; the following to share code from the test suite:
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
90 :checkout-deps-shares [:source-paths :test-paths
60a8ed82 »
2011-07-05 Clarify :checkout-deps-shares in sample.project.clj.
91 ~(fn [p] (str (:root p) "/lib/dev/*"))]
d590f0ca »
2012-08-22 Trim long lines in sample.project.clj.
92 ;; Load these namespaces from within Leiningen to pick up hooks from them.
b5cb0cb5 »
2010-07-30 Don't load hooks unless they're specified in project.clj.
93 :hooks [leiningen.hooks.difftest]
683bdff9 » michaelklishin
2012-07-25 Correct :test-selectors example
94 ;; Predicates to determine whether to run a test or not, take test metadata
95 ;; as argument. See Leiningen tutorial for more information.
96 :test-selectors {:default (fn [m] (not (or (:integration m) (:regression m))))
ab0b885a »
2010-11-24 Mention :test-selectors in sample.project.clj.
97 :integration :integration
98 :regression :regression}
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
99 ;; These namespaces will be AOT-compiled. Needed for gen-class and
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
100 ;; other Java interop functionality. Put a regex here to compile all
101 ;; namespaces whose names match.
15ff6b11 »
2011-01-24 A few doc changes.
102 :aot [org.example.sample]
d590f0ca »
2012-08-22 Trim long lines in sample.project.clj.
103 ;; The -main function in this namespace will be run at launch
104 ;; (either via `lein run` or from an uberjar). It should be variadic:
ecfbac67 » michaelklishin
2012-07-31 Minor improvements to sample.project.clj, closes #710
105 ;;
f66c7474 » michaelklishin
2012-07-31 Mention :gen-class, references #710
106 ;; (ns my.service.runner
107 ;; (:gen-class))
108 ;;
ecfbac67 » michaelklishin
2012-07-31 Minor improvements to sample.project.clj, closes #710
109 ;; (defn -main
110 ;; "Application entry point"
111 ;; [& args]
112 ;; (comment Do app initialization here))
113 ;;
e7dadcd7 »
2012-08-01 Remove commented-out shell wrapper remainders.
114 ;; Set :skip-aot metadata on this symbol to use it for other things like the
115 ;; run task without triggering AOT if you don't need an executable uberjar.
ecfbac67 » michaelklishin
2012-07-31 Minor improvements to sample.project.clj, closes #710
116 :main my.service.runner
c6697f76 » dakrone
2012-04-10 Collapse all repl-* options into :repl-options map
117 ;; Options to change the way the REPL behaves
b48eec97 » trptcolin
2012-04-11 Handle starting in a different ns
118 :repl-options {;; Specify the string to print when prompting for input.
119 ;; defaults to something like (fn [ns] (str *ns* "=> "))
120 :prompt (fn [ns] (str "your command for <" ns ">, master? " ))
121 ;; Specify the ns to start the REPL in (overrides :main in
122 ;; this case only)
123 :init-ns foo.bar
124 ;; This expression will run when first opening a REPL, in the
125 ;; namespace from :init-ns or :main if specified
126 :init (println "here we are in" *ns*)
c6697f76 » dakrone
2012-04-10 Collapse all repl-* options into :repl-options map
127 ;; Customize the socket the repl task listens on and
128 ;; attaches to.
129 :host "0.0.0.0"
130 :port 4001
131 ;; If nREPL takes too long to load it may timeout,
132 ;; increase this to wait longer before timing out.
133 ;; Defaults to 30000 (30 seconds)
dbb7ca8d » cemerick
2012-08-22 * upgrade to nREPL 0.2.0-beta9
134 :timeout 40000
135 ;; nREPL server customization
136 ;; Only one of #{:nrepl-handler :nrepl-middleware}
137 ;; may be used at a time
138 ;; Use a different server-side nREPL handler
139 :nrepl-handler (clojure.tools.nrepl.server/default-handler)
140 ;; Add server-side middleware to nREPL stack
d590f0ca »
2012-08-22 Trim long lines in sample.project.clj.
141 :nrepl-middleware [my.nrepl.thing/wrap-amazingness
142 ;; TODO: link to more detailed documentation
dbb7ca8d » cemerick
2012-08-22 * upgrade to nREPL 0.2.0-beta9
143 ;; middleware without appropriate metadata
144 ;; (see clojure.tools.nrepl.middleware/set-descriptor!
145 ;; for details) will simply be appended to the stack
146 ;; of middleware (rather than ordered based on its
147 ;; expectations and requirements)
148 (fn [handler]
149 (fn [& args]
150 (prn :middle args)
151 (apply handler args)))]}
21d9917a »
2012-03-28 Now :project-init is redundant with :injections.
152 ;; Forms to prepend to every form that is evaluated inside your project.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
153 ;; Allows working around the Gilardi Scenario: http://technomancy.us/143
21d9917a »
2012-03-28 Now :project-init is redundant with :injections.
154 :injections [(require 'clojure.pprint)]
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
155 ;; Emit warnings on all reflection calls.
156 :warn-on-reflection true
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
157 ;; Set this in order to only use the :repositories you list below.
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
158 :omit-default-repositories true
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
159 ;; These repositories will be searched for :dependencies and
160 ;; :plugins and will also be available to deploy to.
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
161 :repositories [["java.net" "http://download.java.net/maven/2"]
162 ["sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
163 ;; If a repository contains releases only setting
164 ;; :snapshots to false will speed up dependencies.
165 :snapshots false
166 ;; You can also set the policies for how to handle
167 ;; :checksum failures to :fail, :warn, or :ignore.
168 :checksum :fail
169 ;; How often should this repository be checked
170 ;; for updates? (:daily, :always, or :never)
171 :update :always
172 ;; You can also apply them to releases only:
173 :releases {:checksum :fail :update :always}}]
fc7ad701 »
2011-04-11 Add more :repositories settings details to sample project.clj.
174 ;; Repositories named "snapshots" and "releases" automatically
175 ;; have their :snapshots and :releases disabled as appropriate.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
176 ;; Credentials for repositories should *not* be stored
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
177 ;; in project.clj but in ~/.lein/credentials.clj.gpg instead,
178 ;; see `lein help deploying` under "Authentication".
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
179 "snapshots" "http://blueant.com/archiva/snapshots"
674b4d52 »
2012-06-01 Replace :env values in :repositories with lookups from environment.
180 "releases" {:url "http://blueant.com/archiva/internal"
181 ;; Using :env as a value here will cause an
182 ;; enironment variable to be used based on
183 ;; the key; in this case LEIN_PASSWORD.
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
184 :username "milgrim" :password :env}]
c9a89f2f » jeremyheiler
2012-08-18 Allow for plugin specific repositories with :plugin-repositories.
185 ;; These repositories will be included with :repositories when loading plugins.
186 ;; This would normally be set in a profile for non-public repositories.
187 ;; All the options are the same as in the :repositories map.
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
188 :plugin-repositories [["internal-plugin-repo" "http://example.org/repo"]]
176bcf5e »
2012-05-11 Add :update support at the top-level of the project map.
189 ;; You can set :update and :checksum policies here to have them
7d641026 »
2012-05-11 Allow :checksum policy to be set at the top-level of project.clj as w…
190 ;; apply for all :repositories. Usually you will not set :update
176bcf5e »
2012-05-11 Add :update support at the top-level of the project map.
191 ;; directly but apply the "update" profile instead.
192 :update :always
b889a8b5 » michaelklishin
2012-07-27 A better default/example
193 :checksum :fail
bd6959c3 » cemerick
2011-09-15 Add support for :deploy-repositories slot for deployment-only reposit…
194 ;; the deploy task will give preference to repositories specified in
195 ;; :deploy-repositories, and repos listed there will not be used for
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
196 ;; dependency resolution.
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
197 :deploy-repositories [["releases" "http://blueant.com/archiva/internal/releases"]
198 ["snapshots" "http://blueant.com/archiva/internal/snapshots"]]
a32abdf5 »
2012-06-25 Plumb through mirror support to pomegranate. Fixes #271.
199 ;; Fetch dependencies from mirrors. Mirrors override repositories when the key
200 ;; in the :mirrors map matches either the name or URL of a specified
201 ;; repository. All settings supported in :repositories may be set here too.
202 :mirrors {"central" {:name "Ibiblio"
203 :url "http://mirrors.ibiblio.org/pub/mirrors/maven2"}
204 #"clojars" {:name "Internal nexus"
205 :url "http://mvn.local/nexus/releases"
206 :repo-manager true}}
a62ff253 »
2012-03-06 Update sample, readme, todo.
207 ;; Prevent Leiningen from checking the network for dependencies.
208 ;; This wouldn't normally be set in project.clj; it would come from a profile.
209 :offline? true
b5a193d3 »
2012-08-23 Switch :repositories to vector format to preserve ordering.
210 ;; Override location of the local maven repository. Relative to project root.
211 :local-repo "local-m2"
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
212 ;; If you'd rather use a different directory structure, you can set these.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
213 ;; Paths that contain "inputs" are vectors, "outputs" are strings.
214 :source-paths ["src" "src/main/clojure"]
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
215 :java-source-paths ["src/main/java"] ; Java source is stored separately.
4ef309b4 »
2012-03-05 Update sample.project.clj for 2.0.0-preview.
216 :test-paths ["test" "src/test/clojure"]
217 :resource-paths ["src/main/resource"] ; non-code files included in classpath/jar
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
218 :compile-path "target/classes" ; for .class files
39a6b2c6 »
2012-03-31 Remove Clojure 1.2 from bootclasspath in lein.bat. Might fix #486.
219 :native-path "src/native" ; where to extract native dependencies
5458e659 » dysinger
2012-03-24 Make the sample file match the code
220 :target-path "target/" ; where to place the project's jar file
18becb7a »
2011-04-22 Add :extra-classpath-dirs to project classpaths.
221 :jar-name "sample.jar" ; name of the jar produced by 'lein jar'
ae72f2db » michalmarczyk
2010-06-24 Documented :jar-name & :uberjar-name in sample.project.clj.
222 :uberjar-name "sample-standalone.jar" ; as above for uberjar
745a7a63 » michaelklishin
2012-07-14 Update sample.project.clj to use the new `:javac-options` format
223 ;; Options to pass to java compiler for java source,
224 ;; exactly the same as command line arguments to javac
225 :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
226 ;; Leave the contents of :source-paths out of jars (for AOT projects)
0e189a8d »
2010-08-16 Add :omit-source option to leave files in :source-path out of jars.
227 :omit-source true
acc9a828 »
2010-09-23 Specify what file patterns to exclude from jars. Thanks to Zehua Liu.
228 ;; Files with names matching any of these patterns will be excluded from jars
229 :jar-exclusions [#"(?:^|/).svn/"]
2bda774e »
2010-11-20 Add :uberjar-exclusions to project.clj.
230 ;; Same thing, but for uberjars.
231 :uberjar-exclusions [#"META-INF/DUMMY.SF"]
03d66321 »
2012-04-03 Document :filespecs in sample project.clj.
232 ;; Add arbitrary jar entries. Supports :path, :paths, :bytes, and :fn types.
233 :filespecs [{:type :path :path "config/base.clj"}
234 ;; directory paths are included recursively
235 {:type :paths :paths ["config/web" "config/cli"]}
236 ;; programmatically-generated content can use :bytes
237 {:type :bytes :path "project.clj"
238 ;; strings or byte arrays are accepted
239 :bytes ~(slurp "project.clj")}
240 ;; :fn filespecs take the project as an argument and
241 ;; should return a filespec map of one of the other types.
242 {:type :fn :fn (fn [p]
243 {:type :bytes :path "git-log"
244 :bytes (:out (clojure.java.shell/sh
245 "git" "log" "-n" "1"))})}]
09662298 »
2010-08-08 Clean up make-manifest. Fixes #46.
246 ;; Set arbitrary key/value pairs for the jar's manifest.
0016f04e »
2012-04-30 Allow :manifest entries to contain functions.
247 :manifest {"Project-awesome-level" "super-great"
248 ;; function values will be called with the project as an argument.
249 "Class-Path" ~#(clojure.string/join
36542286 »
2012-04-30 Use space in sample for classpath.
250 \space
0016f04e »
2012-04-30 Allow :manifest entries to contain functions.
251 (leiningen.core.classpath/get-classpath %))
252 ;; symbol values will be resolved to find a function to call.
253 "Grunge-level" my.plugin/calculate-grunginess}
915e61a8 »
2010-06-05 Add sample.project.clj showing all honored project keys.
254 ;; You can set JVM-level options here.
f732bfee »
2010-10-24 Support :eval-in-leiningen key in project.clj for plugins.
255 :jvm-opts ["-Xmx1g"]
6e5dee86 »
2012-04-10 Update sample.project.clj docs.
256 ;; Control the context in which your project code is evaluated.
257 ;; Defaults to :subprocess, but can also be :leiningen (for plugins)
258 ;; or :classloader (experimental) to avoid starting a subprocess.
259 :eval-in :leiningen
c2637834 »
2012-06-15 Turn :bootclasspath off by default; too many issues for now.
260 ;; Enable bootclasspath optimization. This improves boot time but interferes
2f2bd69b »
2012-06-14 Fix tests for bootclasspath.
261 ;; with using things like pomegranate at runtime and using Clojure 1.2.
c2637834 »
2012-06-15 Turn :bootclasspath off by default; too many issues for now.
262 :bootclasspath true
07a755c8 » gmwils
2011-11-04 Add :parent to sample.project.clj
263 ;; Set parent for working with in a multi-module maven project
ef2b0f0b » xeqi
2012-01-19 Copy pom.xml generation from depot
264 :parent [org.example/parent "0.0.1" :relative-path "../parent/pom.xml"]
c7f78676 »
2012-05-03 Clarify that :extensions aren't used by Leiningen. Fixes #555.
265 ;; Extensions here will be propagated to the pom but not used by Leiningen.
ef2b0f0b » xeqi
2012-01-19 Copy pom.xml generation from depot
266 :extensions [[org.apache.maven.wagon/wagon-webdav "1.0-beta-2"]
0bd7ab2a » winks
2012-06-20 Add :scm to sample.project.clj (#640)
267 [foo/bar-baz "1.0"]]
5d40f19c »
2012-07-26 Add environment variables reference to the bottom of sample.project.clj.
268 ;; Include <scm> tag in generated pom.xml file. All key/value pairs
269 ;; appear exactly as configured. If absent, Leiningen will try to
270 ;; use information from a .git directory.
b08c7c5f » Esa Laine
2012-08-01 add :pom-addtion example
271 :scm {:name "git" :tag "098afd745bcd" :url "http://127.0.0.1/git/my-project"}
272
273 ;; include arbitrary xml in generated pom.xml file
d590f0ca »
2012-08-22 Trim long lines in sample.project.clj.
274 :pom-addition [:developers [:developer [:name "My Name"]]])
5d40f19c »
2012-07-26 Add environment variables reference to the bottom of sample.project.clj.
275
276 ;;; Environment Variables used by Leiningen
277
278 ;; JAVA_CMD - executable to use for java(1)
279 ;; JVM_OPTS - extra options to pass to the java command
280 ;; DEBUG - increased verbosity
281 ;; LEIN_SNAPSHOTS_IN_RELEASE - allow releases to depend on snapshots
e7474a84 »
2012-07-27 Update env var reference.
282 ;; LEIN_REPL_HOST - interface on which to connect to nREPL server
283 ;; LEIN_REPL_PORT - port on which to start or connect to nREPL server
5d40f19c »
2012-07-26 Add environment variables reference to the bottom of sample.project.clj.
284 ;; http_proxy - host and port to proxy HTTP connections through
e7474a84 »
2012-07-27 Update env var reference.
285 ;; http_no_proxy - pipe-separated list of hosts which may be accessed directly
Something went wrong with that request. Please try again.