[ 
https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507219
 ] 

Richard S. Hall commented on FELIX-310:
---------------------------------------

Actually, an initial version of such a maven plugin already exists in the Felix 
trunk in tools/maven2/maven-felix-plugin/. Alex started this, but wasn't able 
to finish it due to lack of time.

Currently, the launching of bundles is pretty well taken care of, but the 
testing aspect still needs some work, but in reality I think the two are 
orthogonal...if we can get the felix plugin working well for automatically 
launching Felix and starting bundles and their dependencies, then we should be 
able to define some bundles/services that define a testing framework that can 
use this mechanism to auto-launch Felix with a set of bundles for testing 
purposes. Whether or not this should be integrated into the bundle plugin is 
open for debate...

It would be great if someone want to look at this plugin and get see what it 
would take to finish it off...then the next step is to define how to do testing 
with it. Any one interested in working on this?

Felix could really benefit from someone working on these two issues, since we 
really need to start building our own TCK...

> provide a maven 'felix:run' goal for running a maven created bundle inside an 
> embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer, Maven Bundle Plugin
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful 
> it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle 
> plugin), then boot up an embedded Felix container and deploy the bundle 
> inside the container to check things work fine. You could maybe also add 
> dependencies of other bundles to be deployed with it for system tests?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to