Link Details

Link 750401 thumbnail
User 834915 avatar

By eaorak
Published: Feb 26 2012 / 08:26

Lots of good reasons of bad reputation of Maven.
  • 11
  • 0
  • 1782
  • 976
User 289539 avatar

michele.mauro replied ago:

1 votes Vote down Vote up Reply

Maven is far from perfect, but has been a fundamental stepping stone towards today's new wave of build tools.
What Maven really hit bullseye with is dependency management: *every* new build tool uses the same style and most of them (all the java ones) use the same files: the Maven repository is the de-facto standard way to distribute libraries.
Maven creator's biggest mistake was the choice of XML; it was however too early to fully understand the consequences of repeating the same error made in Ant, and XML was thought to be very pratical for tooling. What nobody could predict was that build files will be mostly written directly, not by tools; XML then becomes a problem, not an enabler.
XML is the only serious problem: after all, all the new tools (Gradle, Sbt, etc) basically take the same dependency model of Maven, simplify the plugin and conceptual models, and let you write the build specification file in a simpler (for humans to write) language.

User 891929 avatar

Luca Garulli replied ago:

0 votes Vote down Vote up Reply
User 834915 avatar

eaorak replied ago:

1 votes Vote down Vote up Reply

@Michele, I totally agree with you. XML configuration is cumbersome, hard to edit and manage. As one said, "Maven is a great idea with a poor implementation", I think XML is a big part of that poor side.

What I simply hate about maven is making basic things is so much harder to do than they could be. Also managing big and modular projects (especially if they are OSGi based and consist of ~200 subprojects!) is really a big pain.

@Luca, I had read your article and may be you're right about network load but I don't think that it's the main issue with Maven. I share this link after reading your article, cause I think this shows the big picture more clearly, but we share the same emotions against Maven :)

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java