Meaningless Drivel is fun!*
The moose likes Spring and the fly likes how does Roo play with Maven? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how does Roo play with Maven?" Watch "how does Roo play with Maven?" New topic
Author

how does Roo play with Maven?

John Holme
Ranch Hand

Joined: Oct 11, 2002
Posts: 54
Are there plugins or other extensions provided by Roo that can be included in a maven project?
Ken Rimple
author
Ranch Hand

Joined: Jul 20, 2010
Posts: 63

Good news, Roo is maven-based. Which means that when you create a Roo project, you are creating a Maven project.

Roo supports maven in several ways.

First, you can define dependencies and plugins, and they'll interoperate with Roo. Generally you have a Spring project and you can add any dependency that makes sense.

Second, if you create Roo modules, you're making the top level project a POM, and then creating WAR or JAR modules below it. Roo will allow you to set the module focus so you're working on the correct one.

I understand there are still some issues with Maven parent POMs and the like. Maybe Roo 1.2.2 (just released) solves some of them. But basically if you use Roo you'll be building a Roo project with Maven.

Ken

Ken Rimple
ken.rimple@gmail.com
Co-author, Manning Spring Roo in Action
I teach for Chariot Solutions (Spring, Maven, Hibernate, other courses). Schedule here
John Holme
Ranch Hand

Joined: Oct 11, 2002
Posts: 54
Is there a clear path to retro-fitting an existing maven project to work with Roo?

My experience with Grails is that the Spring beans that are exposed by my legacy data service can easily be ported to resources.groovy. Would the same be true for a Roo project?
 
 
subject: how does Roo play with Maven?
 
Similar Threads
What book should I read before "Spring Roo"?
* Welcome Ashish Sarin
Wanted: Maven archetype for Minimal Spring MVC/JSP page
comparing and contrasting Grails and Roo
Roo