Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 45046 invoked from network); 20 Mar 2008 08:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 08:37:10 -0000 Received: (qmail 33515 invoked by uid 500); 20 Mar 2008 08:37:07 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 33478 invoked by uid 500); 20 Mar 2008 08:37:07 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 33469 invoked by uid 99); 20 Mar 2008 08:37:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 01:37:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of haschemi@informatik.hu-berlin.de designates 141.20.20.50 as permitted sender) Received: from [141.20.20.50] (HELO mail.informatik.hu-berlin.de) (141.20.20.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 08:36:25 +0000 Received: from [141.20.23.205] (aramis.informatik.hu-berlin.de [141.20.23.205]) (authenticated bits=0) by mail.informatik.hu-berlin.de (8.13.8+Sun/8.13.8/INF-2.0-MA-SOLARIS-2.10-25) with ESMTP id m2K8aONx019620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 20 Mar 2008 09:36:25 +0100 (CET) Message-ID: <47E2216D.5030309@informatik.hu-berlin.de> Date: Thu, 20 Mar 2008 09:33:49 +0100 From: Siamak Haschemi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: maven-deployment-plugin References: <47CEB3CB.8000404@informatik.hu-berlin.de> <81f0d9c0803050839y49e721e7i160f6933a39107d9@mail.gmail.com> <47CED27F.8010706@informatik.hu-berlin.de> In-Reply-To: <47CED27F.8010706@informatik.hu-berlin.de> X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------090307060504080804060905" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.informatik.hu-berlin.de [141.20.20.50]); Thu, 20 Mar 2008 09:36:25 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org --------------090307060504080804060905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello to all, I just want you to know that I started the development of a maven plugin to create OSGi Deployment-Packages. The project is hosted at SourceForge: https://sourceforge.net/projects/mvn-dp-plugin/ The users mailing-list can be found under: https://lists.sourceforge.net/lists/listinfo/mvn-dp-plugin-users The current version (0.1.1) has following features: - - Creating a Deployment-Package jar from a maven project (with packaging-type pom) - - Inclusion of referenced bundles - - Inclusion of referenced additional resources (for example configuration files) - - Support for Localization resources (l10n) - - Support for Customizer-Bundles - - Comes with a few default parameters (which will be taken from the pom) which can be overwritten fine-grained - - The directory structure of the resulting Deployment-Package jar can be controlled - - Validation of all manifest entries (like bundle-version, bundle-SymbolicName, etc.) - - Contains only dependencies to maven infrastructure - - Tested with Felix OSGi and Felix Deplyoment-Admin implementation This features are missing and will (hopefully) be added in the future: - - Project Web-Site - - Documentation & Examples - - Adding releases of the plugin into an official maven repository - - Signing - - Ant-Task - - Integration into the Eclipse IDE - - command-line usage Kind regards, Siamak Haschemi Siamak Haschemi schrieb: > Hello Stuart, > > it would be great to start such a thing! > > Stuart McCulloch schrieb: >> On 05/03/2008, Siamak Haschemi wrote: >> Hello to all, > >> is someone currently working on a maven-deployment-plugin to produce >> OSGi Deployment Packages (*.dp) (like specified in the OSGi Service >> Platform Service Compendium, Release 4, Version 4.1, Sec. 114)? > > >>> Hi Siamak, >>> as Christian said, I don't know of one yet - but it would be useful >>> If no, where should I start? > >>> I have a fair bit of experience writing Maven plugins so I can help >>> out with any mojo/dependency questions > > That's great since I'm new in Maven Plugin development. > > - I'm trying to find out >>> if we could start this work over at another site (where you could >>> get committer rights straight away) and bring it over to the Felix >>> site once the design has stabilized... >>> Looking at the maven-bundle-plugin is naturally, but I am insecure if I >> should base on the bndlib to use the several classes like "Jar" and >> "Manifest" or if such a extended classpath traversing and dependency >> checking is needless. > > >>> personally I'd start coding on creating the deployment package >>> from a minimal set of information (passed in via Java interfaces) >>> because then it's easy to provide different ways to generate the >>> information (manual list, dependency analysis, etc...) > > I need more explanation on this, but we could also move this to an other > place... > >>> you might also want to look at the maven-assembly-plugin which >>> is the standard maven approach for producing distributions from >>> maven projects - might be able to re-use ideas / components > > Thank you for this hint! I will look deeper into Plugin development. > > Anyway, I started to develop a plugin for deployment based on the felix > maven-bundle-plugin. I have to play around with the maven framework :-) > > > Kind regards, > > Siamak Haschemi > >>> HTH >>> Any hints? >> Kind regards, > >> Siamak Haschemi > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfiIW0ACgkQBLvtewtTERP/UgCdE2wVPQmUYJPHbv5tSJ5zKQUx hgwAnRrEOqfeXIFaL8xZTEweCfhZUKnO =Bonf -----END PGP SIGNATURE----- --------------090307060504080804060905--