This is why Maven gives me the shits…

The Apache Maven project just announced the next version (2.7) of the Maven Eclipse plugin. This is the plugin that generates the .classpath and .project files.

All well and good. Except that version 2.6 introduced at least one new massive bug – it puts the JRE at the end of the project classpath, instead of at the start. This means that, due to some projects out there doing stupid shit liking including JDK classes, you can get code breakages (e.g. you use generic collections, but this bug causes you to compile against the 1.4 Collection API). This bug is rated as ‘CRITICAL’ on their own issue tracker. It was caused by a patch for a ‘MINOR’ issue.

This bug is not fixed in the new 2.7 version.

Why, Maven developers? Why? Why are you releasing any new versions yet? According to your JIRA instance, you have 1 BLOCKER – introduced in 2.6 – and 14 CRITICAL bugs, going back as far as 2.0. In 2.7, you “fixed” one CRITICAL bug – by calling it a duplicate of a bug that was only MAJOR.

I know, I know – it’s open source, it’s free, and you get what you pay for. But there is no excuse for this. Those priority levels are meant to reflect the urgency felt by the project team. If they really feel an issue is a BLOCKER, they shouldn’t release. If they feel an issue is CRITICAL, they shouldn’t be working on trivial issues. If they don’t feel that these issues are CRITICAL, they should change the status.

And, in the meantime, I’m staying on 2.5.1.

Advertisements

Author: Robert Watkins

My name is Robert Watkins. I am a software developer and have been for over 18 years now. I currently work for people, but my opinions here are in no way endorsed by them (which is cool; their opinions aren’t endorsed by me either). My main professional interests are in Java development, using Agile methods, with a historical focus on building web based applications. I’m also a Mac-fan and love my iPhone, which I’m currently learning how to code for. I live and work in Brisbane, Australia, but I grew up in the Northern Territory, and still find Brisbane too cold (after 16 years here). I’m married, with two children and one cat. My politics are socialist in tendency, my religious affiliation is atheist (aka “none of the above”), my attitude is condescending and my moral standing is lying down.

8 thoughts on “This is why Maven gives me the shits…”

  1. I looked at it some time ago, found it rather poor. I’m willing to reconsider though. 😉

    Still – the real problem I’ve got with Maven is how poor their process is and how lackadaisical they seem to be in regards to quality. This issue with the issue tracking is not unique to the maven-eclipse-plugin; the majority of Maven modules are similar.

  2. Pitching in to second Logans opinion: the m2eclipse plugin is a wonder, and does real integration, rather than being a write-only shim that takes a maven setup and dumps an eclipse configuration.

  3. Hi Robert,

    You are right, we voluntarily creates shitty releases in Maven. We like to bother our users to be sure that they’ll go back to ant !!!

    More seriously, we asked several times to our users on the mailing list to test the 2.7 before to release it and we had no feedback about this issue. You’re right on the fact that we should have to wait that all bugs were fixed before the release. I don’t like to do it, but I prefer to release something with less bugs than having to wait several monthes years to fix them all. You can criticize, our job, but remember that we are doing it for free. There are more than 200 issues on this plugin and we try do fix them with the few time we have. About MECLIPSE-442 I understand that using shitty libraries creates conflict with JRE classes. Our community is many more active on m2eclipse or Q4E and you should try to help us to improve those plugins which are the target. The eclipse:eclipse will die on its own weight. It supports too many things, tests aren’t validating that generated projects are working in eclipse and moreover, eclipse stores many many more settings in the workspace instead of in project’s config file.

    Cheers,

  4. Arnaud, you miss the point. I agree your time is limited. That’s what issue management is for – to allow you to focus on the things you have decided that matter.

    You guys control the priority of the issues in _your_ JIRA instance. If you don’t think an issue is important, lower the priority. Mark it “won’t fix”. Whatever. But please, please, please don’t push out releases with a dozen minor issues fixed and not one of the outstanding critical or blocker issues. That’s the problem – not that the bug is there, but you aren’t paying attention to the issues in your own system.

    Don’t worry – I’m not just picking on your module. Nearly all of the maven modules seem to have the same problem. Heck – Maven Core has a blocker open from 2.0.2.

    Managing your issues pro-actively is a very cheap way to help engage your users, Arnaud. If you don’t think a bug is serious, lower the priority. If you want to try and get it fixed before a given release, assign it a target release – this is a good way for the project dev’s to agree on what should be fixed for a release. Leaving critical bugs open for extended periods with no feedback on the status is a very good way to push your users away.

    This is not a rant about a bug. This is a rant about your bug tracking process.

    On the plus side: I see the bug got fixed today. I’ll give 2.8 a go when it’s out.

  5. FWIW: Something that may be magnifing this issue is that JIRA doesn’t have a field to track severity. In lieu of that most people use the priority field. Many organizations add a custom field for this, which helps to separate using priority to plan the release contents vs severity to indicate the impact of an issue.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s