Major prep work in Maven 3 paves way for future
October 15, 2010 —
Three is a big number for growing software, but for Apache Maven, three is just another step on a larger journey. Released on Oct. 8, Maven 3 offers better stability and performance, but the biggest changes won't be noticed by users. Under the hood, a great deal of work was done to prepare Maven for a future of building OSGi applications and using dynamic languages to script the build process.
Jason van Zyl, creator of Maven and founder of Maven-focused company Sonatype, said that the future of Maven required some major preparation in the core code, much of which was done in Maven 3. Among that work was the addition of hundreds of new unit tests to ensure that when new features are added, old ones don't break.
“From a user perspective, this release is probably not that exciting," said van Zyl. "We were trying to clean up the core. The work done was partly to enable the use of [Sonatype's] Tycho for building OSGi bundles. That is impossible in Maven 2. It's rapidly becoming the standard for building Eclipse plug-ins. Maven 2 just wasn't flexible enough to do that."
Maven 3 does add some new features, despite its presentation as a preparation for a future 3.1 release. “We rewrote the artifact resolution system in a library we call Aether," said van Zyl. "We totally extracted the Maven repository resolution system and made it a standalone library. It will guarantee Maven repository compatibility. Other build systems can use it, too. You can integrate Aether into any tool to add Maven repository capabilities."
Another new feature is one that developers and users won't notice unless they open the code behind Maven. van Zyl said that Maven 3 includes a complete replacement for dependency injection, one that chooses the Google Guice dependency injection library instead of Plexus.
“[Google Guice] is very akin to what Plexus was,” said van Zyl. “We did it because it was flexible; also, because it has the flexibility in its APIs that it can mimic other injection frameworks. It needed to be backward-compatible, so we were able to use the Guice. Nothing in Maven had to change. Nobody will notice the difference."
The final major piece of Maven 3 was the rewriting of the m2eclipse plug-in. The new code makes the plug-in easier to use and more elegant overall, van Zyl said.
Maven 3 is available as open-source software from the Apache Foundation.
Related Search Term(s): Maven
Share this link: http://sdt.bz/34805
Most Read
Latest News
Resources
SAP unveils SAP HANA platform innovations for Big Data and spatial processing
Features include smart data access and expanded cloud deployment options
|
|
|
Alteryx raises $12 million to put Big Data analytics in the hands of all business analysts
Quest founder's firm, Toba Capital, selects Alteryx as its first analytics investment
|
|
|
Google I/O kicks off
Developers get new APIs and tools, and the Go language hits version 1.1
|
|
|
Jelastic launches new version of its Java and PHP hosting platform
Jelastic today announced the launch of a new version of its ultra-scalable cloud hosting platform
|
CollabNet fuses CloudForge, TeamForge
New pricing structure and integration gives developers an enterprise-grade choice for dist...
|
|
|
Eclipse release train for Kepler arrives June 26
New version of Eclipse includes Stardust for business process management, and Orion 3.0 fo...
|
|
|
Google I/O kicks off
Developers get new APIs and tools, and the Go language hits version 1.1
|
|
|
Enterprises going mobile get first ALM platform
Solstice Mobile releases AppLauncher for native app development and deployment on multiple...
|
IDC MarketScape: Worldwide Cloud Testing and ASQ SaaS
Demand for solutions to test applications on the cloud and for the cloud is rising signifi...
|
|
|
Get to Know the Database Decision Factors
What should you look for when choosing a relational database system? This informative arti...
|
|
|
Exploring the Database Forest
Today’s database technology landscape is more dynamic and varied than ever before. What’s...
|
|
|
Data Management Resource Guide
Today’s data is generated by more than just applications. Data is generated by trillions o...
|
Related Articles
Integration Watch: Maven goes commercial
Sonatype, Jason van Zyl's company, has expanded its array of software and support products. The result is a more comprehensive set of tools for Java developers and lowers the usual risks involves with free and open-source software.
|
Short Takes: November 1, 2010
The editors talk about Apples astounding growth, Google schooling kids in programming, and more
|
Nexus Pro addresses enterprise repository woes
In an attempt to ease some of the processes involved in managing Maven repositories and protecting against open-source policy violations, Sonatype's Nexus Professional can automate and organize those processes.
|