Do I really need "plugins" directory?

Hello,

I’m using Clover.ETL in my Java application to process an XML graph. Everything works fine, but do I really need the “plugins” directory?

If I remove “plugin.xml” files contained in this directory, I got an error like “Plugin org.jetel.lookup depend on unknown plugin org.jetel.connection”, can I use some Java code to give Clover the information contained in these files “plugin.xml”? Can I put all theses XML files in a single directory? (I already noticed that I can remove JARs from this directory and put them any where else as long as I also put them in my ClassPath).

The idea is to have the less files/folders for Clover in my application distribution.

Thanks in advance!
Xavier.

You can take all .zip/.jar archives residing in plugins/ dir and combine them into one single archive - provided you also combine all plugin.xml files into one a fix the references to individual archives.

You can also recompile the whole clover to be one monolithic .zip/.jar archive at which point you will just need one plugin.xml which maps component names/types on Java classes implementing them.