File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how does Roo play with Maven?