16 messages in org.codehaus.grails.userRe: [grails-user] Maven integration -...
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:Re: [grails-user] Maven integration - feedback wantedActions...
From:Luke Daley (ld@ldaley.com)
Date:Jun 18, 2008 4:42:47 pm
List:org.codehaus.grails.user

On 11/06/2008, at 10:57 PM, Peter Ledbrook wrote:

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:

Sorry for the late reply.

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

I am not entirely sure the jars need to be deployed to a repo. You aren't going to eliminate the need to actually install grails on disk.

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

Absolutely.

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

Do you have a use case for this?

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

Would be nice, but I think it's around the wrong way. I don't think Grails should have to know about Maven: Maven should know about Grails.

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

What's the benefit here?

‘grails compile’ may introduce new magic in the future which we would potentially miss out on. I don't see any benefit of not using grails' own compile mechanism.

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

You can do this now in a roundabout way, have a look at the ldap plugin.

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

Again, why? I would rather be 100% sure that when I build the WAR with Maven I get the exact same war I would have got with ‘grails war’

p.s. I am not trying to be negative here, I desperately want this functionality. I just want to make sure the right problems are being solved.

LD.