I'm happy to announce the release of Leiningen version 2.0.0-preview7. This release introduces mirror support as well as the ability to sign deployments and verify signatures and changes to credentials.
## 2.0.0-preview7 / 2012-06-27 * Fix a bug where failed javac wouldn't abort. (Michael Klishin) * Check task aliases everywhere tasks are invoked. * Sign jars and poms of releases upon deploy by default. * Don't decrypt `credentials.clj.gpg` for every request. * Support setting `:mirrors` in project.clj. (Chas Emerick, Nelson Morris) * Allow aliases shadowing task names to invoke shadowed tasks. * Emit `doc/intro.md` in new project templates. * Allow `:scm` to be set in project.clj for pom inclusion. (Florian Anderiasch) * Fix a bug where dependency `:classifier` and `:extension` would be ignored. * Speed up subprocess launches when `:bootclasspath` is set. * Set user agent for HTTP requests. (Bruce Adams) * Verify signatures of dependencies with `lein deps :verify`. * Move task chaining to `do` task in order to allow for higher-order use. There are two breaking changes in this release. The first is rearranging the implementation of task chaining so that it's just another task. This means that chains can be run inside other higher-order tasks. This is done in the `do` task: `lein clean, test, deploy` becomes `lein do clean, test, deploy`. It also makes things like this possible: `lein with-profile production do check, uberjar`. Previously `with-profile` could not apply across task chains. Use of the old style will emit a warning explaining the change, so hopefully this is straightforward to fix. Details are at http://groups.google.com/group/leiningen/browse_thread/thread/164a9982eb45e528 The other breaking change is making credential decryption explicit. Rather than making the presence of ~/.lein/credentials.clj.gpg cause decryption every time, now you must place `:gpg` in the repository settings to indicate that the given repository needs to have the credentials file decrypted. This allows for a streamlined experience for users who do not have a GPG agent configured. Details are at http://groups.google.com/group/leiningen/browse_thread/thread/1e7e902cc87360da Launch times may be sped up by adding `:bootclasspath true` to project.clj or a profile. This causes the project's JVM to put its dependencies on the bootstrap classpath, causing them to skip bytecode verification and speeding up boot times considerably. However, there are compatibility issues with some libraries, so this is not enabled by default. It's my hope that this is the last 2.x preview release and that the next release will be 2.0.0 final. However, there are still a few big steps to be taken surrounding Clojars[1] for which this preview paves the way. Thanks, Phil [1] - http://groups.google.com/group/clojars-maintainers/browse_thread/thread/77c1cd77e478bb0f -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en