Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 58055 invoked from network); 31 Aug 2005 20:27:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 20:27:25 -0000 Received: (qmail 28813 invoked by uid 500); 31 Aug 2005 20:27:22 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 28782 invoked by uid 500); 31 Aug 2005 20:27:22 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 28769 invoked by uid 99); 31 Aug 2005 20:27:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 13:27:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 13:27:36 -0700 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.226.150.8] (c-0896e255.188-1-64736c14.cust.bredbandsbolaget.se [85.226.150.8]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11/8.12.11) with ESMTP id j7VKRG8M026477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 31 Aug 2005 22:27:18 +0200 (MEST) Message-ID: <4316138A.30304@nada.kth.se> Date: Wed, 31 Aug 2005 22:31:06 +0200 From: Daniel Fagerstrom User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Maven, Gump and Blocks Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Was: Re: [2.2] Past, present and future of the maven build Daniel Fagerstrom wrote: > Carsten Ziegeler wrote: ... >> I think compiling a block with m2 is not a problem at all, just define a >> pom with all dependencies and invoke "m2 install" :) Now, it would be >> great if someone would start adding poms with dependencies to the >> blocks... >> >> > Ok, get the message ;) > > Some thinking and planning is IMO needed though. We allready have all > (or most) dependency info for blocks in gump.xml. Keeping a global > gump.xml and block local POMs in synch doesn't sound like that much fun. > > So, could we move the block parts of the global gump.xml into the > blocks, so that we have the POMs and gump.xml at the same place. Or > better, can we generate the gump.xml from the POMs. Or even better, is > there some integration between gump and Maven, so that Gump can use > the POMs? Studied the question a little bit more. There is a Maven1 plugin for creating gump.xml from POMs http://maven.apache.org/reference/plugins/gump/, no port to m2 yet though. The plugin is written in Jelly while m2 plugins are written in Java so it takes some work to port it. IMO the nicest solution would be to describe the dependency structure with POMs, with some extra propoerties for Gump specific things: http://maven.apache.org/reference/plugins/gump/properties.html. Then the gump.xml will be automatically generated by the gump plugin. The first version of the POMs could probably generated with xslt from the current gump.xml. I'm not a volonter, want to focus on the real blocks. WDYT? /Daniel