Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 91671 invoked from network); 21 Jun 2007 19:59:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 19:59:07 -0000 Received: (qmail 7693 invoked by uid 500); 21 Jun 2007 19:59:08 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 7515 invoked by uid 500); 21 Jun 2007 19:59:06 -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 List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 7504 invoked by uid 99); 21 Jun 2007 19:59:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 12:59:06 -0700 Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 12:59:02 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5466E7141ED for ; Thu, 21 Jun 2007 12:58:26 -0700 (PDT) Message-ID: <14675388.1182455906343.JavaMail.jira@brutus> Date: Thu, 21 Jun 2007 12:58:26 -0700 (PDT) From: "Jason Warner (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin In-Reply-To: <15603929.1169230770312.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Warner updated GERONIMO-2757: ----------------------------------- Attachment: Geronimo-2757Update.patch Patch added that incorporates changes to the Installer UI, that ability to add more than one source-repository to a given geronimo-versions element, and a fix for a big that resulted in prerequisites being displayed twice. > Enhance plugin schema to allow for multiple versions of a plugin > ---------------------------------------------------------------- > > Key: GERONIMO-2757 > URL: https://issues.apache.org/jira/browse/GERONIMO-2757 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Plugins > Affects Versions: 2.0-M5 > Reporter: Paul McMahan > Assignee: Jason Warner > Fix For: 2.0-M7 > > Attachments: geronimo-2757.patch, Geronimo-2757.patch, Geronimo-2757.patch, Geronimo-2757Update.patch > > > plugins-1.1.xsd currently allows for a single version of a plugin to be described from within a element. For example, if there were a different version of plugin for each version of geronimo then the plugin catalog would like something like: > > org.apache.geronimo.configs/ca-helper-tomcat/1.1/car > 1.1 > http://geronimo.apache.org/plugins/geronimo-1.1 > [...] > > > org.apache.geronimo.configs/ca-helper-tomcat/1.2/car > 1.2 > http://geronimo.apache.org/plugins/geronimo-1.2 > [...] > > > org.apache.geronimo.configs/ca-helper-tomcat/2.0/car > 2.0 > http://geronimo.apache.org/plugins/geronimo-2.0 > [...] > > http://geronimo.apache.org/plugins/geronimo-1.1 > http://geronimo.apache.org/plugins/geronimo-1.2 > http://geronimo.apache.org/plugins/geronimo-2.0 > Plugins are usually not compatible across versions of Geronimo for various reasons, probably the most prominent of which is Geronimo's reliance on serialized java objects in CAR files. Browsing a catalog that contains a element for each version of Geronimo's plugins from the admin console or from the CLI would be confusing because of the many (seemingly redundant) entries. Therefore the collection of Geronimo plugins is distributed across a set of catalogs, one per version of Geronimo, and each version of Geronimo points at a version specific plugin catalog. > Modifying the plugin schema so that a element can allow the plugin's module-id and source-repository to depend on the would allow there to be much fewer entries in a consolidated plugin catalog. A plugin catalog that is created using this modified schema might look something like (this is just a sample) : > > > org.apache.geronimo.configs/ca-helper-tomcat/1.1/car > http://geronimo.apache.org/plugins/geronimo-1.1 > > > org.apache.geronimo.configs/ca-helper-tomcat/1.2/car > http://geronimo.apache.org/plugins/geronimo-1.2 > > > org.apache.geronimo.configs/ca-helper-tomcat/2.0/car > http://geronimo.apache.org/plugins/geronimo-2.0 > > [...] > > Also, for this to work a customized list of elements would probably have to be supported inside the element as well, since those might also be version specific. > Once this improvement is in place it will be easier to maintain Geronimo's plugin collection since each version of Geronimo won't require a separate catalog. Also it will be easier for end users and other external sources to refer to Geronimo's plugin catalog since the repository URL will no longer be version specific. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.