Women in Technology

Hear us Roar



Article:
  Developing with Maven
Subject:   New build tool (kitchen sink included!)
Date:   2003-10-23 06:39:32
From:   ianfairman
You ask "Is Maven the ultimate Java build tool? Is there more it should do?".


I reply "Something is finished, not when there is nothing more to add, but when there is nothing more to take away". I think Maven 1.0 should do less - a lot, lot less.


I think the concept of a project description is a sound one, but the implementation in Maven troubles me deeply. It seems as though the developers have tried to shoehorn everything they can into version 1.0, including a scripting language (Jelly). In my experience, this is very, very bad practice - you have an large system where everything is too new and there's no mature foundation being built upon.


Ant is an incredible, industrial-strength build tool. I think a good approach would be to create a very thin layer over Ant itself, perhaps using XSLT to translate the project.xml into build.xml and using a simple batch file to bind it all together. Bundle it with Ant and you have the best of both worlds built on the solid foundation of Ant itself with very little overhead.


Ian.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • New build tool (kitchen sink included!)
    2003-10-23 19:42:16  anonymous2 [View]

    Some answers:
    - Jelly is a separate project from Ant
    - Jelly scripts are a layer on top of Ant
    - In the early betas of Maven, it was just a simple layer on top of Ant. That didn't scale. Moving the complexity to XSLT doesn't hide it :-)