Skip to main content

Maven and Ant

Posted by daniel on September 17, 2003 at 8:02 AM PDT

When Ant was created there was a particular itch being scratched. The traditional make didn't seem to fit the requirements of a Java based project. Ant was a small utility that was quickly adopted by Java developers.

Adopted and extended. Ant is no longer small. The zip of the latest build of the 1.6 binaries is 9.5M. The learning curve for understanding "Zen and the Ant of Project Maintenance" is steep and (if you plan to dig into the corners) long. On the other hand, Ant is everywhere and support is integrated into many of the top IDEs.

Along comes Maven. In one of our Also in Java Today stories, Dave Ford takes a look at how "Apache Maven Simplifies the Java Build Process - Even More Than Ant". In this DevX story, Ford explains that what led him to look for an Ant replacement was his need for cross-project reuse, cross-developer reuse, and logic and looping. Ford provides a quick introduction to Maven and shows how to add unit testing and how to extend the goals (what Ant users would call targets) and how to make them portable using plug-ins.

We also link to the ONJava article "Web and Enterprise Architecture Design Patterns for J2EE." In this first part of their article, Prasad, Taneja, and Todankar present suggestions for addressing common problems with Partitioning and Scope. Next they will address Security, Navigation, and Data Volume Control.

In today's featured Weblogs Hans Muller listens to John Prine while asking Is the Future Going to Happen Somewhere Else? Muller sees some parallels to what happened when it became "cheaper to manufacture steel elsewhere and to have the work down by other people." After taking a hard look at the current landscape, Hans remains optimistic about our future.

I think the reason we're going to thrive in spite of the gravitational pull generated by lower costs is because of our differences. I don't know what idea is going to trigger the next economic boom however I'm confident that creative thoughts buzzing around in the brain of each technology dreamer here in Silicon Valley are unique. Most of those ideas will fuel little more than insomnia however thanks to large numbers it's inevitable that a few of them will be great. Insanely great. And because they're here, the individuals who possess the great ideas will not be able to avoid bumping into neighbors and friends and aquaintances who will help them get the next gold rush rolling. Right here.

In his blog entry Where's the Grid, Daniel Brookshier asks whether the grid may be where we find some of these future innovations. He invites you to talk about applications you see for grid computing.

In Projects and Communities we link to the chat with Patterns community members Dan Malks, John Crupi, and Deepak Alur. The three appeared on JavaLive to talk about their book Core J2EE patterns. Also, the community manager for's Java Web Services and XML Community points to the eWeek article Sun Moves on J2EE 1.4. The article talks about support for the Web Services for Remote Portlets and Web Services Interoperability initiatives.

In today's News Headlines :