On Fri, 2005-11-04 at 05:14, Enrique Rodriguez wrote:
> Hi, Felix list,
> 
> I intend to write a new Maven 2.0 plugin this weekend, tentatively 
> called the "Felix Product Plugin."  

So this would be an new version of the current maven-osgi-plugin right?

> The intent of this plugin is to 
> combine the Felix runtime with jars gathered from Maven repos and 
> combine them into a tarball that, when exploded, yields the usual 
> .sh/.bat file for running Felix and installing and starting bundles as a 
> complete "Felix product."  

With a 'Felix Product Plugin' would we still need to have the
functionality in Felix to do a 'Oscar like' install procedure as
mentioned in the recent 'Installing Felix email thread'? 

> o  To interrogate dependencies in the POM for their 'packaging' type. 
> If 'jar' they are added to the classpath.  If 'osgi-bundle' they are 
> added to the bundle/ dir and the config.properties is built such that 
> the bundle is installed and/or started in the Felix runtime.  I have no 
> idea how I am going to configure initial start levels, so I'll likely 
> make them all "1" for the first version.  This could be easy; I just 
> haven't looked.

Couldn't these be addition child elements added to the dependency
elements?

> o  To put the usual Felix files in the right places; bundles to bundle/, 
> runtime to lib/, license, .bat, and .sh to the root, etc.
> 
> o  To start a Main with the Felix runtime loaded with the config.properties.
> 
> o  To assemble everything into a suitable (tgz?) artifact with the 
> maven-assembly-plugin.

Great idea! Look forward to working with this.

John

Reply via email to