Tag Archives: maven shell

EclipseMagazine Interview with Jason van Zyl on the Maven Ecosystem


March 29, 2010 By Jason van Zyl

Recently, I was asked to do an interview for EclipseMagazine about the future of Maven and release of Maven 3.0.  JAXenter published part one and two of the interview over two weeks.  Below is the full interview, which covers everything from changes Maven 2 users can expect when migrating to Maven 3, Nexus repository manager, the Maven Shell, Polyglot Maven, and more.

With the switch from Maven 1.x to 2, developers had to manage some fundamental changes. What challenges can users expect when migrating from Maven 2 to Maven 3?

We are planning that, in most cases, Maven 3.0 will be a drop-in replacement for Maven 2.x. We have gone to great lengths to ensure backward compatibility while reimplementing a good portion of Maven’s internals. From the command-line perspective we are trying to be fully compatible. Maven 3.0 will not allow duplicate dependency or plugin declarations, so those problems would need to be fixed, but aside from that no changes to your POMs will be required. In all other regards we have created backward compatibility layers to protect users from the many internal API changes that we have made. I really hope that the Maven community can move forward to Maven 3.0 without grief, and use the new features as it is convenient for them.

Is there anything users should keep in mind when creating a new project, to be prepared for Maven 3?

It honestly shouldn’t be any different from Maven 2.0. That’s the intended goal. So much has changed under the covers that we didn’t want to change the POM format. The primary goal is a path forward for all Maven users, efficient embedding, increased performance, synchronizing the Maven 3.0 code base with m2eclipse, and adding extension points for tools like Tycho, Polyglot Maven, and the Maven Shell.

Continue reading

Introduction to Maven Shell


March 26, 2010 By hloney

Maven Shell is a CLI interface for Maven that enables faster turn-around, and a more intelligent interaction with repositories and projects. Using Maven Shell, you will be able to speed up your builds because project information and Maven plugins are loaded into a single, always-ready JVM instance which can execute a Maven build.

The following IT blog post takes you through the basics of Maven Shell, and gives a quick lesson on what you can expect from Maven Shell 0.10.

Sonatype has released a nifty utility called Maven Shell that allows developers to execute maven goals/phases in a pre-loaded shell environment, significantly reducing the build time. It does this by loading up a JVM, Maven, and any loaded plugin once and leverages that existing load for each subsequent build. I downloaded the .10 binary and played around with it with a very simple multi-module project.

Read the full article here.  And to get started, download the latest release of Maven Shell 0.10.

"Maven 3: Reloaded" Presentation from Devoxx '09


February 26, 2010 By Jason van Zyl

Parleys.com has just published my “Maven 3: Reloaded” presentation from Devoxx ’09. In this presentation, I put our current focus on Maven 3 in context and talk about some of the upcoming technologies like Polyglot Maven and Maven Shell. In this video you’ll see me demonstrate POM translation from XML to Groovy, discuss the ways in which Maven 3 changes allow m2eclipse to embed Maven, and some of the work we’ve done in Tycho to provide a path for OSGi developers.

You watch this embedded video, or watch the presentation over on the Parleys.com site.

Note: To switch between the slides and the video of me talking, click on the smaller video in the upper right-hand of this video embed.