You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Andreas Schaefer <an...@madplanet.com> on 2007/10/22 18:53:59 UTC

Extending Binding Components using Maven2 JBI Plugin

Hi Geeks

I tried to extend an existing ServiceMix JMS Binding Component but  
ran into problems using Maven2 JBI Plugin to generate the jbi.xml  
file and to create the installer archive. Unfortunately the plugin  
checks which archives it is going to include and refuses to include  
any other Binding Component to be included including the JAR archive  
of a Binding Component. Now that makes it hard to extend an extending  
BC and I could only do it by writing my own jbi.xml and putting the  
base JMS JAR archive into src/main/jbi/lib directory. Unfortunately  
now I need to make sure that I have to manage the archives myself  
instead of relying on Maven dependencies.

Is there any way to force the Maven2 JBI Plugin to include an archive?

In addition the Maven2 JBI Plugin web site does not document the  
configuration properties like "generateJbiDescriptor". I had to  
download the source and go through the source code in order to know  
how to configure the configuration of the plugin.

Thanks

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schaefer@madplanet.com