Commit graph

4472 commits

Author SHA1 Message Date
Phil Hagelberg
778a01e482 Merge pull request #2261 from technomancy/repl-outside-project
Make repls outside project run in Leiningen
2017-04-25 15:41:08 -07:00
Phil Hagelberg
1154059b3e Remove unnecessary workarounds.
[skip ci]
2017-04-25 14:28:58 -07:00
Phil Hagelberg
14c7f1ecc5 Add back in commons-lang dependency. 2017-04-25 13:47:04 -07:00
Phil Hagelberg
f27dff2a07 Remove Cheshire dependency; use XML for search results. 2017-04-25 13:24:20 -07:00
Phil Hagelberg
ae07acbcce Move clojure-complete out into repl-specific profile. 2017-04-25 13:23:59 -07:00
Phil Hagelberg
6ede563f07 Move reply to on-demand dependency. 2017-04-25 10:46:43 -07:00
Phil Hagelberg
9e556c2762 Remove clj-http dependency, and all transitive deps too. 2017-04-25 10:46:43 -07:00
Phil Hagelberg
1c4a435b60 Recommendations from shellcheck.
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
ce2f065344 Fix typo in sample project comments.
[skip ci]

Fixes #2265.
2017-04-24 13:44:40 -07:00
Phil Hagelberg
b79b25d0f7 Merge pull request #2267 from liftoffio/javac-silent
Make javac respect LEIN_SILENT.
2017-04-18 16:40:18 -07:00
Caleb Spare
0452dd7900 Make javac respect LEIN_SILENT. 2017-04-18 16:23:57 -07:00
Phil Hagelberg
92160ebaf7 Embarrassing grammatical error in a docstring!
[skip ci]
2017-04-13 14:51:51 -07:00
Phil Hagelberg
9e45977a4a Add :jar-inclusions to override built-in exclusion rules.
Otherwise there is no way to include a dotfile dir or one ending in ~.
2017-04-05 14:41:04 -07:00
Phil Hagelberg
4db173d8e9 Port some fixes from bin/lein to bin/lein-pkg. 2017-04-05 11:38:34 -07:00
Phil Hagelberg
151fbb256d Support skipping bootclasspath. 2017-03-31 15:03:00 -07:00
Phil Hagelberg
f7da0539b3 Invite feedback for problems in the tutorial.
[skip ci]
2017-03-30 22:30:47 -07:00
Rovanion Luckey
8aff9d5e0a Found a redundency in code and reduced it. 2017-03-30 14:41:26 +02:00
Phil Hagelberg
aaa3ef161b Warn when trying to load plugins that can't be used.
This addresses the problems seen in #1900 and #1901. It doesn't fix
them because they can't be fixed without breaking other things,
(https://github.com/technomancy/grenchman/issues/34) but at least it
lets people know what is going on and suggests a workaround.
2017-03-28 12:11:49 -07:00
Phil Hagelberg
c1aea4d256 Merge pull request #2258 from firesofmay/catch-no-route-exception
Catch NoRouteToHostException exception
2017-03-23 14:46:32 -07:00
Phil Hagelberg
80e649329a Fix test which dumps files in project root. 2017-03-23 14:43:45 -07:00
Phil Hagelberg
627d4448d4 Merge remote-tracking branch 'weavejester/smarter-target-profiles'
Conflicts:
	leiningen-core/src/leiningen/core/project.clj
2017-03-23 14:35:02 -07:00
Phil Hagelberg
3ac76a3ccd Don't invoke release plugin fallback unless external plugin is present.
The existing fallback logic assumes that the presence of two release
tasks on the classpath can only be due to one of them coming from a
plugin, but this is not true; you can have an uberjar of Leiningen
building Leiningen itself.

Fixes #2198
2017-03-23 14:13:01 -07:00
Phil Hagelberg
170e0cb20b Explain absence of nrepl during trampoline as per #2224. 2017-03-23 13:42:37 -07:00
Phil Hagelberg
3bb4ce690b Allow in-leiningen repls when running outside a project.
As per the discussion here:

https://github.com/technomancy/leiningen/commit/6234419b#commitcomment-21422061

This means that you have to explicitly set :eval-in :subprocess if you
want to override Leiningen's own dependencies when running outside a
project dir.
2017-03-23 13:42:07 -07:00
Phil Hagelberg
77ad686ff8 Merge pull request #2256 from kenrestivo-stem/feature/tree-deps-2
Provide tree deps in EDN format for display/parsing by other tools
2017-03-23 11:55:13 -07:00
Phil Hagelberg
6f06d2be97 Merge pull request #2257 from timofeytt/patch-1
give reference to how to get a SNAPSHOT version
2017-03-21 20:16:56 -07:00
Ken Restivo
acf7c0a1e9 Add plugin-tree 2017-03-17 09:52:48 -07:00
Tim
64d9270ee3 Update TUTORIAL.md 2017-03-13 23:39:39 +01:00
Tim
b32d6bff3e Update TUTORIAL.md 2017-03-13 23:37:59 +01:00
James Reeves
1fe6dce707 Change profiles string to recursively normalize
Composite profiles that are made of other composite profiles should be
recursively normalized when creating the target path string.
2017-03-13 22:31:06 +00:00
Mayank Jain
1d996b378f Catch NoRouteToHostException exception
In case network is down while fetching dependencies and we get
NoRouteToHostException exception, fallback to `:offline? true`
behaviour.

Fixes #2054 issue.
2017-03-13 10:54:19 +05:30
Tim
999e4c1166 give reference to how to get a SNAPSHOT version 2017-03-11 19:11:57 +01:00
Ken Restivo
a6aec8d71e Support tree deps. 2017-03-10 16:29:31 -08:00
Phil Hagelberg
178f99bf0d Fix misplaced docstring.
[ci skip]
2017-03-07 13:36:13 -08:00
Phil Hagelberg
16f820d440 Remove accidentally-added file. 2017-03-07 13:35:49 -08:00
Jean Niklas L'orange
3d2b8faaf3 Merge pull request #2254 from Rovanion/str
Removed duplicate of alias clojure.string in leiningen-core's project.clj
2017-03-07 08:55:03 +01:00
Rovanion Luckey
a445f34fab Removed duplicate of alias clojure.string in leiningen-core's project.clj 2017-03-06 11:43:39 +01:00
James Reeves
5a4f9fca0b Change profiles string to match subseqs
Because order of profiles matters, subsequences rather than subsets
should be substituted for composites.
2017-03-03 19:56:15 +00:00
James Reeves
3981ea4971 Make profiles string in target path smarter
When generating a profile scope string for the target path, any subset
of active profiles that matches a composite profile are replaced with
the composite.

For example, the profiles [:base :system :user :provided :dev :foo]
would be represented as "default+foo", because the :default profile is a
composite of [:base :system :user :provided :dev].
2017-03-01 02:56:02 +00:00
Florian Anderiasch
9f2f9eb695 Merge pull request #2244 from DanToml/dani_fs_permissions
Add note about file system permissions in get-dependencies
2017-02-08 21:38:04 +01:00
Danielle Tomlinson
b22dc25b3b
Add note about fs permissions in get-deps error 2017-02-08 21:23:03 +01:00
Jean Niklas L'orange
5fe3b9d77b Merge pull request #2243 from nberger/add-vcs-tag-no-sign-doc
Add note about --no-sign option in vcs tag docstring
2017-02-03 08:11:00 +01:00
Nicolas Berger
18f401fd14 Add note about --no-sign in vcs tag docstring 2017-02-02 15:35:32 -03:00
Jean Niklas L'orange
d43fb41c64 Merge pull request #2242 from cap10morgan/string-deps
Add support for string deps in project.clj
2017-02-02 08:13:41 +01:00
Wes Morgan
f1af24d2d7
Add FAQ entry for string dependency names 2017-02-01 21:27:32 -07:00
Wes Morgan
7414f61f30
Add string deps to sample.project.clj & NEWS.md 2017-02-01 19:29:15 -07:00
Wes Morgan
8de742d231
Rename artifact-namespace & artifact-name
...to group-id and artifact-id
2017-02-01 19:24:45 -07:00
Wes Morgan
66cef075e8
Add support for string deps in project.clj
This is needed for rare cases where maven artifact-ids and/or group-ids
aren't valid symbols (e.g. they start with a number).

Test coverage added.
2017-02-01 18:45:34 -07:00
Jean Niklas L'orange
bbbead38b2 Bump http maven-wagon, fixes #1966 2017-01-31 11:16:35 +01:00
Phil Hagelberg
e05aa3649c Merge pull request #2238 from technomancy/gfredericks-patch-1
Remove lein-newnew references from templates docs
2017-01-25 14:39:32 -08:00