Commit graph

185 commits

Author SHA1 Message Date
Nelson Morris
2d71d28904 Pom output handles dev dependencies that overlap standard deps
Fixes #500
2012-04-05 13:48:30 -05:00
Nelson Morris
3076100706 Handle global exclusions in all dependency cases. Fixes #498
Also remove global exclusion handling in pom generation, otherwise
it would generate 2 exclusion tags.
2012-04-04 19:02:54 -05:00
Nelson Morris
9d046a83b7 Handle exclusion vector better for pom generation
treat [name name2] the same as [[name] [name2]].
2012-04-03 20:53:16 -05:00
Phil Hagelberg
7f5e2b1a94 Support :fn in :filespecs for arbitrary additions to jar. 2012-04-03 11:36:13 -07:00
Phil Hagelberg
bc91b8d731 Fix deps :tree test. 2012-04-02 11:50:46 -07:00
Phil Hagelberg
0babb90b05 Translate nonzero exit codes into exceptions. Fixes #493. 2012-04-02 11:12:36 -07:00
Phil Hagelberg
404d37f499 Temporarily disable test that relies on exit codes.
Once #493 is implemented, we can re-enable this test.
2012-04-02 10:32:20 -07:00
Nelson Morris
bbb2e37cfe Poms generate dependency options. Fixes #483
Helps with #457
2012-03-30 13:13:41 -05:00
Nelson Morris
cdc3ad14f4 Pom adds dev and test dependencies scoped 2012-03-30 13:13:41 -05:00
Nelson Morris
b4770d03c0 Pom generation profile handling; Add java-source-paths
1) add java-source-paths; #474.
2) make some good tests
3) remove :test :dev and :default profiles for maven info
4) use :test, :dev, :default profiles for test info
2012-03-30 13:13:41 -05:00
Nelson Morris
d633fad0b6 Let deps :tree print a dependency tree 2012-03-22 22:27:16 -05:00
Phil Hagelberg
556f4b87e6 Switch from :busted test tagging to :post-preview. 2012-03-16 12:14:01 -07:00
Phil Hagelberg
37483b487b Add :offline test selector. 2012-03-16 11:57:35 -07:00
Phil Hagelberg
32c1a21b6a Don't use abort as a side-effect. 2012-03-16 11:57:34 -07:00
Nelson Morris
557cdde580 Pretty-print pom.xml. Fixes #429. 2012-03-14 07:41:39 -05:00
Michael S. Klishin
c7b92d1b78 One more test case for the lein new task, includes artifact group in project name 2012-03-12 08:11:40 +04:00
Anthony Grimes
82df67b959 Add a failing test for overlapped sourcepaths. 2012-03-06 15:58:14 -06:00
Phil Hagelberg
532496a1ab Merge branch '1.x'
Conflicts:
	.gitignore
	README.md
	bin/lein
	project.clj
	src/leiningen/compile.clj
	src/leiningen/core.clj
	src/leiningen/help.clj
	src/leiningen/jar.clj
	src/leiningen/repl.clj
	test/leiningen/test/deps.clj
	test/leiningen/test/help.clj
	todo.org
2012-03-04 21:22:20 -08:00
Phil Hagelberg
71874208f3 Move normalization out of defproject into top-level comp. 2012-03-01 11:17:40 -08:00
Nelson Morris
a102f1fd26 Set classifier in pom. Fixes #349 2012-02-22 22:56:27 -06:00
Chas Emerick
140e99c8e6 tweak test so that we *actually* fix gh-413. 2012-02-21 14:53:36 -05:00
Phil Hagelberg
7d8dca635d Use ordered maps for :dependencies and :repositories. Fixes #400. 2012-02-19 22:10:09 -08:00
Phil Hagelberg
59fe078991 Fix compilation test for numeric eval-in-project return values. 2012-02-13 21:11:11 -08:00
Phil Hagelberg
f08c484a8c Fix compile tests. 2012-02-08 23:38:35 -08:00
Phil Hagelberg
c11a3a83c0 Absolutize paths in :without-profiles project map as well. 2012-02-08 00:18:31 -08:00
Phil Hagelberg
e07a6fe108 Remove dummy leiningen.core namespace. 2012-02-07 18:15:12 -08:00
Nelson Morris
09483ed64d Update pomegranate; all repo/dependency options should work 2012-02-01 21:20:20 -06:00
Nelson Morris
1c5babe984 Fix jar task with jar-inclusions 2012-02-01 06:39:10 -06:00
Nelson Morris
8baf33ec80 Update deploy task 2012-01-22 22:41:47 -06:00
Nelson Morris
7ff1e2ed43 Update install task 2012-01-22 22:41:47 -06:00
Nelson Morris
39892e19fa Update uberjar for new api 2012-01-22 22:41:47 -06:00
Nelson Morris
ef2b0f0b9b Copy pom.xml generation from depot
Take some code from depot
Take the git scm code from lein 1.x
Update sample.project.clj with multiple source/test directories and extensions
Creates a similiar pom for sample.project.clj as lein 1.x
Use build-helper-maven-plugin for multiple source directories
2012-01-22 22:41:47 -06:00
Phil Hagelberg
d4e86d2a81 Derp; duplicate set key. 2012-01-17 20:33:34 -08:00
Phil Hagelberg
b43cdea3a8 Fix "lein new" tests to not care about order on disk. 2012-01-17 20:29:54 -08:00
Phil Hagelberg
92dfe67a85 Re-enable ci for master branch. 2012-01-17 20:08:19 -08:00
Phil Hagelberg
e50ee1ba4e Fix tests for main in leiningen-core. 2012-01-17 20:08:06 -08:00
Phil Hagelberg
d8190b1cb7 Move -main to leiningen.core.main. 2012-01-15 20:20:02 -08:00
Phil Hagelberg
1fee69f7b3 Update bootstrapping instructions, remove old lein.util.* references. 2012-01-12 18:05:00 -08:00
Phil Hagelberg
03e462cdec Re-enable tests targeted for preview. 2012-01-10 23:26:50 -08:00
Phil Hagelberg
64c381c001 Remove deprecated util namespaces (except ns; still needs work). 2012-01-10 23:25:08 -08:00
Phil Hagelberg
a749666bb7 Fix help task.
One namespaces-matching call still hasn't been switched over to leiningen.core.
2012-01-10 22:44:02 -08:00
Phil Hagelberg
6530927bcb Fix "lein compile :all". 2012-01-10 22:35:36 -08:00
Phil Hagelberg
c0adabb208 Fix jar task. Punt on shell wrappers for now. 2012-01-10 22:12:57 -08:00
Phil Hagelberg
4064065bd5 Fix compile task and tests. Punt on transitive cleaning for now. 2012-01-10 22:12:37 -08:00
Phil Hagelberg
464e631bef Remove plugin task. 2012-01-10 22:09:12 -08:00
Phil Hagelberg
c2b40834e0 OK, so relative paths in project maps was the wrong way to go. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
1fe2fed158 Fix deps tests. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
bfe2c32fd2 Remove dev-deps-only test project. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
a6fe9e148e Fix test task for :test-path-as-collection. 2012-01-06 21:27:21 -08:00
Phil Hagelberg
bee65686e4 Full test suite will at least compile.
Tests which we don't expect to pass are marked with :busted metadata.
2012-01-06 21:27:21 -08:00