« Built with Maven | Main | Oracle: please follo... »

Maven support in IDEs

Maven Logo

I've been switching around between the Eclipse, Netbeans and IntelliJ IDEs at home and at work. I've found that fiddling around with multiple IDE specific project configurations and launchers and class-paths is no fun at all. That's one of the reasons I got interested in Maven. Yes, Maven is a build-system but it's also a sort of IDE portability solution. Maven projects can be loaded right into all the major Java IDEs as you can see in the screenshots below. IDEs can find your sources, resources, dependencies and via the Maven Jetty plugin even run your Java webapps from the IDE -- things that are not possible if you're using a custom Ant build-script as we were doing before with Roller.

Here some screenshots that show the various Maven IDE plugins and their dependency graph feature.

Roller / Maven Eclipse 3.5 / M2Eclipse

Here's Roller loaded into Eclipse via the Maven M2 Eclipse plugin.

<img src="http://lh4.ggpht.com/_gRyDsh__fr0/S5JXdBQRLNI/AAAAAAAAAdE/nlZukqREyjI/s288/e3-roller-maven.png" alt="Roller / Maven Eclipse 3.5 / M2Eclipse" />

By the way, if you want detailed instructions for getting Roller 5 up and running in Eclipse with the Eclipse Web tooling, check-out Harald Wellman's helpful blog on the topic: Setting up Eclipse for Roller.

Roller / Maven in Netbeans 6.8

Here's Roller loaded into Netbeans as a Maven project.

Roller / Maven in Netbeans 6.8

Roller / Maven in IDEA IntelliJ 9.0

And here's Roller loaded into IDEA IntelliJ as a Maven project.

Roller / Maven in IDEA IntelliJ 9.0

I'm not sure which I prefer yet.

Comments:

I have a suspicion that the people who hate Maven use Eclipse. The ones that love it use IDEA. ;-)

Posted by Matt Raible on March 23, 2010 at 03:23 PM EDT #

the biggest drawback for me in Eclipse when compared to the others is not in the Maven support provided by m2eclipse but in the inability of the IDE itself to have nested projects - it's incredible how such a sophisticated platform falls short on little things taken for granted even in many text editors

Posted by magomarcelo on March 23, 2010 at 09:51 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« Built with Maven | Main | Oracle: please follo... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.