33 ms·
I'm surprised that people have not appreciated Maven more seeing how there are many praises for Leiningen. While using Maven is like a love and hate relationsh
by edwinnathaniel 14y ago
I'm surprised that people have not appreciated Maven more seeing how there are many praises for Leiningen.
While using Maven is like a love and hate relationship in my case, the best tool by the next door neighbour (Clojure) is apparently a Maven like tool :) (perhaps Leiningen is heavily inspired by Maven?).
People may dislike Maven but I found that nothing out there beats its features and it really takes a lot of pain away in setting up (or even maintaining/upgrading) Java projects.
I'm super glad Clojure has Leiningen. NodeJS also has a promising tool in NPM (haven't had the chance to search around for the other related build/deployment tools though).
- TylerE 14y ago<project xmlns="http://maven.apache.org/POM/4.0.0 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd> <modelVersion>4.0.0</modelVersion> <groupId>com.mycompany.app</groupId> <artifactId>my-app</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Quick Start Archetype</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project> vs (defproject leiningen.org "1.0.0" :description "Generate static HTML for http://leiningen.org :dependencies [[enlive "1.0.1"]] :main leiningen.web)
- edwinnathaniel 14y agoGranted many many many people use Eclipse/NetBeans/IntelliJ to come up with the XML. If this is a concern, you can always use the mvn command-line passing arguments and archetype to generate the first skeleton XML. I'm not nitpicking when it comes to XML vs LISP for configuration syntax. Features is what I'm looking for so I would have to pass arguing minor things like this. Thanks for the example though.
- Sandman 14y agoLeiningen, AFAIK, uses Maven under the hood. And I don't really think that people don't appreciate Maven enough, most people consider it to be a great tool. That being said, I've used both Maven (at my job) and Leiningen (for my personal projects) and working with Leiningen is so much easier than working with Maven! One could almost say that the build tools reflect the characteristics of the languages for which they are used. Maven is used to build Java projects so there's a lot of ceremony involved. Leiningen, on the other hand is quite simple and easy to understand from the start.
- edwinnathaniel 14y agoThat wasn't my experience with Maven (tons of ceremony? never... :)).