Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 70754 invoked from network); 18 Dec 2003 14:17:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Dec 2003 14:17:33 -0000 Received: (qmail 16950 invoked by uid 500); 18 Dec 2003 14:17:29 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 16906 invoked by uid 500); 18 Dec 2003 14:17:29 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 16893 invoked from network); 18 Dec 2003 14:17:28 -0000 Received: from unknown (HELO hogshead.codehaus.org) (66.216.68.111) by daedalus.apache.org with SMTP; 18 Dec 2003 14:17:28 -0000 Received: from [192.168.1.103] (CPE00045a0b555b-CM023080004191.cpe.net.cable.rogers.com [24.102.210.93]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id hBIES4x16513 for ; Thu, 18 Dec 2003 08:28:04 -0600 Subject: RE: cvs commit: maven-plugins/xdoc/src/plugin-resources/templatesdownloads.xml From: Jason van Zyl To: Maven Developers List In-Reply-To: <058201c3c53d$30ba52a0$2502a8c0@vma> References: <058201c3c53d$30ba52a0$2502a8c0@vma> Content-Type: text/plain Organization: Message-Id: <1071757043.4272.11.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 18 Dec 2003 09:17:24 -0500 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 2003-12-18 at 03:01, Vincent Massol wrote: > Jason, > > This is what I'm doing in the multichanges plugin: it automatically > lists all releases. I have not committed it yet but the way I planned to > compute the URL was by: > > [Remote repo URL] + [group id] + [type (new POM element)] + [artifact > id] + [version] + [type extension - directly computed from type] > > The best would be to ask the artifact handler (whatever that is) to > return the URL by passing to it the different parameters. > > I see that you wish to have a distributionURL. Would that be optional > and default to the strategy above if not specified? I think relying on the runtime mechanism to generate the distribution url doesn't sound like a good idea. Where you distribute to and where a user gets downloads from may not be the same. I would much prefer the simple approach of stating what the user distribution url is instead of trying to calculate it which you may not be able to do anyway. The addition of the element is clear, concise and wouldn't leave much room for guessing. > Thanks > -Vincent > > > -----Original Message----- > > From: Jason van Zyl [mailto:jvanzyl@maven.org] > > Sent: 18 December 2003 08:23 > > To: Maven Developers List > > Subject: Re: cvs commit: maven-plugins/xdoc/src/plugin- > > resources/templatesdownloads.xml > > > > On Thu, 2003-12-18 at 01:19, dion@multitask.com.au wrote: > > > So this is not a 1.0 compatible plugin anymore?? > > > > It still is, none of the default behaviour has changed. I'm just > adding > > stuff that >1.0 will be able to take advantage of. > > > > > -- > > > dIon Gillard, Multitask Consulting > > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > > > > > jvanzyl@apache.org wrote on 18/12/2003 08:40:37 AM: > > > > > > > jvanzyl 2003/12/17 13:40:37 > > > > > > > > Added: xdoc/src/plugin-resources/templates downloads.xml > > > > Log: > > > > o little template for an automatically created download page. > This > > is > > > going > > > > to require an addition to the POM of a distributionUrl for > > > end-users. > > > > > > > > Revision Changes Path > > > > 1.1 > maven-plugins/xdoc/src/plugin-resources/templates/downloads.xml > > > > > > > > Index: downloads.xml > > > > > =================================================================== > > > > > > > > > > > > > > > > > > > > > > > > > > > > Downloads > > > > > > > > > > > > > > > >
> > > >

> > > > #set ($url = $escape.getText($project.distributionUrl)) > > > > $url > > > >

> > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > For additional commands, e-mail: dev-help@maven.apache.org > > -- > > jvz. > > > > Jason van Zyl > > jason@zenplex.com > > http://tambora.zenplex.org > > > > In short, man creates for himself a new religion of a rational > > and technical order to justify his work and to be justified in it. > > > > -- Jacques Ellul, The Technological Society > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > For additional commands, e-mail: dev-help@maven.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org -- jvz. Jason van Zyl jason@zenplex.com http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org