Hi all,

I'm new to OSGi, I just started implementing before the weekend and although 
the process was relatively pain free, I'm having some problems with getting 
plugins to work without having all my dependencies in the host project.

For the plugin I'm using, the pom.xml file can be seen here: 
https://gist.github.com/1227576

For the dependencies:

1) The ISAcreator dependency is the actual host program, where the plugins are 
to be deployed.
2) The import_layer artifact is used for validation and conversion, which the 
plugin does and contains a class called BIIObjectStore (this becomes relevant 
below). It is NOT an OSGi module.


The problem
Everything is working as long as the import_layer dependency is in the host 
pom.xml dependencies, but this defeats the purpose of the plugin. But when it's 
not included, I get a classnotfoundexception when I attempt to execute the code 
in the plugin (there are no complaints when felix starts and the plugin is 
loaded). I'm not totally sure why it's not working since the resulting jar 
produced when I run mvn clean install contains the class. It's just not being 
'seen' when it is executed.

The plugin configuration as seen in the file is probably not doing something 
right, and as you can see, the current version of that file is doing everything.

Any help would be greatly appreciated. I feel like I'm banging my head against 
a brick wall on this one.

Many thanks,

Eamonn Maguire

Reply via email to