Tuesday, December 23, 2008

Grails & Maven Kiss and Make-up with Grails 1.1 Beta 2

So Grails 1.1 Beta 2 is out. Rejoice! There are many new features that are detailed in the release notes. However, one of the main ones in this beta is the new support for Maven.

Regular readers of my blog will probably be aware of my long history as one who, ahem, is not particularily fond of Maven. Granted I am still not particularily fond of Maven, but it is the Christmas period and in the spirit of "why can't we all just get a long" I am proud to say that Grails integrates nicely with Maven now :-)

Peter Ledbrook, core Grails committers, has been tirelessly working away at making the Grails + Maven experience a seamless one. I personally even went as far as installing Maven 2 onto my machine, which was a huge jump for me I can tell you, and I can tell you Peter's done a great job!

As ever we encourage Maven users to give the Maven integration a go and report any issues that you may have with it in JIRA. Enjoy!


Marc Palmer said...

Argh, bring me a bucket, I feel ill.

Great news on 1.1 beta 2 though.

Jaeger said...

So, you have this uneasiness with Maven, but you haven't even tried Maven 2 until now?

I bet you, if you would list the things you dislike about Maven, you would find most of them fixed in Maven 2.

Don't let any previous bad Maven 1 experience hold you back from using Maven 2. They're very different.

Graeme Rocher said...


I have tried Maven 2 many times, I just don't like keep junk on my machine ;-)

Seriously though, I am pleased we are able to support Maven users

Anonymous said...

Good news. Maven 2 has given a non-Grails project at our organization a huge boost in productivity due to best-practice usage.

I dont understand the Maven2-hate.

Stefan said...

Concerning Grails 1.1, I was under the impression that the 1.1 version would bring an independant GORM library. Is this still on the table? I would like to have to possibility to use Groovy and GORM in non-web application.


Tim O'Brien said...

GMaven is a great piece of work BTW. Thanks to you and Guillame for all of your good work on the integration between Maven and Groovy.

Paul Sundling said...

Great, thanks for adding maven 2 support.

Anonymous said...

I don't understand why you do not push for Gradle instead of the Maven dinosaur. Gradle is the next generation build system as Grails is the next generation web framework. Gradle is everything Maven should have been and it have excellent Groovy support. Gradle seems more inline with Grails and Groovy then Maven ever will be. But it seems Springsource is in full support of Maven...

Paul Sundling said...


The answer to why I'm glad to see support for the "Dinosaur" Maven instead of :pick random build system that became popular this week in the bleeding edge crowd: is all about adoption curve.

Maven 2 is widely used, thus spring source's support for it. As some other build tool becomes popular, I'm sure they will support it. Actually I got the vague impression with Spring 3, they had Ant, Ivy and Maven support which seemed to all be generated by some custom Spring system. These are probably the most widely deployed by a huge margin.

Lets face it. There are still huge code bases still stuck on struts, that have not evolved to struts 2 or spring mvc, much less grails. So just because you're in a community that's 2 generations beyond most code and 1 generation beyond most new code, doesn't mean it's the norm!

I can belabor the point, but having grails more compatible with existing build systems is a huge bonus. I personally like Maven a lot and it solves many of the issues with our previous Ant build system. However great some build system is, it will be at LEAST a year before I would consider investigating another build system.

Maven support makes it easier to integrate a grails project into our existing infrastructure AND processes.

Paul Sundling

Anonymous said...

Although I don't agree with a lot of the Maven2 hate, I can understand it to some extent. But if people aren't using Maven, how are grails users supposed to deal with their dependencies. Are most people using Ivy, or just growing their own version of dependency management?

Trevor said...

