File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how does Roo play with Maven?

 
John Holme
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there plugins or other extensions provided by Roo that can be included in a maven project?
 
Ken Rimple
author
Ranch Hand
Posts: 63
Mac OS X Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
John Holme
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic