Maven is NOT going away
gotta love the FUD
A recent blog post posited "Is Maven going away?". Almost certainly the title is FUD trolling for visitors as the main issue posed is easily solved by a well known plugin. It's been a long time coming, but the stars are aligning for some serious movement in the Maven world...
Firstly, a 2.0.10 RC should be coming soon as John has been chipping away at issues. Similar to the 2.0.9 release, we are focusing 2.0.10 on killing regressions introduced in previous releases and tackling the most popular issues.
Secondly, Jason and Oleg have been working hard to complete the rewrite of the Maven Artifact module. This introduces more reliable transport layers and more correct dependency range resolution via a SAT algorithm. An Alpha of the M-A is expected soon and then an Alpha of 2.1 shortly thereafter.
The Alphas of 2.1 lay the groundwork to solving some of the largest issues with 2.0. Things like Lifecycle introspection and Pom format flexibility in the form of pluggable project builder techniques. This will allow Model upgrades as we move forward, one thing that caused us much pain in 2.0 as many proper fixes or great ideas required subtle changes in the model.
To top it all off, Maven is getting some first-class citizen support in the IDE.
So to answer the question, no, Maven is not going away. We're just getting started.
Update: Josh pointed out that my blog didn't address Warner's core complaint of Maven. It wasn't really my intent to do that here because I posted a comment on his blog to show him how to easily do what he wanted to do. Here's my longer response to the core issue:
The core issue raised by Warner seems to be that Maven doesn't support multiple languages out of the core.
The fact is that Maven doesn't really support any languages out of the box as everything is done by plugins. Yes, the model by default doesn't support multiple src folders.
However, in order to compile/generate something other than Java, you need a compiler plugin written to handle this. That same compiler plugin can add as many src folders as it sees fit. The whole idea is that the plugin should do the work and provide sensible conventions to make it easier for the user.
The goal of the core is to make this possible for the plugins. If we start throwing in tons of model changes to support every edge case, then we've really lost the Convention over Configuration, a key Maven concept.
The NMaven project is a good example of what can be done with the current Maven core. The trunk version of this code essentially adds on new plugins that define packaging and lifecycles to build .NET artifacts.
The Nar set of plugins are another good example of defining whole new processes via plugins and lifecycles. If those things are possible without modifying the model, surely most other languages can be supported also?
If no, then lets discuss it on the Maven list where a proper proposal can be put together and then implemented.
Re: Maven is NOT going away
Re: Maven is NOT going away
Two bits about writing such entry lines: it would have been great to resume your alleged FUD point, and even better to name the maven plugin. Otherwise your post looks like, well, FUD.
Re: Maven is NOT going away
"To add multiple source directories, simply use the build-helper-maven-plugin, or better...the plugin implementing the compiler should define and add them itself. The intent was to provide one default to the default java compiler, but the plugin api makes it possible (and desired) for new compiler plugins to be able to define their own standard and tell Maven about it."
Re: Maven is NOT going away
However, calling, m2eclipse "first class IDE support" is a big load of $%^&*. True, the plugin has come a long way. And it is moving forward in amny good ways.
But, it is (and has been for a while) completely broken for multi-module web apps. In fact, it can take a perfectly working multi-project web app in Eclipse, and break it. Heck, there isn't reliable support for WTP2.0 (which has been out for quite some time now).
I love Maven. Yes it has it's warts (mostly because of buggy and poorly documented plugins). I think there is a future for m2eclipse but, let's not be hasty by calling a barely functioning plugin "first class". That type of statement can ruin credibility.
Re: Maven is NOT going away
I've used M2e exclusively for my development now since December and It's working great for me. There are a few issues with projects that hard code /target into their system, but we are working on making that better and there is an easy work around.
Re: Maven is NOT going away
If it works great for you, I wish you would share how. Just looking at the activity on the mailing list (and the number of "me too" posts and the number of unanswered questions) shows there is still a ways to go. The reporting issues page has enough steps to scare off most potential bug reports.
http://markmail.org/browse/org.codehaus.m2eclipse.user
http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues
For me, the m2eclipse plugin is completely unusable. I wish it could use code from the "maven-eclipse-plugin" which works great.
The GUI editor doesn't work at all. Right now, I point my browser at nexus, and edit poms by hand, then run "mvn eclipse:clean eclipse:eclipse", refresh and rebuild. That works great.
I really appreciate that the work is being done, just wish I could use it.
The truth is, I wish these folks who get it to work flawlessly would share some information as to how. Besides myself, there are many people on the mailing list in a similar situation.
Seems like most issues on the list end up:
- ignored
- blown off
- receive overly-complicated work-arounds that are worse than just not using the plugin
Re: Maven is NOT going away
Re: Maven is NOT going away
We're lucky that there are third-party options at all, and pretty decent ones at that. But they still have a ways to go, most notably in the lack of smooth support for multi-module projects.

