16 messages in org.codehaus.grails.user[grails-user] Maven integration - fee...
FromSent OnAttachments
Peter LedbrookJun 11, 2008 5:57 am 
Tomas LinJun 11, 2008 7:13 am 
Raphaël PiéroniJun 11, 2008 7:57 am 
philippoJun 11, 2008 8:08 am 
Peter LedbrookJun 11, 2008 8:10 am 
Tomas LinJun 11, 2008 8:50 am 
Peter LedbrookJun 11, 2008 9:00 am 
Luke DaleyJun 18, 2008 4:42 pm 
Michael MalleteJun 19, 2008 11:09 pm 
crowneJun 22, 2008 2:42 pm 
Brian GuanJun 24, 2008 1:24 am 
Graeme RocherJun 24, 2008 1:33 am 
crowneJun 24, 2008 3:54 am 
Luke DaleyJun 24, 2008 4:05 am 
Graeme RocherJun 24, 2008 6:24 am 
Gregory PierceJun 24, 2008 10:27 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[grails-user] Maven integration - feedback wantedActions...
From:Peter Ledbrook (pet@g2one.com)
Date:Jun 11, 2008 5:57:19 am
List:org.codehaus.grails.user

Hi,

I have been looking into Grails/Maven integration in the last couple of days, and I would like some feedback from real Maven users on a proposal:

* all Grails JAR files are deployed to Maven with corresponding POMs

* Maven/Gant integration so that Gant targets can be called from Maven and its plugins

* package Grails' Gant scripts into a JAR file that can be declared as a project dependency

* "grails create-app --maven" generates a pom.xml with the Grails dependencies included and the GMaven and Grails Maven plugins configured

* "mvn compile" uses GMaven and the standard Java compiler instead of delegating to "grails compile"

* Grails plugins declare their dependencies in Maven form (either as a pom.xml or in a Gant script)

* Grails Maven plugin hooks into standard build cycle and copies files into the correct location for the War plugin

I looked into a Grails archetype, but I can't really see a way of creating the Grails directory structure directly. So what I'm thinking of doing is having a simple archetype that installs a POM and then the user can run "mvn grails:initialize" or something like that to create the actual application files.

What do people think? Some of the feedback will go into issue http://jira.codehaus.org/browse/GRAILS-38

Cheers,

Peter