Commit graph

4454 commits

Author SHA1 Message Date
Tobias Kiertscher
45870f4c80 Quote CLASSPATH while calling Java
to support spaces in LEIN_JAR, the later concatenated CLASSPATH must be quoted
2016-03-04 13:53:12 +01:00
Jean Niklas L'orange
4a683b85ed Merge pull request #2101 from pauldorman/patch-1
Fix for issue #2073
2016-02-26 15:49:29 +01:00
PntBlnk
c2cf7c6ffc Fix for issue #2073
This seems to work for me.
2016-02-26 14:56:53 +13:00
Jean Niklas L'orange
f9b1377261 Merge pull request #2099 from Reefersleep/avoid_lein_jar_on_windows
Avoid lein jar on windows
2016-02-24 23:55:57 +01:00
Søren Knudsen
724ce76d9d Reduce comment line lengths to 80 columns 2016-02-24 16:43:45 +01:00
Jean Niklas L'orange
28ff0cc1a4 Merge pull request #2100 from RickMoynihan/allow-user-repositories-when-uberjaring
Allow user repositories with uberjar Fixes #2098
2016-02-23 23:05:54 +01:00
Rick Moynihan
e401c2d921 Allow user repositories with uberjar Fixes #2098
Allow user defined private repositories when building jars, uberjars and
running deploy tasks.

For details see issue at:

https://github.com/technomancy/leiningen/issues/2098
2016-02-23 15:13:56 +00:00
Søren Knudsen
77997e6c51 Add comment warning about LEIN_JAR usage 2016-02-22 17:34:41 +01:00
Søren Knudsen
976bf2067a Add warning about LEIN_JAR usage in Windows 2016-02-22 08:55:58 +01:00
Jean Niklas L'orange
83e913834e Merge pull request #2094 from pkan/master
Add debug-mode warning when files are dropped from uberjar due to name clash
2016-02-19 11:02:10 +01:00
Peter Kanareitsev
9074913ac7 Added debug-mode warning when files are dropped from uberjar due to name clash. 2016-02-18 15:12:38 -05:00
Jean Niklas L'orange
540142bc55 Keep whitelist-keys for backwards compatibility 2016-02-17 23:53:40 +01:00
Jean Niklas L'orange
3c67611519 Merge pull request #2090 from cprice404/bug/master/honor-java-whitelist-settings-in-javac
Honor whitelist settings when javac called via jar - fixes #2089
2016-02-17 23:42:13 +01:00
Chris Price
f981ddd247 Honor whitelist settings when javac called via jar - fixes #2089
This commit refactors a few things from the `jar` and
`javac` tasks in order to ensure that the "whitelisted"
settings from the user profile (`:local-repo`, `:mirrors`,
etc.) are honored when the `jar` task launches `javac`.

It also adds a test to validate the new behavior.
2016-02-16 12:15:41 -08:00
Jean Niklas L'orange
2a4589c654 Merge pull request #2092 from timvisher/patch-1
Fix file handle leak in pom.properties FAQ
2016-02-16 16:24:30 +01:00
Tim Visher
9c3bf51d95 Fix file handle leak in pom.properties FAQ
There was a file handle leak in the code as it was. It would never close the open reader against the jar resource. This will eventually cause JVM to be unable to open new files.

Functional Tests
----------------------

I'm using the code as I wrote it in my own project and there is now no file handle leak.
2016-02-16 10:20:41 -05:00
Jean Niklas L'orange
0ce5e1ff87 Merge pull request #2088 from kleewho/issue_1846
Git push will push only branch related tags
2016-02-15 23:36:25 +01:00
Lukasz Klich
4a7e33c2e0 Git push will push only branch related tags
fix #1846
2016-02-13 20:39:00 +01:00
Jean Niklas L'orange
2ca63f0084 Bump dependencies 2016-02-09 23:21:48 +01:00
Jean Niklas L'orange
6046f1f848 Back to snapshot 2016-02-08 18:36:20 +01:00
Jean Niklas L'orange
f9a464e008
Release 2.6.1 2016-02-08 18:20:33 +01:00
Jean Niklas L'orange
645161ad18 Update NEWS.md 2016-02-08 17:59:39 +01:00
Jean Niklas L'orange
4383caecce Print meta only during compile, fixes #2079
Passing in the project map as a parameter to eval-in-subprocess causes
havoc, as it has references to the functions reduce-dep-step and
reduce-repo-step in its metadata.
2016-02-07 01:23:59 +01:00
Jean Niklas L'orange
dca5627403 2.6.0 was released in February, duh
[ci skip]
2016-02-05 02:30:40 +01:00
Jean Niklas L'orange
58b8c1658a Back to snapshot 2016-02-05 01:36:14 +01:00
Jean Niklas L'orange
0fe3f86a3c
Release 2.6.0 2016-02-05 01:17:21 +01:00
Jean Niklas L'orange
a18141baf5 Update NEWS.md 2016-02-05 00:52:02 +01:00
Jean Niklas L'orange
adb7b999fd Improve native dependency feedback, fixes #1961
Changes to a native dependency that is not cleaned up will be warned
about to the user. In addition, when a dependency changes, only the
dependencies that actually changed will be checked for native
dependencies, speeding up restart time significantly when you change a
single dependency in a big project.
2016-02-04 23:54:23 +01:00
Jean Niklas L'orange
56389b2067 Move away from deprecated Apache HTTP parts 2016-02-04 23:35:42 +01:00
Jean Niklas L'orange
c630502d18 Code cleanup 2016-02-04 23:32:52 +01:00
Jean Niklas L'orange
e14da08963 We haven't failed with oracle in a while 2016-02-04 23:29:06 +01:00
Jean Niklas L'orange
99d53683eb Print meta when eval-in-subprocess
This fixes the issue with reflection warnings in #2045, but
unfortunately breaks backwards compatibility with 1.1.0. So the lowest
version of Clojure Leiningen now supports is 1.2.0.
2016-02-04 23:24:37 +01:00
Jean Niklas L'orange
5cbd7b0f28 Merge pull request #2078 from danielcompton/patch-1
Add troubleshooting steps for gpg: decryption failed
2016-02-03 23:34:34 +01:00
Daniel Compton
f6963bef65 Add troubleshooting steps for gpg: decryption failed
Running these steps helped me realise I had encrypted my
~/.lein/credentials.clj.gpg file with the wrong key.
2016-02-03 23:33:50 +13:00
Jean Niklas L'orange
6ccb4943df Merge pull request #2076 from danielcompton/remove-potemkin
Remove potemkin dependency
2016-02-01 22:56:50 +01:00
Jean Niklas L'orange
8043c1e243 Merge pull request #2075 from danielcompton/upgrade-clojure-complete
Upgrade clojure-complete from 0.2.3 to 0.2.4
2016-02-01 22:38:58 +01:00
Daniel Compton
3fa0542806 Remove potemkin dependency
It doesn't seem like Potemkin is being used anywhere in Leiningen, so it
could be removed?
2016-02-02 10:02:40 +13:00
Daniel Compton
090e7a114e Upgrade clojure-complete from 0.2.3 to 0.2.4
0.2.4 contains type hints to eliminate reflection warnings.
2016-02-02 07:55:45 +13:00
Jean Niklas L'orange
5562b5e98a Fixup subscription email 2016-01-31 21:14:03 +01:00
Jean Niklas L'orange
4e5fd277df Update mailing list information 2016-01-31 19:42:03 +01:00
Jean Niklas L'orange
2122e5796f Merge pull request #2071 from technomancy/remove-clojars-docs
Remove clojars section from GPG instructions
2016-01-23 12:31:52 +01:00
Toby Crawley
68e4d0f3bf Remove clojars section from GPG instructions
The clojars section is out of date - clojars no longer has promotion to a releases repo, so no longer needs to store the user's public key. See https://github.com/clojars/clojars-web/issues/415.
2016-01-23 00:41:22 -05:00
Jean Niklas L'orange
792750b7a1 Merge pull request #2070 from danielcompton/patch-2
Add docs for providing :jvm-opts
2016-01-21 23:28:01 +01:00
Daniel Compton
1fad7043b6 Add docs for providing :jvm-opts 2016-01-22 09:05:35 +13:00
Jean Niklas L'orange
51f80c1298 Clojure 1.8.0 2016-01-21 11:08:58 +01:00
Jean Niklas L'orange
31021f411d Explain how to read your project map at runtime
Closes #2033 I think?
2016-01-18 23:59:36 +01:00
Jean Niklas L'orange
3b8d6093aa Tell people to use profiles over middleware
Along with replacing the unfortunate :injections example (ref #2033).
2016-01-18 23:13:26 +01:00
Jean Niklas L'orange
5cce823268 Merge pull request #2063 from arichiardi/gpg-piping-fix
Gpg piping fix
2016-01-11 10:16:17 +01:00
Andrea Richiardi
e8e5e78687 Bind *read-eval* false when reading gpg credentials 2016-01-10 17:28:39 -08:00
Andrea Richiardi
12b44df3e7 Avoid piping std out when reading gpg credentials, ref #2062 2016-01-10 17:28:12 -08:00