Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 87292 invoked from network); 5 Feb 2005 02:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Feb 2005 02:37:26 -0000 Received: (qmail 16586 invoked by uid 500); 5 Feb 2005 02:37:25 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 15851 invoked by uid 500); 5 Feb 2005 02:37:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 15835 invoked by uid 99); 5 Feb 2005 02:37:23 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp015.mail.yahoo.com (HELO smtp015.mail.yahoo.com) (216.136.173.59) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 04 Feb 2005 18:37:22 -0800 Received: from unknown (HELO ?192.168.1.5?) (david?jencks@66.93.38.137 with plain) by smtp015.mail.yahoo.com with SMTP; 5 Feb 2005 02:37:20 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <55911A58-770A-11D9-9CF9-000D93361CAA@yahoo.com> References: <55911A58-770A-11D9-9CF9-000D93361CAA@yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Use velocity to add dependencies to plans from poms?? Date: Fri, 4 Feb 2005 18:37:17 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N We could also generate geronimo-service.xml dependency lists entirely from the pom, perhaps using true This would also eliminate my old objection to the geronimo-service.xml plans that there was no clue that they were being used. david jencks On Feb 4, 2005, at 4:10 PM, David Jencks wrote: > Every time I add or remove a dependency from a plan and have to modify > the project.xml as well I feel like our configuration system is just > not in a high enough normal form :-) > > I think we could change this by using velocity to insert the whole > dependency element in the plans from the pom, copying in specially > marked dependencies. > > So, in the plan, you'd have something like > > %dependencies > > at the top. > > In the project.xml, you'd have something like > > > foo > bar > > plan1.xml > plan2.xml > > > > or, if maven doesn't like having lots of properties with the same name, > > > foo > bar > > plan1.xml,plan2.xml > > > > I think this would reduce redundancy, but I am unsure if it would be > easier to use. Opinions? > > thanks > david jencks >