Apache revs Maven for greater speed and extensibility

The updated Apache Maven project management software can build apps faster and play nicer with others

The Apache Foundation has completed a major upgrade of its Maven software build system, making it speedier and more extensible.

A project two years in the making, this version of Maven is a reengineering of the core architecture, said Brian Fox, the Apache Foundation's vice president of the Maven project.

"There were some places where we wanted to extend Maven 2 in directions that were not possible given the architecture," Fox said. "This release has been about resetting the internal architecture so we can address those issues."

Users of this version have reported 10 percent to 40 percent improvements in build time over Maven 2.x versions. The software's creators have worked to maintain backward compatibility with plug-ins built for version 2, while making the software easier to use with other development tools, Fox said.

A big part of the reengineering project has been to switch from a legacy Plexus framework to the more widely used Google Guice framework for Maven's container management duties. Guice is speedier and the way it handles containers may be more readily understood by Java developers, which, in turn, should make Maven more extensible for use by other development tools, Fox said.

"It should be easier for people to work not only on Maven but to be able to write plug-ins and extend Maven itself," Fox said. Thus far, hundreds of plug-ins have been developed for Maven, for handling such tasks as code generation or code quality analysis.

And because Guice resembles Plexus, it was not too difficult for Maven's developers to create shims that could replicate Plexus' behavior, which ensures the backward compatibility.

Other new features: The dependency resolution logic--the logic guiding the versioning of the software assets--has been decoupled from the Maven core, which should also allow the external build systems to interact more easily with Maven. Also, the software can now do simultaneous builds on the same computer, which will allow developers to test two different configurations of a program at the same time.

Under development for 10 years, Maven is software that can orchestrate the many processes required to build and manage a complex piece of software from a set of source files.

Java developers might see Maven as the natural evolution from other Java build management tools, notably Make and Ant. Maven has a number of novel approaches in this space, including the practice of convention-over-configuration and a declarative model, both of which facilitate speedier automation of common build tasks. The software also facilitates easy reuse of binary components, called artifacts, which allows developers to test a single module within a large program without recompiling the entire program.

"Once you produce an official binary artifact, it shouldn't need to be produced again. It has a unique set of coordinates and identity, and a repository manager can hold onto it, just like a version of a source file," Fox said.

Although it is primarily used for enterprise Java projects, Maven is also used for C programs and other languages running on the JVM (Java Virtual Machine). Apache does not keep statistics on Maven's userbase, though the project has estimated that the software has had millions of users.

In addition to his duties at Apache, Fox also works as a vice president of engineering for Silver Spring, Maryland-based Sonatype, which runs a commercial repository for Maven artifacts, and tools for Maven. Sonatype just mirrored its repository in Europe and Asia for easier accessibility from those continents.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags open sourceapplicationsProduct lifecycle managementApache FoundationMavensoftwareapacheproject management

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Cool Tech

Crucial Ballistix Elite 32GB Kit (4 x 8GB) DDR4-3000 UDIMM

Learn more >

Gadgets & Things

Lexar® Professional 1000x microSDHC™/microSDXC™ UHS-II cards

Learn more >

Family Friendly

Lexar® JumpDrive® S57 USB 3.0 flash drive 

Learn more >

Stocking Stuffer

Plox Star Wars Death Star Levitating Bluetooth Speaker

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest News Articles


GGG Evaluation Team

Kathy Cassidy


First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni


For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell


The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi


The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott


My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?