Graeme, that should be "thoughts" (not "thought's) about software development.

mmoga said...

wow gold
buy wow gold
wow levelservice
wow account
wow gold
buy wow gold
wow levelservice
wow account
wow gold
buy wow gold
wow levelservice
wow account

Reiner Saddey said...

I consider Maven far from perfect (when looking at some failing code, a bucket would indeed have been desirable). But still, it both implements Best Practices (i.e. its lifecyle metaphor) and supplies a framework that promotes reliable code reuse - once you succeeded in wading through the details of its pom.xml.

Grails and Maven each serve almost opposite purposes: Ultra-agile (but somewhat monolithic) development and stable (but somewhat dull and complicated) code reuse.

In my opinion, both are required to successfully manufacture software.
Right now, within my team, I'm trying to move an ever growing arsenal of separate applications (that surely inherit by copy-and-paste) to an in-house component library. As I had the opportunity to look into start-ups that went bankrupt just after one year, I consider code reuse a mandatory asset in order to limit development and maintenance expenses. I'd rather not give up one objective for the other.

If someone would augment Maven's usability in a way similar to what Grails has done to Spring and Hibernate (and many other carefully selected components), Grails and Maven would team-up to be a perfect match. Why not - on top of the Maven plugin - design a Grails application that brings structure by convention to Maven in general?

jsanca said...

Great news, Today Maven is used in any open source as source distribution and repository dependency as well.


game gold said...

On account of I have latale online gold , I am not afraid of the lonely. At that time I do not know the meaning of it. Later I buy latale gold . I have no latale money , I will feel very anxious. Why I buy latale online gold , because it gives me such a warm place. I have cheap latale gold .

Anonymous said...




Anonymous said...

I think if I want to play the Rappelz, I need to had some rappelz rupees, because I do not know how to play, only had more rappelz rupees then in the game can had the high levels. So I often buy rappelz rupees, but I do not know which website can bought the cheapest rappelz gold. so I always spend much money to buy.

Anonymous said...

看房子,買房子,建商自售,自售,台北新成屋,台北豪宅,新成屋,豪宅,美髮儀器,美髮,儀器,髮型,EMBA,MBA,學位,EMBA,專業認證,認證課程,博士學位,DBA,PHD,在職進修,碩士學位,推廣教育,DBA,進修課程,碩士學位,網路廣告,關鍵字廣告,關鍵字,課程介紹,學分班,文憑,牛樟芝,段木,牛樟菇,日式料理, 台北居酒屋,日本料理,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,台北結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,住宿,訂房,HOTEL,飯店,造型系列,學位,牛樟芝,腦磷脂,磷脂絲胺酸,SEO,婚宴,捷運,學區,美髮,儀器,髮型,牛樟芝,腦磷脂,磷脂絲胺酸,看房子,買房子,建商自售,自售,房子,捷運,學區,台北新成屋,台北豪宅,新成屋,豪宅,學位,碩士學位,進修,在職進修, 課程,教育,學位,證照,mba,文憑,學分班,網路廣告,關鍵字廣告,關鍵字,SEO,关键词,网络广告,关键词广告,SEO,关键词,网络广告,关键词广告,SEO,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,居酒屋,燒烤,美髮,儀器,髮型,美髮,儀器,髮型,美髮,儀器,髮型,美髮,儀器,髮型,小套房,小套房,進修,在職進修,留學,證照,MBA,EMBA,留學,MBA,EMBA,留學,進修,在職進修,牛樟芝,段木,牛樟菇,關鍵字排名,網路行銷,关键词排名,网络营销,網路行銷,關鍵字排名,关键词排名,网络营销,PMP,在職專班,研究所在職專班,碩士在職專班,PMP,證照,在職專班,研究所在職專班,碩士在職專班,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,EMBA,MBA,PMP


Anonymous said...

看房子,買房子,建商自售,自售,台北新成屋,台北豪宅,新成屋,豪宅,美髮儀器,美髮,儀器,髮型,EMBA,MBA,學位,EMBA,專業認證,認證課程,博士學位,DBA,PHD,在職進修,碩士學位,推廣教育,DBA,進修課程,碩士學位,網路廣告,關鍵字廣告,關鍵字,課程介紹,學分班,文憑,牛樟芝,段木,牛樟菇,日式料理, 台北居酒屋,日本料理,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,台北結婚,場地,住宿,訂房,HOTEL,飯店,造型系列,學位,牛樟芝,腦磷脂,磷脂絲胺酸,SEO,婚宴,捷運,學區,美髮,儀器,髮型,牛樟芝,腦磷脂,磷脂絲胺酸,看房子,買房子,建商自售,自售,房子,捷運,學區,台北新成屋,台北豪宅,新成屋,豪宅,學位,碩士學位,進修,在職進修, 課程,教育,學位,證照,mba,文憑,學分班,網路廣告,關鍵字廣告,關鍵字,SEO,关键词,网络广告,关键词广告,SEO,关键词,网络广告,关键词广告,SEO,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,台北住宿,國內訂房,台北HOTEL,台北婚宴,飯店優惠,住宿,訂房,HOTEL,飯店,婚宴,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北結婚,場地,結婚,場地,推車飲茶,港式點心,尾牙春酒,台北結婚,婚宴場地,結婚,婚宴場地,推車飲茶,港式點心,尾牙春酒,台北結婚,場地,居酒屋,燒烤,美髮,儀器,髮型,美髮,儀器,髮型,美髮,儀器,髮型,美髮,儀器,髮型,小套房,小套房,進修,在職進修,留學,證照,MBA,EMBA,留學,MBA,EMBA,留學,進修,在職進修,牛樟芝,段木,牛樟菇,關鍵字排名,網路行銷,关键词排名,网络营销,網路行銷,關鍵字排名,关键词排名,网络营销,PMP,在職專班,研究所在職專班,碩士在職專班,PMP,證照,在職專班,研究所在職專班,碩士在職專班,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,SEO,廣告,關鍵字,關鍵字排名,網路行銷,網頁設計,網站設計,網站排名,搜尋引擎,網路廣告,EMBA,MBA,PMP


cheap wow gold said...

It was not long cheap wow goldbefore some one knocked atwow gold cheap wow gold for salethe house-door and called, open the door, dear children, your mother is here, and has brought something back with her for each of you. But the little wow goldkids knew that it was the wolf, by the rough voice. We will wow power leveling not open the door, cried they, you are not our mother. She has a soft, pleasant voice, but your voice is rough, you are the wolf.

Then the wolf went World Of Warcraft Goldaway to a shopkeeper and bought himself a great cheapest wow goldlump of chalk, ate this and made gold4power.com his voice soft with it. The he came back, knocked at the door of the house, and world of warcraft gold salecalled, open the door, dear children, your mother is here and Cheapest Wow Goldhas brought something back with her for each of you.

kiss said...

Weekends to peopleig2tmean that they can have a two-day wowgold4europe good rest. For example, people gameusdcan go out to enjoy themselves or get meinwowgoldtogether with relatives and friends to talk with each storeingameother or watch interesting video tapes with the speebiewhole family.
Everyone spends agamegoldweekends in his ownmmoflyway. Within two days,some people can relax themselves by listening to music, reading novels,or watchingogeworld films. Others perhaps are more active by playing basketball,wimming ormmorpgvipdancing. Different people have different gamesavorrelaxations.
I often spend weekends withoggsalemy family or my friends. Sometimes my parents take me on a visit to their old friends. Sometimesgamersell I go to the library to study or borrow some books tommovirtexgain much knowledge. I also go to see various exhibition to broadenrpg tradermy vision. An excursion to seashore or mountain resorts is my favorite way of spending weekends. Weekends are always enjoyable for me.

Chad said...

If there is one part of the Ruby on Rails 'eco' system that was done very well. That would be Rake. When you throw-in the support provided by Netbeans to run/debug your tasks it makes it very difficult to want to use ANT or Maven. Do you know of anyone that is working on make a Rake like project using Groovy for the Java community?