An open-source, federated content repository

Moving to Maven 3

The ModeShape project is planning to move to Maven 3 for our build system, and away from Maven 2.0.9 (or 2.2.1). We’ve been struggling for quite some time with a number of Maven 2’s quirks, including difficulties with dependencies in our assemblies, and everything we’ve heard is that Maven 3 is a significant improvement all around. Unfortunately, we’ll have to make some changes to our POM files to get Maven 3 working, and once we commit these changes Maven 2 will no longer work. In other words, project developers will have to upgrade their local Maven installations before they’ll be able to build ModeShape.

If you have any thoughts or comments on this effort (especially if you’re opposed!), please let us know by commenting on the JIRA issue.

Filed under: news, open source, tools

2 Responses

  1. Magnus says:

    Why not follow hibernate and move to Gradle?
    Seems strange that the JBoss community do not have a common strategy.

  2. Randall says:

    We have used Maven 2 since the inception of ModeShape (or JBoss DNA way back then), and it’s been extremely beneficial for us. There are definitely some quirks, but I’d generalize those as being more about having to duplicate information (mostly in assemblies) that is already found in the POM files. Maven 3 has many improvements in other areas, and we’re looking forward to utilizing them.

    From everything I’ve seen, most projects use Maven. There are a number still use Ant. But there’s only one project that I know of that uses Gradle, and that’s Hibernate. They’ve got fairly complicated requirements, and the Hibernate team decided that Gradle was a good fit for them.

    On the other hand, ModeShape’s build system requirements are very straightforward and typical. Plus the move from Maven 2 to Maven 3 is not a significant amount of work for those of us making the changes, and will be pretty minor for the rest of the developers/contributors.

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

ModeShape is

a lightweight, fast, pluggable, open-source JCR repository that federates and unifies content from multiple systems, including files systems, databases, data grids, other repositories, etc.

Use the JCR API to access the information you already have, or use it like a conventional JCR system (just with more ways to persist your content).

ModeShape used to be 'JBoss DNA'. It's the same project, same community, same license, and same software.



%d bloggers like this: